[rabbitmq-discuss] rabbit_auth_backend_ldap connect failed

jandres jandres at omie.es
Tue Aug 13 10:19:37 BST 2013


I’m trying to configure rabbit_auth_backend_ldap, but I get this error:

=INFO REPORT==== 13-Aug-2013::11:01:52 ===
accepting AMQP connection <0.336.0> ( ->

=ERROR REPORT==== 13-Aug-2013::11:01:57 ===
closing AMQP connection <0.336.0> ( ->
                             "PLAIN login refused: rabbit_auth_backend_ldap
failed authenticating XXXXX: \"*connect failed*\"\n",

This is my rabbitmq.config file:

  {rabbit, [	
				{ssl_listeners, [5671]},
				{ssl_options, [{cacertfile,"e:/RabbitMQ Server /ssl.ca/ca.cer"},
                    {certfile,"e:/RabbitMQ Server /ssl.crt/apache.pem"},
                    {keyfile,"e:/RabbitMQ Server /ssl.key/apache.pem"},
					{ssl_cert_login_from, common_name},
					{auth_mechanisms, ['EXTERNAL']}]
				{auth_backends, [rabbit_auth_backend_ldap]}
   [ {servers,               ["ldap-server"]},
     {port,                  389},
	 {other_bind,			 {"userXX", "passwordXX"}},
	 {user_dn_pattern,       "uid=${username}"},
	 {use_ssl,               false},
     {log,                   network}

If this can help, I have an instance of Apache (Httpd) working with that
LDAP server, and I have this in my apache configuration:

              AuthLDAPBindDN  "userXX"
	AuthLDAPBindPassword "passwordXX"

I have tried a lot of things to stablish the connection, but i don't know
why i get the error. Can you help me?

Thank you very much!

View this message in context: http://rabbitmq.1065348.n5.nabble.com/rabbit-auth-backend-ldap-connect-failed-tp28750.html
Sent from the RabbitMQ mailing list archive at Nabble.com.

More information about the rabbitmq-discuss mailing list