On Tuesday, March 24, 2015 at 8:07:04 AM UTC-7, Cooke, Mark wrote: > > > -----Original Message----- > > From: [email protected] <javascript:> [mailto: > [email protected] <javascript:>] On > > Behalf Of pineapplehandler > > > > What's the etiquette for bumping really old threads? :) > > If you wait "long enough" I believe this is fine! > > > We'd like to pre-populate our users and email addresses from LDAP. Is > this > > something that's been worked out already? > > I was keeping quiet in the hope that someone else would answer. This is > an issue for us, too. > > I believe you can get mod_ldap to retrieve multiple user data and that > mod_wsgi passes them through to trac (not sure about mod_python) but I do > not know of a plugin that will make use of these values if session items > are missing... > > ~ mark c >
I believe there are a few plugins on trac-hacks that do this. DirectoryAuthPlugin will populate session_attribute. It requires AccountManagerPlugin. The plugin is completely broken though. I started work on Saturday to fix the plugin, and would appreciate feedback from anyone that's willing to test it once it's fixed. Also, I really don't know much about LDAP, so I could use help with understanding LDAP-specific things. http://trac-hacks.org/wiki/DirectoryAuthPlugin If you hunt around trac-hacks you'll find other options (probably too many!) that also populate the session attribute table. http://trac-hacks.org/tags/ldap?wiki=on -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
