[Date Prev][Date Next]
Re: Retrieve the schema from openldap-Server
Ingo Schaefer writes:
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)
ldapsearch -x -D <rootdn> -W "(cn=schema)"
you need to use a BASE of "cn=subschema", SCOPE = "base"
and the attributes you're interested in are marked
as operational, so they must be explicitly required
(use '+' to get them all, or list those you need, e.g.
"matchingRules", "attributeTypes" and so).
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:firstname.lastname@example.org
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati