dn Property
The Distinguished Name used as the base for LDAP operations.
Syntax
def get_dn() -> str: ... def set_dn(value: str) -> None: ...
dn = property(get_dn, set_dn)
Default Value
""
Remarks
Also the base object during LDAP searches.
The Distinguished Name is provided in string format as specified by RFC 1779. Example (Setting DN)
LDAPControl.DN = "uid=TThompson,ou=Employees,dc=server" LDAPControl.DN = "Domain\Username"