22.1.3. salt.auth.ldap

Provide authentication using simple LDAP binds

depends:
  • ldap Python module
salt.auth.ldap.auth(username, password)

Simple LDAP auth

salt.auth.ldap.groups(username, **kwargs)

Authenticate against an LDAP group

Behavior is highly dependent on if Active Directory is in use.

AD handles group membership very differently than OpenLDAP. See the External Authentication documentation for a thorough discussion of available parameters for customizing the search.

OpenLDAP allows you to search for all groups in the directory and returns members of those groups. Then we check against the username entered.

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Previous topic

22.1.2. salt.auth.keystone

Next topic

22.1.4. salt.auth.pam

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.