saltstack/salt — pull request #5339 by KennethWilke (2013-05-31 15:42:16+00:00)
Title: Added extra options to ldap authentication module, added ldap detailed error to bind failure message

Added option to ldap auth module to allow configuring ldap to skip tls certificate verification. I changed how the tls socket is established to use a schema with the initializer instead of start_tls as this method has worked more reliably in my experience. An option was also added to allow searches to be performed anonymously instead of requiring a user for the initial bind. The failed to bind error was also modified to print the detailed text regarding the ldap error