ldap: add an example ldif and a very short README
This commit is contained in:
parent
4c755abe69
commit
d8b9963cf0
|
@ -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
|
|
@ -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
|
Reference in New Issue