Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: rordinas on August 31, 2011, 04:15:01 AM

Title: squirrelmail_usercopy : abook to LDAP (authentication issue)
Post by: rordinas on August 31, 2011, 04:15:01 AM
Hi everyone,

I'm facing an LDAP authentication issue while importing abook and pref with the squirrelmail_usercopy plugin.
I made it before and it was working fine.

The issue is happening only with the plugin at the first user's connection. Plugin imports with succes all prefs in database, but when it tries to add abook to LDAP, authentication is not working.

After debugging, it seems that prop['bind_pass'] in the connect() (file program/include/rcube_ldap.php) function does not contain the user password, so authentication failed.
This is happening only with the squirrelmail_usercopy plugin, when I manually insert abook's entries, it work just fine.

Can someone help with this ?

Thanks
Title: squirrelmail_usercopy : abook to LDAP (authentication issue)
Post by: naveen28187 on August 31, 2011, 04:20:18 AM
Yes,this is quite possible
Title: squirrelmail_usercopy : abook to LDAP (authentication issue)
Post by: alec on August 31, 2011, 04:25:22 AM
Sounds similiar to this #1488024 (Variables in ldap_public not always expanded) (http://trac.roundcube.net/ticket/1488024)