Does anyone know of a full working example of how to configure
turbogears2 to use LDAP to authenticate users?
What I would like to do is to use an existing LDAP server for pure
authentication and then to link the authenticated username against my
model.User. That way, the users uname and password are centrally
managed (the LDAP server is used for authentication for many services)
but I could add application specific meta information to the user
object as soon as the user logs in.

I've gotten as far as trying to edit the app_cfg.py file using the
information from:

http://code.gustavonarea.net/repoze.who.plugins.ldap/Using.html
http://www.mail-archive.com/[email protected]/msg39644.html

but I can't get it working. Currently, I'm getting something like:
ValueError: ldap_auth: An object has failed to implement interface
<InterfaceClass repoze.who.interfaces.IChallenger>
        The challenge attribute was not provided.

What would be really helpful in the documentation is an example of how
to configure the app_cfg.py file for LDAP authentication using the
repoze.who.plugins.ldap  plugin.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to