Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Mircea Carasel
On Tue, Sep 11, 2012 at 7:55 PM, Gael Ravot gael.ra...@unil.ch http error: 500 Root DNs must be the same when using multiple URLs RequestURI=/sipxconfig/j_acegi_security_check This might be a server error. Please attach sipxconfig.log from /var/log/sipxpbx/sipxconfig.log Mircea

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Gael Ravot
Hello Mircea, here is the log. When googling the error message I found a discussion about issues with spring and spaces in the ldap URL (see http://forum.springsource.org/showthread.php?98862-LDAP-url-with-space-problem) My URL do have a space in it... So do you think this could this be a

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Mircea Carasel
When googling the error message I found a discussion about issues with spring and spaces in the ldap URL (see http://forum.springsource.org/showthread.php?98862-LDAP-url-with-space-problem) My URL do have a space in it... So do you think this could this be a similar issue? Unfortunately I

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Douglas Hubler
On Wed, Sep 12, 2012 at 6:01 AM, Mircea Carasel mirc...@ezuce.com wrote: Yes, it appears the same issue. We are using acegi security API which spring security 3 is based on.. Can you look into postgres database and see what is saved in ldap_attr_map and ldap_connection tables? Mircea, i'll

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Gael Ravot
run: psql -U postgres -d SIPXCONFIG then: select * from ldap_connection; ldap_connection_id |host | port | principal | secret | cron_schedule_id | use_tls

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Mircea Carasel
Mircea, i'll forever be confused on ldap auth, but i thought the user with name superadmin should be able to get in even when ldap is down/misconfigured The LDAP authenticator is the first in the manager authenticators list. then comes the DB authenticator All authenticators is checked in

Re: [sipx-users] 4.6 LDAP authentication issue

2012-09-12 Thread Mircea Carasel
and now I can login with superadmin, or any imported LDAP users with pin . Using LDAP password still doesn't work though. In order to use the LDAP password for authentication you have to set the LDAP only authentication setting. In Admin Portal, go under LDAP/AD configuration page and

[sipx-users] 4.6 LDAP authentication issue

2012-09-11 Thread Gael Ravot
Hello all, I have just tried to set up LDAP authentication on my 4.6 install. Everything worked fine when importing the users. But now I am not able to login to the webUI anymore - even with superadmin... I always get the following 500 error: http error: 500 Root DNs must be the same when using