Commit Graph

5 Commits

Author SHA1 Message Date
Vladimir Homutov f56178b6ee Added configuration option to disable referrals.
The options is boolean, header name is  'X-Ldap-DisableReferrals' and
the command-line switch is '--disable-referrals', default value is
false.
2018-08-20 12:31:55 +03:00
Vladimir Homutov 7ed1e2dfc9 Added StartTLS support.
This is a rebased version and slightly modified version of patch submitted by
Matthieu Cerda <matthieu.cerda@gmail.com> via pull-request #29
(https://github.com/nginxinc/nginx-ldap-auth/pull/29)
2017-12-25 13:04:42 +03:00
Vladimir Homutov b732f8c585 Fixed LDAP name of the "sAMAccountName" attribute.
The correct name starts with the lowercase 's'.

https://msdn.microsoft.com/en-us/library/ms679635
2017-12-25 13:04:42 +03:00
Vladimir Homutov d56a55e21e Updated documentation and example.
Commit 06444b36f6 changed returned error
code from 403 to 401 in case of failed auth and documentaion must be
updated accordingly.
2016-10-10 16:48:29 +03:00
Vladimir Homutov 6a345efd55 Initial commit 2015-06-19 14:13:56 +03:00