[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
filtering problems
- To: openldap-software@OpenLDAP.org
- Subject: filtering problems
- From: Juan Carlos Sanchez Recio <tupijallegar@gmail.com>
- Date: Thu, 8 Sep 2005 01:34:14 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=t0pvp5lWeqBQDPaOscLepQ/Mo8C274ZiJXTfyLM9j+uAwx83ZR0JRTWcUBLOuys7tVt7Xd2LQzHU/QAbGSKhf5ZGwg+ahX2PEjjtEUDCr6aNT+ZOxT6ckz9FPN/G2q4pYh4YrpUWfdFR1Cu6aLOZUaUuYVs2UdeOJPNHSxZzaJc=
Hi all,
I am having problems with search filters in ldapsearch, if I try this:
[root@kurling jfreevote-1.0]# ldapsearch -x -W -b
'ou=Voters,dc=kurling,dc=net' -s one -D "cn=Manager,dc=kurling,dc=net"
'(objectClass=*)'
I have no problems the result is the expected:
[...]
# testUserUid, Voters, kurling.net <http://kurling.net>
dn: uid=testUserUid,ou=Voters,dc=kurling,dc=net
objectClass: person
objectClass: inetOrgPerson
uid: testUserUid
cn: Test User LDAP
givenName: Test
sn: User LDAP
userPassword:: bXl0ZXN0
mail: testingLDAPUserDriver@test.org
but when I try to filter using for example uid like this:
[root@kurling jfreevote-1.0]# ldapsearch -x -W -b
'ou=Voters,dc=kurling,dc=net' -s one -D "cn=Manager,dc=kurling,dc=net"
'(uid=*)'
Enter LDAP Password:
I get this:
# extended LDIF
#
# LDAPv3
# base <ou=Voters,dc=kurling,dc=net> with scope one
# filter: (uid=*)
# requesting: ALL
#
And waiting, waiting, waiting,... until I kill the process
Does anyone know whats up?
Thanks, bye
J. Carlos Sanchez Recio