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