[Moin-user] Request to setup moinmoin ldap intergraion

hari k harikripas at gmail.com
Tue Oct 2 04:27:14 EDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20121002/7c35761d/attachment.html>


More information about the Moin-user mailing list