ldap troubles

Daniel teletautala at gmail.com
Mon May 7 23:57:42 BST 2007


I am trying to setup an OpenLDAP server on a spare Ubuntu machine.  I
am having troubles searching records I know are in it.

When I run the command:
ldapsearch -x -D 'cn=admin,dc=ubuntu-server,dc=alpinedistrict,dc=org'
-W -b 'ou=People,dc=ubuntu-server,dc=alpinedistrict,dc=org'

I can get no records.
If I add the uid for the record I know is in the directory "uid=daniel"
ldapsearch -x -D 'cn=admin,dc=ubuntu-server,dc=alpinedistrict,dc=org'
-W -b 'uid=daniel,ou=People,dc=ubuntu-server,dc=alpinedistrict,dc=org'

I get the record in question.
cn=admin is the ldap admin.

I feel there is a setting in a config file I need to modifiy.  Any
help would help.
Thanks,
-Daniel




More information about the ubuntu-utah mailing list