ldapsearch results.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.27SINGLE-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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20070514/a8e63cef/attachment.html 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux