LDAP - filter records with two attributes equal (or different) -


i want filter ldap records find entries 2 attributes equal (also different).

let assume have records userid.

userid=10

userid=15

each record have name , surname , want filter people identical name , surname.

i can filter people particular name using following filter

(&(name=mark)(surname=mark)) 

but filter not correct

(=(name)(surname)) 

nor this

name=surname 

this not possible in ldap. ldap not support relational queries on attribute level of same entry.

see ldap query basics.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

android - Pass an Serializable object in AIDL -