[Pkg-openldap-devel] Bug#494155: slapd: provide a pseudo custom.schema file for extra custom schemas
Alessandro De Zorzi
lota at nonlontano.it
Thu Aug 7 14:00:22 UTC 2008
Package: slapd
Version: 2.4.10-2+lenny1
Severity: wishlist
This request is similar to #333428 but not exactly the same.
Today on openldap at sys-net.it Franzini reply to my post with
a good solution.
If slapd provide a sldap.conf with inclusion of
a pseudo schema, a line like this:
include /etc/ldap/schema/custom.schema
and /etc/ldap/schema/custom.schema is a empty file
(also provide a empty directory /etc/ldap/schema/custom.schema/)
sldap works fine
but after installation, inside /etc/ldap/schema/custom.schema
admin (or other debian packages) could store their .schema file
for example Phamm-ldap will store
/etc/ldap/schema/custom.schema/phamm.schema
if sldap do this command (during restart, or configuration):
find /etc/ldap/custom.schema/ -type f -iname "*.schema" | sort | awk
'{print "include", $1}' > /etc/ldap/schema/custom.schema
sldap will include a new .schema file stored inside
/etc/ldap/custom.schema/
best regards
Alessandro De Zorzi
More information about the Pkg-openldap-devel
mailing list