On 4/24/08, Emmanuel Blot <[EMAIL PROTECTED]> wrote:
>
>  >  It is an ActiveDirectory. Is this a problem? (maybe that could explain 
> things)
>
> Microsoft: never 100% compliant with standards...
>  However it is known to work, but hard to debug - nothing new ;-)

I understand :)

After some tries with ldapsearch I think I've finally found the right
base_dn and bind_user.
(by the way there is another excellent tool for this : LDAPBrowser. A
free java application available here :
http://www-unix.mcs.anl.gov/~gawor/ldap/index.html)

I changed my trac.ini [ldap] section to this :

[ldap]
basedn = dc=exo,dc=com
bind_user = cn=dbagent,cn=users,dc=exo,dc=com
bind_passwd = dbagent
cache_size = 100
cache_ttl = 900
enable = true
global_perms = false
group_bind = false
group_rdn = cn=groups
groupattr = cn
groupmember = memberUid
groupmemberisdn = false
groupname = posixGroup
host = nts15
manage_groups = false
permattr = tracperm
permfilter = objectclass=*
port = 389
store_bind = true
uidattr = uid
use_tls = false
user_rdn = cn=users

Now it's seems to connect to the ldap server correctly :
I do not have this message anymore : "TracError: Unable to open LDAP
cnx: Invalid credentials" :)

One problem remains though. When I click on "users" in the admin
panel, the list is empty. And the following lines appear in the logs :

2008-04-24 17:19:30,134 Trac[api] ERROR: LDAP error: Size limit exceeded
2008-04-24 17:19:30,321 Trac[api] ERROR: LDAP error: Size limit exceeded
2008-04-24 17:19:30,321 Trac[ldap_store] INFO: ldap_users: []

And when I try to log in I still have the following message "Invalid
username or password"

(I restored the original ldapplugin)

Any hint?

Thanks again for the time you take to help me.
-- 
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