summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2013-09-30 15:15:34 +0100
committerTim Watson <tim@rabbitmq.com>2013-09-30 15:15:34 +0100
commitda04398977847019724334dba41807018fddc28a (patch)
treeb9681edfefca048716d29834206eaced3a4672b7 /docs
parent9ff30404b608b8c30c35f9986d3c1619e0df5131 (diff)
downloadrabbitmq-server-git-da04398977847019724334dba41807018fddc28a.tar.gz
Add a load of missing LDAP configuration and documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmq.config.example32
1 files changed, 31 insertions, 1 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example
index 10ed79d9eb..20180be210 100644
--- a/docs/rabbitmq.config.example
+++ b/docs/rabbitmq.config.example
@@ -474,7 +474,31 @@
%%
%% {user_dn_pattern, "cn=${username},ou=People,dc=example,dc=com"},
- %% Enable SSL.
+ %% Alternatively, you can convert a username to a Distinguished Name via an
+ %% LDAP lookup after binding. See the documentation for full details.
+ %%
+
+ %% When converting a username to a dn via a lookup, set this to the name of
+ %% the attribute that represents the user name.
+ %%
+ %% {dn_lookup_attribute, "userPrincipalName"},
+
+ %% Set this to the base DN for the lookup query.
+ %%
+ %% {dn_lookup_base, "DC=gopivotal,DC=com"},
+
+ %% Controls how to bind for authorisation queries and to retrieve the details
+ %% of a user logging in without presenting a password (e.g., SASL EXTERNAL).
+ %% One of
+ %% - as_user (to bind as the authenticated user - requires a password)
+ %% - anon (to bind anonymously)
+ %% - {UserDN, Password} (to bind with a specified user name and password)
+ %%
+ %% Defaults to 'as_user'.
+ %%
+ %% {other_bind, as_user},
+
+ %% Enable SSL. Uses the same SSL configuration as elsewhere in RabbitMQ.
%%
%% {use_ssl, false},
@@ -483,6 +507,12 @@
%% {port, 389},
%% Enable logging of LDAP queries.
+ %% One of
+ %% - false (no logging is performed)
+ %% - true (verbose logging of the logic used by the plugin)
+ %% - network (as true, but additionally logs LDAP network traffic)
+ %%
+ %% Defaults to false.
%%
%% {log, false},