[Date Prev][Date Next] [Chronological] [Thread] [Top]

filtering problems



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