Added
user_filterfinds the user with a filter in which$remote_useris the
escaped login, for example(|(uid=$remote_user)(mail=$remote_user)),
so that users can log in by one of several attributes (#90).
nginx -twarns when theurllists several attributes, of which only
the first is used.$ldap_user_dnand$ldap_attr_<name>give the DN and the attributes
named by the newuser_attributesof the user that LDAP allowed, also
from the cache, forproxy_set_headerand logs: for example the display
name and the e-mail address (#173), or the uid of a user who logged
in with a mail address (#59). Control characters in a value are
escaped. A cache entry takes 40 bytes instead of 32, plus the DN and the
attributes of an allowed login.ldapi://urls connect to an LDAP server over a Unix socket on the same
host, for exampleldapi://%2Frun%2Fslapd%2Fldapi/dc=example,dc=com?uid?sub
(#229).resolve onin anldap_serverblock resolves the host name of theurl
through theresolverof thehttpblock before every connection, so
that a changed DNS record is followed without a reload (#63).
Changed
- The
Could not connecterror names the address and the server.
Full list of changes: v1.1.0...v1.2.0