[rabbitmq-discuss] eldap simple_bind failure

Joey Jiao joey.jiaojg at gmail.com
Tue Jul 1 06:20:54 BST 2014


Hi,
I'm still on using rabbitmq_auth_backends_ldap plugin but login still
failed.
After a track, it failed during eldap:simple_bind.
But it failed at simple_bind with
eldap:simple_bind(L,"uid=jiangenj,ou=people,o=xxx","password") with error
{error,confidentialityRequired}.

My django app uses settings below and it worked. How can I convert to
rabbitmq way?
import ldap



*AUTH_LDAP_START_TLS = TrueAUTH_LDAP_GLOBAL_OPTIONS = {
ldap.OPT_X_TLS_REQUIRE_CERT: ldap.OPT_X_TLS_NEVER }*

*AUTH_LDAP_BIND_DN = ''AUTH_LDAP_BIND_PASSWORD = ''*
*AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = True*
AUTH_LDAP_SERVER_URI = 'ldap://ldap'
AUTH_LDAP_USER_DN_TEMPLATE = 'uid=%(user)s,ou=people,o=xxx'

-- 
-Joey Jiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140701/db0cf11c/attachment.html>


More information about the rabbitmq-discuss mailing list