LDAP compare attributes

I would like to filter for all LDAP objects where the CN does not equal the sAMAccountName. Therefore I wrote the following query, which unfortunately neither works nor seems to be RFC compliant:

(!(cn=sAMAccountName))

Does anybody know how to acheive the desired functionality?

Best regards Thomas

7
задан Terry Gardner 3 August 2012 в 14:35
поделиться