Filip Pytloun | c26dc36 | 2017-03-27 23:03:58 +0200 | [diff] [blame] | 1 | ======== |
OlgaGusarenko | bb5f324 | 2018-07-31 00:51:44 +0300 | [diff] [blame^] | 2 | Usage |
Filip Pytloun | c26dc36 | 2017-03-27 23:03:58 +0200 | [diff] [blame] | 3 | ======== |
| 4 | |
| 5 | Sample pillars |
| 6 | ============== |
| 7 | |
| 8 | Client |
| 9 | ------ |
| 10 | |
| 11 | .. code-block:: yaml |
| 12 | |
| 13 | openldap: |
| 14 | client: |
| 15 | server: |
| 16 | basedn: dc=example,dc=local |
| 17 | host: ldap.example.local |
| 18 | tls: true |
| 19 | port: 389 |
| 20 | auth: |
| 21 | user: cn=admin,dc=example,dc=local |
| 22 | password: dummypass |
| 23 | entry: |
| 24 | people: |
| 25 | type: ou |
| 26 | classes: |
| 27 | - top |
| 28 | - organizationalUnit |
| 29 | entry: |
| 30 | jdoe: |
| 31 | type: cn |
| 32 | # Change attributes that already exists with different content |
| 33 | action: replace |
| 34 | # Delete all other attributes |
| 35 | purge: true |
| 36 | attr: |
| 37 | uid: jdoe |
| 38 | uidNumber: 20001 |
| 39 | gidNumber: 20001 |
| 40 | gecos: John Doe |
| 41 | givenName: John |
| 42 | sn: Doe |
| 43 | homeDirectory: /home/jdoe |
| 44 | loginShell: /bin/bash |
| 45 | classes: |
| 46 | - posixAccount |
| 47 | - inetOrgPerson |
| 48 | - top |
| 49 | - ldapPublicKey |
| 50 | - shadowAccount |
| 51 | karel: |
| 52 | # Simply remove cn=karel |
| 53 | type: cn |
| 54 | enabled: false |
| 55 | |
| 56 | Read more |
| 57 | ========= |
| 58 | |
| 59 | - https://docs.saltstack.com/en/latest/ref/states/all/salt.states.ldap.html#manage-entries-in-an-ldap-database |
OlgaGusarenko | bb5f324 | 2018-07-31 00:51:44 +0300 | [diff] [blame^] | 60 | |
| 61 | Documentation and bugs |
| 62 | ====================== |
| 63 | |
| 64 | * http://salt-formulas.readthedocs.io/ |
| 65 | Learn how to install and update salt-formulas |
| 66 | |
| 67 | * https://github.com/salt-formulas/salt-formula-openldap/issues |
| 68 | In the unfortunate event that bugs are discovered, report the issue to the |
| 69 | appropriate issue tracker. Use the Github issue tracker for a specific salt |
| 70 | formula |
| 71 | |
| 72 | * https://launchpad.net/salt-formulas |
| 73 | For feature requests, bug reports, or blueprints affecting the entire |
| 74 | ecosystem, use the Launchpad salt-formulas project |
| 75 | |
| 76 | * https://launchpad.net/~salt-formulas-users |
| 77 | Join the salt-formulas-users team and subscribe to mailing list if required |
| 78 | |
| 79 | * https://github.com/salt-formulas/salt-formula-openldap |
| 80 | Develop the salt-formulas projects in the master branch and then submit pull |
| 81 | requests against a specific formula |
| 82 | |
| 83 | * #salt-formulas @ irc.freenode.net |
| 84 | Use this IRC channel in case of any questions or feedback which is always |
| 85 | welcome |
| 86 | |