I've got a Python script that works like a champ, built on Tim
Golden's awesome active_directory package (http://
tgolden.sc.sabren.com/python/active_directory.html) -- when run
standalone, it works flawlessly, exactly as I want it to. However,
and this is the rub, when I hack the same simple code into the
appropriate place in the Trac codebase (e.g., /trac/notification.py:
286 or so), it fails to match the username up with a user.
The only thing I can think of is that when I run the script
standalone, I run it as my logged-in user account -- when Trac runs
the same code, it is running it via it's parent process' (Apache)
creds (as "System" in this case).
Any thoughts? Tips? And if you have an entirely different but better
way to accomplish what I'm trying to accomplish, please smack me and
say so :D
Thanks in advance...
P.S. -- yes, I've seen the thread "Drop down list for LDAP users and
email" (http://groups.google.com/group/trac-users/browse_thread/thread/
a80be94fd53c9bbe/eab6797d74becd62?lnk=gst&q=ldap
+email&rnum=1#eab6797d74becd62)
--
Manu
On Aug 7, 3:35 pm, "Emmanuel Blot" <manu.b...@gmail.com> wrote:
> There is a long lasting ticket to implement a IUserDirectory
> interface, but it has been forgotten. Look for IUserDirectory on
> trac.edgewall.org (#2456)
>
> > Manu- Hide quoted text -
>
> - Show quoted text -