Thanks for your quick reply.

On 4/24/08, Emmanuel Blot <> wrote:
>
> TracLDAPAuth and LdapPlugin are two distinct, different plugins.
>

Yes and TracLDAPAuth doesn't require LdapPlugin as said here :
http://pypi.python.org/pypi/TracLDAPAuth/

I saw that.

>  I don't understand why you changed LdapPlugin to make TracLDAPAuth to 
> work... ?

Actually I tried LDAPAuthStore at first and couldn't manage to get it
work (crypt module is missing on windows).

Then Noah Kantrowitz told me to use TracLDAPAuth.
So I uninstalled everything and made a clean install with TracLDAPAuth
(and without LdapPlugin) but I then had the following message :

"Invalid username or password"

I tried TracLDAPAuth for two days without success. So I decided to try
again LDAPAuthStore and find a way to install crypt module for
windows. So I found fcrypt and patched ldap_store.py in order to use
fcrypt and not crypt.
This worked and LDAPAuthStore loaded at startup and was available in
the accountmanager.

But LDAPAuthStore couldn't access the ldap server and the following
message was displayed:
TracError: Unable to open LDAP cnx: Invalid credentials

After many many tries I decided to make one more test and modified
api.py in order to put my user and password directly in the source, to
see if the problem was my user/pass (I really doubt that) or
LDAPAuthStore.

Then the "Invalid credentials" disappear and I saw "Invalid username
or password" again (when trying to login).

Well I'm just looking for a ldap solution. This is what I tried. I
thought it would help in understanding my problem.

Thanks again
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to