On 4/17/08, Vincent H. <> wrote: > On Thu, Apr 17, 2008 at 12:28 PM, Noah Kantrowitz <> wrote: > > Use http://pypi.python.org/pypi/TracLDAPAuth/1.0 > >
Well I tried TracLDAPAuth for two days now and I still get the same message : Invalid username or password So I tried LDAPAuthStore again and managed to get it loaded in accountmanager by installing fcrypt module for windows : http://home.clear.net.nz/pages/c.evans/sw/ and patching ldap_store.py or ldap_store.2.py (I tried both files) But the following message then appeared : TracError: Unable to open LDAP cnx: Invalid credentials So I tried to put my user and password directly into api.py of ldappluggin (line 632) if ( head.find('=') == -1 ): self.bind_user = '%s=%s' % (self.uidattr, self.bind_user) self._ds.simple_bind_s('dbagent', 'dbagent') Then I could clic on users in the admin panel without getting an error. But when I tried to login I have the "Invalid username or password" message again.... And new error messages in the debug logs : 2008-04-24 12:10:46,648 Trac[main] DEBUG: 328 unreachable objects found. 2008-04-24 12:10:46,742 Trac[api] ERROR: LDAP error: Size limit exceeded 2008-04-24 12:10:47,039 Trac[api] ERROR: LDAP error: Size limit exceeded 2008-04-24 12:10:47,039 Trac[ldap_store] INFO: ldap_users: [] But this may come from the modification of ldappluggin api.py. (I just changed the line 632 as mentioned above). I use trac 0.11b2. Is there anybody running trac 0.11b2 with ldap? I really don't understand what's wrong. Is there another plugin? I'm using tracd.exe server this way: C:\Python25\Scripts>tracd.exe -p 8000 c:\trac Thanks in advance for any answer. Best regards, -- 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 -~----------~----~----~----~------~----~------~--~---
