[Moin-user] LDAP Authentication

Thomas Waldmann tw-public at gmx.de
Tue Apr 24 01:54:13 EDT 2007


> What I currently have, in addition to the standard config stuff, is:
> class Config(FarmConfig):
>     import ldap
> 
>     auth = [ldap_login]

If that's all, that doesn't work. ldap_login is not defined.

I suggest your start over using the sample in wiki/config/more_samples/ 
- it has the correct import lines for ldap_login and stuff that already 
worked somewhere else.

>     ldap_binddn = ''
>     ldap_bindpw = ''

That means anonymous bind. Whether that works or not depends on your 
ldap server config.





More information about the Moin-user mailing list