ldap troubles

Clint Savage herlo1 at gmail.com
Tue May 8 00:10:39 BST 2007


On 5/7/07, Daniel <teletautala at gmail.com> 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
> ubuntu-utah at lists.ubuntu.com
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-ut/attachments/20070507/4d785ce8/attachment.htm 


More information about the ubuntu-utah mailing list