Skip to content

NDPF/salt-formula-openldap

 
 

Repository files navigation

Usage

Sample pillars

Client

openldap:
  client:
    server:
      basedn: dc=example,dc=local
      host: ldap.example.local
      tls: true
      port: 389
      auth:
        user: cn=admin,dc=example,dc=local
        password: dummypass
    entry:
      people:
        type: ou
        classes:
          - top
          - organizationalUnit
        entry:
          jdoe:
            type: cn
            # Change attributes that already exists with different content
            action: replace
            # Delete all other attributes
            purge: true
            attr:
              uid: jdoe
              uidNumber: 20001
              gidNumber: 20001
              gecos: John Doe
              givenName: John
              sn: Doe
              homeDirectory: /home/jdoe
              loginShell: /bin/bash
            classes:
              - posixAccount
              - inetOrgPerson
              - top
              - ldapPublicKey
              - shadowAccount
          karel:
            # Simply remove cn=karel
            type: cn
            enabled: false

Read more

Documentation and bugs

About

Salt formula to configure OpenLDAP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 38.5%
  • Makefile 36.5%
  • SaltStack 16.4%
  • Scheme 7.2%
  • HTML 1.4%