[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Retrieve the schema from openldap-Server



>I tried to read the schema from my openldap-Server (with a program).
>Goal is to provide a dynamic form for the admin to add users.
>With openldap 2.0.23, I got "no such object" from ldapsearch. (or sth. like that)
>I upgraded to 2.1.4, now I get
>result: 0 Success
>and thats all.
>Bind is done with the rootdn. (successful)
>I do:
>ldapsearch -x -D <rootdn> -W "(cn=schema)"
>Is this feature not implemented or do I have to configure something in order to get it work?

Try -

ldapsearch -x -b '' -s base '(objectclass=*)' '+'

and have a look at
ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf
around page 36