[Trac] Re: ldap authentication and anonymous query

2009-06-08 Thread Dimitri Maziuk
On Sunday 07 June 2009 17:43:57 Sergio Charpinel Jr. wrote: Yes, but it works as one. Try and see your ldap log. It is in the LdapAuthStore module for AccountManager. But it was not working in my ldap 2.4 , just in 2.2. So I changed and did a real bind. Easy fix (assuming your ldap server is

[Trac] Re: ldap authentication and anonymous query

2009-06-08 Thread Lance Hendrix
I assume you are speaking of OpenLDAP (2.2 and 2.4)? Lance Dimitri Maziuk wrote: On Sunday 07 June 2009 17:43:57 Sergio Charpinel Jr. wrote: Yes, but it works as one. Try and see your ldap log. It is in the LdapAuthStore module for AccountManager. But it was not working in my ldap 2.4 ,

[Trac] Re: ldap authentication and anonymous query

2009-06-08 Thread Dimitri Maziuk
On Monday 08 June 2009 13:50:13 Lance Hendrix wrote: I assume you are speaking of OpenLDAP (2.2 and 2.4)? Yep. Dima -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu --~--~-~--~~~---~--~~ You received this message

[Trac] Re: ldap authentication and anonymous query

2009-06-07 Thread Emmanuel Blot
simple_bind_s(userdn, password). obs.: the password is the password that the user entered to login. So this is not an anonymous bind ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to

[Trac] Re: ldap authentication and anonymous query

2009-06-07 Thread Sergio Charpinel Jr.
Yes, but it works as one. Try and see your ldap log. It is in the LdapAuthStore module for AccountManager. But it was not working in my ldap 2.4 , just in 2.2. So I changed and did a real bind. 2009/6/7 Emmanuel Blot manu.b...@gmail.com simple_bind_s(userdn, password). obs.: the password is

[Trac] Re: ldap authentication and anonymous query

2009-06-06 Thread Sergio Charpinel Jr.
Hi I'm not sure, but I saw this in the ldap module dor accountmanager: simple_bind_s(userdn, password). obs.: the password is the password that the user entered to login. This was making anonymous bind. Or try simple to do not bind. But why do you need anonymous bind? Hope this helps. 2009/6/5

[Trac] Re: ldap authentication and anonymous query

2009-06-05 Thread Emmanuel Blot
 here i have been facing one issue, i want to search the usernames from specified domain without username and password [ anonymous ]. I don't see the relation with Trac. You can nevertheless check out the code of the LdapPlugin and/or the AccountManagerPlugin+LDAP to see how to perform LDAP