Changed
- nginx warns when it reads an
ldap_serverblock with anldaps://url
orstarttls onand nossl_check_cert: such a server accepts any
certificate. require groupwithoutgroup_attributeis a configuration error. It
used to fail every login withldap_search_ext() failed (1: Operations error)in the log.binddnwithout a password (binddn_passwdleft out or empty) is a
configuration error: a server takes such a bind for an anonymous one
without checking anything.- A release can be built again with a higher package revision (
1.4.0-2),
for a distribution that moved itsnginxto another version.
Fixed
- A worker crashed when a server with
user_attributesdenied a user and a
later server of the same location, one with arequire valid_user
template, allowed them, with the cache on or a$ldap_attr_<name>
variable in use. - A user with the right password got
503when the connection broke
between the answer to the user bind and the bind back asbinddn. - The warning about a DN that does not have the RDNs of its
require valid_usertemplate logged the login as the client sent it; it
is escaped now, as in every other message. auth_ldap_servers_size 0;corrupted memory while the configuration was
read. The directive no longer has an effect and is accepted only for old
configurations.
Full list of changes: v1.3.0...v1.4.0