Don't use this, the standalone plugin is much easier. --Noah
On Apr 29, 2008, at 10:16 AM, mj wrote: > > I think you can stick to LDAPAuthStore. Just follows the procedure on > http://trac-hacks.org/ticket/1147 > > To be sure to build the egg with the new component, update the > setup.py script in the AccountManager source by adding > 'acct_mgr.ldap_store = acct_mgr.ldap_store', > > to the list of plugins in the "entry_points" section. > > Then rebuild the egg info and/or rebuild the egg: > python setup.py egg_info > python setup.py bdist_egg (and copy the egg in you trac site plugins > dir) > or > python setup.py install > > Be sure to restart your webserver (as the newly created/installed egg > may be confict with cached one). > > On Apr 17, 2:11 pm, "Vincent H." <[EMAIL PROTECTED]> wrote: >> On Thu, Apr 17, 2008 at 12:28 PM, Noah Kantrowitz <[EMAIL PROTECTED]> >> wrote: >>> Usehttp://pypi.python.org/pypi/TracLDAPAuth/1.0 >> >> Thanks for your quick answer. >> >> Ok I've installed TracLDAPAuth and removedLDAPAuthStore >> I just can't log in. It always displays : >> >> Error >> >> Invalid username or password >> >> I checked the logs and I found this: >> (I replaced the domain and the user by SOMEDOMAIN\myuser and dc by >> 'something') >> >> 2008-04-17 14:00:15,436 Trac[main] DEBUG: Dispatching <Request >> "POST u'/login'"> >> 2008-04-17 14:00:15,436 Trac[store] DEBUG: LDAPAuth: Checking >> password >> for user SOMEDOMAIN\myuser >> 2008-04-17 14:00:15,436 Trac[store] DEBUG: LDAPAuth: Using bind DN >> uid=SOMEDOMAIN\myuser,cn=users,dc=something,dc=com >> 2008-04-17 14:00:15,451 Trac[chrome] DEBUG: Prepare chrome data for >> request >> 2008-04-17 14:00:15,451 Trac[store] DEBUG: LDAPAuth: Checking >> password >> for user SOMEDOMAIN\myuser >> 2008-04-17 14:00:15,451 Trac[store] DEBUG: LDAPAuth: Using bind DN >> uid=SOMEDOMAIN\myuser,cn=users,dc=something,dc=com >> 2008-04-17 14:00:15,451 Trac[session] DEBUG: Retrieving session for >> ID >> 'd26106b84f2e754091a2a2b5' >> 2008-04-17 14:00:15,483 Trac[main] DEBUG: 392 unreachable objects >> found. >> >> It's seems that the password is checked twice. Maybe this means that >> the password is wrong. >> I tried many times and with or without SOMEDOMAIN\ but it's still >> the same... >> >> May I've done something wrong? >> >> I'm quite lost. >> Thanks >> >> -- >> Vincent > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
