<div dir="ltr"><div><div>Hi,<br></div>I'm still on using rabbitmq_auth_backends_ldap plugin but login still failed.<br></div>After a track, it failed during eldap:simple_bind.<br><div>But it failed at simple_bind with eldap:simple_bind(L,"uid=jiangenj,ou=people,o=xxx","password") with error {error,confidentialityRequired}.<br clear="all">
<div><div><br>My django app uses settings below and it worked. How can I convert to rabbitmq way?<br>import ldap<br><b>AUTH_LDAP_START_TLS = True<br>AUTH_LDAP_GLOBAL_OPTIONS = {<br> ldap.OPT_X_TLS_REQUIRE_CERT: ldap.OPT_X_TLS_NEVER<br>
}</b><br><b>AUTH_LDAP_BIND_DN = ''<br>AUTH_LDAP_BIND_PASSWORD = ''</b><br><b>AUTH_LDAP_BIND_AS_AUTHENTICATING_USER = True</b><br>AUTH_LDAP_SERVER_URI = 'ldap://ldap'<br>AUTH_LDAP_USER_DN_TEMPLATE = 'uid=%(user)s,ou=people,o=xxx'<br>
<br>-- <br>-Joey Jiao
</div></div></div></div>