ldap: add an example ldif and a very short README

This commit is contained in:
Jérôme Schneider 2014-09-19 17:57:51 +02:00
parent 4c755abe69
commit d8b9963cf0
2 changed files with 32 additions and 0 deletions

17
ldap/README Normal file
View File

@ -0,0 +1,17 @@
1) Install the schema
For example with OpenLDAP. Copy mandaye.schema in /etc/ldap/schema.
Add the following line into your slapd.conf :
include /etc/ldap/schema/mandaye.schema
Restart your OpenLDAP
2) Initialisation
Check default_entries_example.ldif and change it for your OpenLDAP configuration.
Load it like that :
ldapadd -x -W -D 'cn=admin,dc=entrouvert,dc=lan' -f default_entries_example.ldif

View File

@ -0,0 +1,15 @@
dn: dc=entrouvert,dc=lan
objectclass: dcObject
objectclass: organization
o: Entr'ouvert
dc: entrouvert
dn: cn=admin,dc=entrouvert,dc=lan
objectclass: organizationalRole
cn: admin
dn: ou=mandaye,dc=entrouvert,dc=lan
objectClass: organizationalUnit
objectClass: top
ou: mandaye
description: Mandaye objects group