On Jun 24, 2010, at 2:15, "Cooke, Mark" <[email protected]> wrote: >> -----Original Message----- >> From: [email protected] On Behalf Of [email protected] >> Sent: 22 June 2010 17:20 >> To: [email protected] >> Subject: [Trac] LDAP plugin advice, user details >> >> Hi all, >> >> The number of projects we have here is growing and I'm getting an >> increasing number of complaints from users about having to >> fill in their details repeatedly in the user preferences. >> >> >> Looking on trac-hacks there are a number of LDAP plugins, >> does anyone use any of them just to pull user data from LDAP (Active >> Directory) rather than authentication as well? >> >> >> >
Are you just looking to pre-fill username and email from AD? I'm not sure if it's quite what you're looking for, but I wrote a Python script which drives the LDAP plugin to pre-populate Trac with users' name and email address on a scheduled basis (we've got it cron'd once an hour). It also does a bit more such as populate a memcached that I hacked into the LDAP plugin to speed things up a bit, but that could be torn back out easily enough. I'm away from my desk for the morning, but I could post the script or perhaps just attach it to the TracHacks wiki page for the LDAP plugin later today if you'd find that useful. We still do use the LdapPlugin for authentication, but just to do group lookups as we have Apache handling the actual user login in front of Trac. I don't see any reason that the user population part shouldn't work independently of the actual login though. Best regards, Zac Bedell -- 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.
