role slapd: can load additionnal schema and load arbitrary ldif files to be put in template directory
This commit is contained in:
8
templates/0_branches.ldif
Normal file
8
templates/0_branches.ldif
Normal file
@@ -0,0 +1,8 @@
|
||||
dn: ou=users,{{ldap_suffix}}
|
||||
objectclass: organizationalUnit
|
||||
|
||||
dn: ou=groups,{{ldap_suffix}}
|
||||
objectclass: organizationalUnit
|
||||
|
||||
dn: ou=hosts,{{ldap_suffix}}
|
||||
objectclass: organizationalUnit
|
||||
25
templates/1_users.ldif
Normal file
25
templates/1_users.ldif
Normal file
@@ -0,0 +1,25 @@
|
||||
dn: uid=thomas,ou=users,{{ldap_suffix }}
|
||||
objectClass: shadowAccount
|
||||
objectClass: posixAccount
|
||||
objectClass: inetOrgPerson
|
||||
objectClass: organizationalPerson
|
||||
objectClass: person
|
||||
shadowWarning: 10
|
||||
shadowInactive: 10
|
||||
shadowMin: 1
|
||||
shadowMax: 365
|
||||
shadowLastChange: 15996
|
||||
homeDirectory: /home/thomas
|
||||
loginShell: /bin/bash
|
||||
uid: thomas
|
||||
cn: thomas constans
|
||||
uidNumber: 10003
|
||||
gidNumber: 100
|
||||
sn: constans
|
||||
givenName: thomasizationalUnit
|
||||
|
||||
dn: ou=groups,{{ldap_suffix}}
|
||||
objectclass: organizationalUnit
|
||||
|
||||
dn: ou=hosts,{{ldap_suffix}}
|
||||
objectclass: organizationalUnit
|
||||
Reference in New Issue
Block a user