Hi Mark, We've been using LDAP auth with Moin 1.5.6 for the past year with no problems (except for a strange IE6 issue where users sometimes have to log on twice).
> * does MoinMoin has LDAP support included? Which resources do I need? Yes, support is included. What you need: (1) python-ldap installed on your Moin box; (2) knowledge of your LDAP server (bind user, bind password, how to bind, base dn, etc) > * which settings has to be done? Which files has to be edited? Just edit wikiconfig.py. This link should give you all the info you need to get wikiconfig.py configured and LDAP auth working on Moin: http://moinmaster.wikiwikiweb.de/HelpOnAuthentication/LDAP > * Can someone provide detailed information? Here's the LDAP stuff from our wikiconfig.py: ==================================== from MoinMoin import auth auth = [auth.ldap_login, auth.moin_cookie] import ldap ldap_uri = 'ldaps://ldap.oursite.com' # ldap / active directory server URI ldap_binddn = 'bind_username_goes_here' ldap_bindpw = 'bind_password_goes_here' ldap_base = 'dc=vmware,dc=com' # base DN we use for searching ldap_scope = ldap.SCOPE_SUBTREE # scope of the search we do ldap_email_attribute = 'mail' # ldap attribute we get the email address from ldap_surname_attribute = 'sn' ldap_givenname_attribute = 'givenName' ldap_aliasname_attribute = 'displayName' ldap_coding = 'utf-8' # coding used for ldap queries and result values ldap_timeout = 10 # how long we wait for the ldap server [s] ldap_verbose = True # if True, put lots of LDAP debug info into the log cookie_lifetime = 336 # 14 days after last access ldap login is required again user_autocreate = True ==================================== I hope this is enough info to get it working for you. As you can see, there's not much to it! :) -Geoff > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:moin-user- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Monday, September 24, 2007 2:07 AM > To: [email protected] > Subject: [Moin-user] LDAP authentication > > > Hello, > > we are using MoinMoin now for many years and have a stable, well > maintained 1.5.8 installation. > > Since some month we also have an openldap server running. > Some sevices like apache, linux boxes and others are using ldap now. > Next step is MoinMoin and ldap. > > I searched http://moinmoin.wikiwikiweb.de/ for ldap and found a lot of > information, but no step-by-step guide. > > My questions would be: > * does MoinMoin has LDAP support included? Which resources do I need? > * which settings has to be done? Which files has to be edited? > * Can someone provide detailed information? > > If we succeed I would spend some time on collecting information and > writing some nice doc for the community. > > Mit freundlichen Grüßen | Best regards, > > Mark Ziegler > > Softwareentwicklung | Software development > > MICHAEL WEINIG AG > Weinigstrasse 2/4. 97941 Tauberbischofsheim. Deutschland | Germany > Phone +49 (0) 9341 86-1726 . Fax +49 (0) 9341 86-1702 > [EMAIL PROTECTED] . http://www.weinig.com > > Vorsitzender des Aufsichtsrats: Dr. Thomas Bach > Vorstand: Rainer Hundsdörfer (Vorsitzender), Dr. Dieter Japs, Karl Wachter > Sitz Tauberbischofsheim , Registergericht Mannheim HRB 560227 > UST / ID-Nr. DE 146587898 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user
