Dear Friends ,

I am setting up a new moinmoin wik ldap integration . But its
authenticating using the ldap

===========================================

1) Moinmoin version  : -1.9.5

2) Linux  :  CentOS 5.8 , 64 bit

3) My moin/wikiconfig.py

----------------------------------------------------------------------------
from MoinMoin.auth.ldap_login import LDAPAuth
ldap_authenticator1 = LDAPAuth(
    server_uri='ldap://ldap.server.com',
    bind_dn='cn=%(username)s,dc=sg,dc=company,dc=com',
    bind_pw='%(userPassword)s',
    base_dn='cn=Manager,dc=sg,dc=company,dc=com',
    scope=2,
    referrals=0,
    search_filter='(uid=%(username)s)',
    givenname_attribute='cn',
    surname_attribute='sn',
    aliasname_attribute='uid',
    email_attribute='mail',
    email_callback=None,
    coding='utf-8',
    timeout=10,
    start_tls=0,
    tls_cacertdir=None,
    tls_cacertfile=None,
    tls_certfile=None,
    tls_keyfile=None,
    tls_require_cert=0,
    bind_once=True,
    autocreate=True,
)
auth = [ldap_authenticator1, ]
cookie_lifetime = 1
----------------------------------------------------------------------------
===========================================

And I am trying to login to the moinmoin web frontent using " CN "and the
corresponding ldap password.

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 )

Please advice.

-- 
Thanks & Regards,
--------------
Hari.K
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to