3.1.1.3.2.36 msDS-PortLDAP

Returns the integer TCP/UDP port number on which the DC is listening for LDAP requests. For AD DS, this always equals 389. For AD LDS, the port is configurable.

Note This rootDSE attribute is different from the schema attribute of the same name, msDS-PortLDAP.