[rabbitmq-discuss] RabbitMQ LDAP Configuration

Simon MacMullen simon at rabbitmq.com
Thu Feb 14 21:37:39 GMT 2013


Yes, look into using dn_lookup_attribute and dn_lookup_base as an 
alternative to user_dn_pattern. See http://www.rabbitmq.com/ldap.html

Cheers, Simon

On 14/02/2013 9:02PM, Prakash, Gnana wrote:
> Hi,
>
> I have a RabbitMQ server with Management and LDAP plugin enabled. The
> LDAP configuration is below.
>
> The below mentioned user is a member of Administrator group. To login to
> the management console (http://localhost:15672/), I need to use full
> name and password. Username does not work.
>
> Is there a way to login using username instead of full name ??
>
> Thanks
>
> Gnana
>
> Name – Test User
>
> Username – testusername
>
> DN  – “CN=Test User,OU=Users,DC=Testing,DC=Domain”
>
> [
>
>    {rabbit, [{auth_backends, [rabbit_auth_backend_ldap]}]},
>
>    {rabbitmq_auth_backend_ldap,
>
>        [{servers,                ["Testing.Domian"]},
>
>        {user_dn_pattern,
>    "CN={username},OU=Users,DC=Testing,DC=Domain"},
>
>         {use_ssl,                false},
>
>          {port,                  389},
>
>          {log,                   network},
>
>          {vhost_access_query,    {in_group,
> "CN=Vhost,OU=Groups,DC=Testing,DC=Domain"}},
>
>          {resource_access_query,
>
>          {for, [{permission, configure, {in_group, "
> CN=Configure,OU=Groups,DC=Testing,DC=Domain"}},
>
>                {permission, write,
>
>                {for, [{resource, queue,    {in_group,
> "CN=Write,OU=Groups,DC=Testing,DC=Domain"}},
>
>                       {resource, exchange, {in_group,
> "CN=Write,OU=Groups,DC=Testing,DC=Domain"}}]}},
>
>                {permission, read,
>
>                {for, [{resource, exchange, {in_group,
> "CN=Read,OU=Groups,DC=Testing,DC=Domain"}},
>
>                       {resource, queue,    {in_group,
> "CN=Read,OU=Groups,DC=Testing,DC=Domain"}}]}}
>
>              ]
>
>        }},
>
>         {tag_queries,           [{administrator, {in_group,
> "CN=Administrator,OU=Groups,DC=Testing,DC=Domain"}},
>
>                                  {management,    {in_group,
> "CN=Management,OU=Groups,DC=Testing,DC=Domain"}}]}
>
>     ]
>
>    }
>
> ].
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list