> Given the quick and helpful reply I received to my earlier question > (vielen dank Herr Waldmann!),
You're welcome! :) > I am posting to the list again. I'm a newbie Moin admin running Moin > 1.6.3 on a RHEL5.1 box, and I just upgraded from 1.5.7 to 1.6.3. Did you also upgrade / change your python version? > from MoinMoin.*config*.multiconfig import DefaultConfig > > class Config(DefaultConfig): > > ~ from MoinMoin.*auth.ldap_login import ldap_login* > ~ *from MoinMoin.auth import moin_session* > ~ auth = [*ldap_login, moin_session*] Looks ok. > MoinMoin.error.ConfigurationError: ImportError: No module named ldap That looks like pyldap (python-ldap) is missing. Moin's ldap code depends on that to be able to work. If it worked for moin 1.5, it should also work for 1.6, though, except if you changed the python version at the same time and you still need to install python-ldap for that python version maybe. Or someone deinstalled python-ldap? Just start a python interpreter and enter: >>> import ldap That should work. BTW, after you have it working, have a look at moin 1.7. Some LDAP stuff was further improved there. auth stuff is handled by auth objects there (not functions as in 1.6), so you can have multiple ldap authenticators now. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user
