1 OpenLDAP setup using cn=config
2 ==============================
4 In order to include additional schema files into your cn=config driven
5 LDAP setup, add the required schema files this way:
7 # ldapadd -Y EXTERNAL -H ldapi:/// -f your_schema_file.ldif
9 The GOsa schema packages include .schema and .ldif versions of the
10 schema files.
12 This for loop might help when adding schema files to a (nearly) fully
13 stuffed installation:
15 8<----------------------------------------------------------------------------
16 for schema in \
17 gosa/samba3.ldif \
18 gosa/gosystem.ldif \
19 gosa/gofon.ldif \
20 gosa/gofax.ldif \
21 gosa/goto.ldif \
22 gosa/goserver.ldif \
23 gosa/gosa-samba3.ldif \
24 gosa/goto-mime.ldif \
25 gosa/trust.ldif \
26 gosa/pureftpd.ldif \
27 gosa/fai.ldif \
28 gosa/sudo.ldif \
29 gosa/openssh-lpk.ldif \
30 gosa/nagios.ldif \
31 gosa/kolab2.ldif \
32 dyngroup.ldif; do
34 ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/$schema || exit 1
35 done
36 8<----------------------------------------------------------------------------