Dear Friends ,<div><br></div><div>I am setting up a new moinmoin wik ldap integration . But its authenticating using the ldap </div><div><br></div><div>===========================================</div><div><br></div><div>1) Moinmoin version  : -1.9.5</div>
<div><br></div><div>2) Linux  :  CentOS 5.8 , 64 bit </div><div><br></div><div>3) My moin/wikiconfig.py<br clear="all"><div><br></div><div>----------------------------------------------------------------------------</div>
<div><div>from MoinMoin.auth.ldap_login import LDAPAuth</div><div>ldap_authenticator1 = LDAPAuth(</div><div>    server_uri='ldap://<a href="http://ldap.server.com">ldap.server.com</a>',</div><div>    bind_dn='cn=%(username)s,dc=sg,dc=company,dc=com',</div>
<div>    bind_pw='%(userPassword)s',</div><div>    base_dn='cn=Manager,dc=sg,dc=company,dc=com',</div><div>    scope=2,</div><div>    referrals=0,</div><div>    search_filter='(uid=%(username)s)',</div>
<div>    givenname_attribute='cn',</div><div>    surname_attribute='sn',</div><div>    aliasname_attribute='uid',</div><div>    email_attribute='mail',</div><div>    email_callback=None,</div>
<div>    coding='utf-8',</div><div>    timeout=10,</div><div>    start_tls=0,</div><div>    tls_cacertdir=None,</div><div>    tls_cacertfile=None,</div><div>    tls_certfile=None,</div><div>    tls_keyfile=None,</div>
<div>    tls_require_cert=0,</div><div>    bind_once=True,</div><div>    autocreate=True,</div><div>)</div><div>auth = [ldap_authenticator1, ]</div><div>cookie_lifetime = 1</div></div><div>----------------------------------------------------------------------------</div>
<div>===========================================</div><div><br></div><div>And I am trying to login to the moinmoin web frontent using " CN "and the corresponding ldap password. </div><div><br></div><div>I couldnt see any logs in the Apache error logs and in the ldap.log of the ldap server ( I couldnt even see that the moinmoin is connecting to the ldap server from the logs )</div>
<div><br></div><div>Please advice. </div><div><br></div>-- <br>Thanks & Regards,<br>--------------<br>Hari.K<br><br><br>
</div>