gosa-schema contains schema with bad char in filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gosa (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gosa-schema
In order to use gosa with OpenLDAP 2.4 which uses an in memory directory information tree (cn=config) for storing
configuration information and schema, the schema from the gosa schema package need to be converted to ldif format
using the following procedure (for example, adapted from https:/
1. Put the filenames of schema to be converted into a file (schema_
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
include /etc/ldap/
2. Create a temporary directory for the output
mkdir /tmp/ldif_output
3. Use slaptest to convert the schema to ldif
slaptest -f schema_convert.conf -F /tmp/ldif_output
If you follow steps 1-3 using the files from gosa-schema as is, you get the following error after running slaptest.
backend_
slap_startup failed (test would succeed using the -u switch)
Some testing and googling reveals that the problem comes from the filename gosa+samba3.schema
Renaming this to /etc/ldap/
Can this file be renamed in future releases of the package?
thanks,
A better idea than renaming that file might be to actually include the correctly formatted files! Seems a bit stupid to include packages that can't actually be used until you convert a pile of files when they could be supplied in the first place.