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

Make schema dn configurable (ITS#1893)



Full_Name: Hans Aschauer
Version: HEAD
OS: GNU/Debian Woody
URL: www.theorie.physik.uni-muenchen.de/~aschauer/openldap-head.diff
Submission from: (NULL) (129.187.181.4)


>From my email to openldap-devel:

-------------------------------
I have a question regarding the "Distinguished Name of the subschema 
entry (or subentry) which controls the schema for [a] entry" (RFC2551). 
In the openldap slapd, this DN is always "cn=Subschema". I would like 
to know if you think that it would be a good idea to allow 
administrators to set this DN in some config file (I mean, other than 
ldap_defaults.h ;-). 

The reason why I would like to see such a feature is the following. 
Assume that I have a DIT, the branches of which are hosted on different 
ldap servers. If I was able to set the DN of the subschema entry to 
something like dn: cn=Subschema,<base-dn for this server> on each of 
the servers, it would be possible for a client to transparently get the 
correct schema information for each entry. 
-------------------------------


so here is the patch...