I am very new to SaltStack, and I have been tasked with trying to setup AD authentication to our Salt master server, but have been running into trouble. From what I have read this should work, but maybe I am missing something.
auth_mode: 1
auth.ldap.server: 'domain.local'
auth.ldap.basedn: 'OU=Users,OU=IT,OU=Company,DC=domain,DC=local'
auth.ldap.binddn: 'CN=BindUser,OU=Special Accounts,OU=Company,DC=domain,DC=local'
auth.ldap.bindpw: 'BindPassword'
auth.ldap.activedirectory: 'True'
auth.ldap.persontype: 'User'
auth.ldap.filter: cn={{ username }}
external_auth:
ldap:
Users%:
- .*
- '@runner'
- '@wheel'
When I check the master log all I see is this.
2015-05-14 12:02:01,135 [salt.master ][WARNING ] Authentication failure of type "eauth" occurred.
Unfortunately this error really didn’t help me much. Is there another place to look for errors in Salt?
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is the results of salt –versions-report
Salt: 2014.7.5
Python: 2.7.5 (default, Jun 17 2014, 18:11:42)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.4.6
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.3.1
RAET: Not Installed
ZMQ: 3.2.5
Mako: Not Installed
Okay, thanks for that. I have updated my test box to version 2015.5.0
Salt: 2015.5.0
Python: 2.7.5 (default, Jun 17 2014, 18:11:42)
Jinja2: 2.7.2
M2Crypto: 0.21.1
msgpack-python: 0.4.6
msgpack-pure: Not Installed
pycrypto: 2.6.1
libnacl: Not Installed
PyYAML: 3.10
ioflo: Not Installed
PyZMQ: 14.3.1
RAET: Not Installed
ZMQ: 3.2.5
Mako: Not Installed
I also checked that I have python-ldap installed. I have rebooted the box and tried again, but still am having issues.
I checked /var/log/salt/master but that is still sending the same output as last time.
Is something in my configuration messed up?
This turned out to be two things, first issue was I messed up on my groupsou and was pointing to something completely wrong. The second was on my SaltPad install I didn’t have it pointing to ldap for authentication yet.
Once I made those changes everything worked.
Thanks,
Blake