[rabbitmq-discuss] RabbitMQ LDAP Configuration

Prakash, Gnana Gnana.Prakash at RelayHealth.com
Thu Feb 14 21:02:02 GMT 2013


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"}}]}
   ]
  }
].
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130214/1f1bdaad/attachment.htm>


More information about the rabbitmq-discuss mailing list