blob: 7f07c781d7a609b4665b1dbd36a308e6253f5feb [file] [log] [blame]
Filip Pytlounc26dc362017-03-27 23:03:58 +02001openldap:
2 client:
Martin Polreichdb17f712017-08-29 15:29:54 +02003 server:
4 basedn: dc=example,dc=local
5 host: ldap.example.local
6 tls: true
7 port: 389
8 auth:
9 user: cn=admin,dc=example,dc=local
10 password: dummypass
11 entry:
12 people:
13 type: ou
14 classes:
15 - top
16 - organizationalUnit
17 entry:
18 jdoe:
19 type: cn
20 # Change attributes that already exists with different content
21 action: replace
22 # Delete all other attributes
23 purge: true
24 attr:
25 uid: jdoe
26 uidNumber: 20001
27 gidNumber: 20001
28 gecos: John Doe
29 givenName: John
30 sn: Doe
31 homeDirectory: /home/jdoe
32 loginShell: /bin/bash
33 classes:
34 - posixAccount
35 - inetOrgPerson
36 - top
37 - ldapPublicKey
38 - shadowAccount
39 karel:
40 # Simply remove cn=karel
41 type: cn
42 enabled: false