On 5/7/07, Daniel <[EMAIL PROTECTED]> 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. Thanks, -Daniel -- ubuntu-utah mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-utah
Daniel, I think you are missing an asterisk, as such: ldapsearch -x -D 'cn=admin,dc=ubuntu-server,dc=alpinedistrict,dc=org'-W -b 'uid=*,ou=People,dc=ubuntu-server,dc=alpinedistrict,dc=org' I think that's correct. Clint /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
