On Mon, 2007-05-07 at 16:57 -0600, Daniel wrote: > 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.
It sounds like a permissions problem. Check your slapd.conf. If necessary set loglevel to -1 and you'll get a metric ton of debugging info written to syslog. I've found OpenLDAP's debugging output to be quite helpful at locating problems. Corey /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
