Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 075ad82

Browse files
Ninja fix for #86
Closes #86. [#156123202]
1 parent 357d829 commit 075ad82

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

priv/schema/rabbitmq_auth_backend_ldap.schema

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ end}.
8080
%% - false (no logging is performed)
8181
%% - true (verbose logging of the logic used by the plugin)
8282
%% - network (as true, but additionally logs LDAP network traffic)
83+
%% - network_unsafe (won't try to scrub any credentials)
8384
%%
8485
%% Defaults to false.
8586
%%
8687
%% {log, false},
8788

8889
{mapping, "auth_ldap.log", "rabbitmq_auth_backend_ldap.log",
89-
[{datatype, {enum, [true, false, network]}}]}.
90+
[{datatype, {enum, [true, false, network, network_unsafe]}}]}.
9091

9192
%%
9293
%% Authentication

test/config_schema_SUITE_data/rabbitmq_auth_backend_ldap.snippets

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,34 @@
6060
]}],
6161
[rabbitmq_auth_backend_ldap]},
6262

63+
{ldap_log_false,
64+
"auth_ldap.log = false",
65+
[{rabbitmq_auth_backend_ldap,[
66+
{log, false}
67+
]}],
68+
[rabbitmq_auth_backend_ldap]},
69+
70+
{ldap_log_true,
71+
"auth_ldap.log = true",
72+
[{rabbitmq_auth_backend_ldap,[
73+
{log, true}
74+
]}],
75+
[rabbitmq_auth_backend_ldap]},
76+
77+
{ldap_log_network,
78+
"auth_ldap.log = network",
79+
[{rabbitmq_auth_backend_ldap,[
80+
{log, network}
81+
]}],
82+
[rabbitmq_auth_backend_ldap]},
83+
84+
{ldap_log_network_unsafe,
85+
"auth_ldap.log = network_unsafe",
86+
[{rabbitmq_auth_backend_ldap,[
87+
{log, network_unsafe}
88+
]}],
89+
[rabbitmq_auth_backend_ldap]},
90+
6391
{dn_lookup,
6492
"auth_ldap.dn_lookup_attribute = userPrincipalName
6593
auth_ldap.dn_lookup_base = DC=gopivotal,DC=com

0 commit comments

Comments
 (0)