One thought: The subscriberID value on your test object is larger than the maximum value for a 32-bit unsigned integer (4294967296), and subscriberID has integerMatch EQUALITY. It would be interesting to try with a small subscriberID (like '10'), and see if it works as you expect. Balaji Ganesan wrote: > I have a simple test schema > > -- > dn: cn=schema > attributeTypes: ( 1.3.6.1.4.1.8918.1.1.1.1 NAME ( 'mailMSISDN' ) DESC > 'mailMSISDN' EQUALITY telephoneNumberMatch SYNTAX > 1.3.6.1.4.1.1466.115.121.1.50 SINGLE-VALUE ) > attributeTypes: ( 1.3.6.1.4.1.8918.1.1.1.2 NAME ( 'subscriberId' ) > DESC 'subscriberId' EQUALITY integerMatch SYNTAX > 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) > objectClasses: ( 1.3.6.1.4.1.8918.1.1.1.0 NAME 'myUser' DESC > 'myUser' SUP top STRUCTURAL MUST ( mailMSISDN $ subscriberId ) > X-ORIGIN 'Test Schema' ) > -- > > ldapsearch on objectclass myUser returns > > -- > > /usr/local/fds/shared/bin/ldapsearch -p 390 -x -D "cn=testing" -w > testingpwd -b "dc=test,dc=com" "obje > ctclass=myUser" > version: 1 > dn: mailMSISDN=16502272370,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272370 > subscriberId: 6502272370 > > dn: mailMSISDN=16502272371,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272371 > subscriberId: 6502272371 > > dn: mailMSISDN=16502272372,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272372 > subscriberId: 6502272372 > -- > > ldapsearch on mailMSISDN returns expected results > > -- > > /usr/local/fds/shared/bin/ldapsearch -p 390 -x -D "cn=testing" -w > testingpwd -b "dc=test,dc=com" "mailMSISDN=16502272370" > version: 1 > dn: mailMSISDN=16502272370,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272370 > subscriberId: 6502272370 > -- > > ldapsearch on subscriberId returns odd results. > > -- > > /usr/local/fds/shared/bin/ldapsearch -p 390 -x -D "cn=testing" -w > testingpwd -b "dc=test,dc=com" "subscriberId=6502272370" > version: 1 > dn: mailMSISDN=16502272370,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272370 > subscriberId: 6502272370 > > dn: mailMSISDN=16502272371,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272371 > subscriberId: 6502272371 > > dn: mailMSISDN=16502272372,dc=test,dc=com > objectClass: myUser > objectClass: top > mailMSISDN: 16502272372 > subscriberId: 6502272372 > -- > > > > I was expecting to get back 1 entry with matching subscriberId. Why do > I get back 3 entries? Any ideas what I am doing wrong? > > > > thanks in advance. >