role slapd: can load additionnal schema and load arbitrary ldif files to be put in template directory

This commit is contained in:
2019-07-17 18:34:15 +02:00
parent 39a49698bc
commit 2ee476a4ef
6 changed files with 91 additions and 12 deletions

View 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
View 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