[Fedora-directory-users] ldapsearch on virtual view
Mikael Kermorgant
mikael.kermorgant at gmail.com
Mon Feb 19 07:01:00 UTC 2007
Hello,
I've built a virtual view (ou=personnels) under
"ou=people,dc=ourdomain" I'm running FDS 1.0.2 on Fedora core 4.
Running ldapsearch on the virtual view doesn't give me the expected
result. Here's the result for my uid which is present under both
nodes.
bash-3.00$ ldapsearch -H ldap://127.0.0.1 -W -x -b
ou=people,dc=ourdomain-D
uid=kermorgant,ou=people,dc=ourdomain"(uid=kermorgant)" cn
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <ou=people,dc=ourdomain> with scope sub
# filter: (uid=kermorgant)
# requesting: cn
#
# kermorgant, People, ourdomain
dn: uid=kermorgant,ou=People,dc=ourdomain
cn: Kermorgant Mikael
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
bash-3.00$ ldapsearch -H ldap://127.0.0.1 -W -x -b
ou=personnels,ou=people,dc=ourdomain -D
uid=kermorgant,ou=people,dc=ourdomain "(uid=kermorgant)" cn
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <ou=personnels,dc=ourdomain> with scope sub
# filter: (uid=kermorgant)
# requesting: cn
#
# search result
search: 2
result: 0 Success
# numResponses: 1
Isn't there something wrong with this result ?
Regards,
--
Mikael Kermorgant
More information about the Fedora-directory-users
mailing list