Filip Pytloun | c26dc36 | 2017-03-27 23:03:58 +0200 | [diff] [blame] | 1 | openldap: |
| 2 | client: |
Martin Polreich | db17f71 | 2017-08-29 15:29:54 +0200 | [diff] [blame^] | 3 | 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 |