(Possibly off topic)

I don't know if you know about repoze.who.plugins.ldap:
http://code.gustavonarea.net/repoze.who.plugins.ldap/

You'll get an Apache-independent solution and the ability to customize the 
login form.

Cheers.

On Wednesday November 19, 2008 21:19:14 Dave wrote:
> Hi,
>
> I am trying to get a working ldap auth system going for turbogears.
> TG is currently running though apache and mod_python.  I have
> configured apache to be the "ldap client" and now all users have to
> log in to access the site.
>
> The problem is that TG has no idea who logged in.  With python cgi
> scripts, the os.environ['REMOTE_USER'] is set, however in TG it is
> not.
>
> According to
> http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html#exposed it should
> be set for cgi scripts.  Is there a way to make apache set that env
> variable?
>
> Should I look into mod_wsgi instead of mod_python, or does anyone have
> a good fix?
>
> -Dave
>
> 
-- 
Gustavo Narea.
General Secretary.
GNU/Linux Matters <http://gnulinuxmatters.org/>.

--~--~---------~--~----~------------~-------~--~----~
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