Clint Savage wrote:
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'
You need an LDAP search filter as the last argument to ldapsearch. Add
'objectClass=*' like this:
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'
'objectClass=*'
--Dave
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/