]> git.ipfire.org Git - thirdparty/squid.git/commit
ext_kerberos_ldap_group_acl: Support -b with -D (#1207)
authorAlexander Bokovoy <abokovoy@redhat.com>
Sat, 10 Dec 2022 11:50:27 +0000 (11:50 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 10 Dec 2022 11:50:35 +0000 (11:50 +0000)
commit71f62e86ef0dde610129f5296a30853afd84294c
treeaaaa14b7925cd044e4f81b19889fb79d38138b1f
parent232bd1affc6fa484f2575bf86fa77878ca01cf95
ext_kerberos_ldap_group_acl: Support -b with -D (#1207)

When both '-b' (i.e. bind DN) and '-D' (i.e. Kerberos domain) options
are specified, '-b' is ignored completely. This breaks the helper when a
search subtree has to be limited (e.g., when using FreeIPA).

Fix it to take '-b' into account if it was specified with '-D'.
src/acl/external/kerberos_ldap_group/support_ldap.cc