I'm having trouble having Trac authenticate against AD.
The usual mod_ldap bind/find isn't working for me, even using my own
account for the bind. So, I'd like to try having Trac do the work.
My Django authentication module works easily against AD because it
binds using the credentials of the user trying to log on. In short:
principalName = '[EMAIL PROTECTED]' % (username, domain)
l = ldap.open(server)
l.protocol_version = ldap.VERSION3
l.simple_bind_s(principalName, password)
return l
If I derive DirectLdapAuthentication from BasicAuthentication, can I
simply over-ride do_auth and plug in the code above?
How can I tell Trac to use DirectLdapAuthentication?
How can I populate account detail in Trac with details taken from AD?
Once I've got this working, I'll post the patch.
Yours,
Garth.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---