DNAttributeFilter Parameter (Connect-LDAP Cmdlet)
Specifies whether to use distinguishedName or entryDN as the DN attribute in LDAP query filters. This property affects how the distinguished name is referenced during search operations.
Syntax
Connect-LDAP -DNAttributeFilter string
Possible Values
distinguishedName, entryDNData Type
cstr
Default Value
"distinguishedName"
Remarks
This property is useful for specifying how the DN is handled in filters for LDAP queries. The default value is distinguishedName, which is widely used in most LDAP servers. For servers or configurations that rely on entryDN for DN filtering, update this property accordingly. Ensure that the chosen attribute is supported by your LDAP server to avoid query errors.