Merge branch 'stable'
This commit is contained in:
commit
f20f4c0193
|
@ -11,6 +11,7 @@ define PROJECT_ENV
|
|||
{group_lookup_base, none},
|
||||
{dn_lookup_bind, as_user},
|
||||
{other_bind, as_user},
|
||||
{anon_auth, false},
|
||||
{vhost_access_query, {constant, true}},
|
||||
{resource_access_query, {constant, true}},
|
||||
{topic_access_query, {constant, true}},
|
||||
|
|
|
@ -418,7 +418,8 @@ with_ldap({error, _} = E, _Fun, _State) ->
|
|||
%% of interest, so this could still be more efficient.
|
||||
with_ldap({ok, Creds}, Fun, Servers) ->
|
||||
Opts0 = [{port, env(port)},
|
||||
{idle_timeout, env(idle_timeout)}],
|
||||
{idle_timeout, env(idle_timeout)},
|
||||
{anon_auth, env(anon_auth)}],
|
||||
Opts1 = case env(log) of
|
||||
network ->
|
||||
Pre = " LDAP network traffic: ",
|
||||
|
|
Loading…
Reference in New Issue