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' )
--
/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.
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users