-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
andylockran wrote:
> Guys,
>
> I've just checked out trunk so I can have the LDAP write facility for my
> addressbooks, however, I've come across a bug.
>
> When you enter your binddn - mine is uid=andy,ou=Users,dc=example,dc=com
> - however, the bind_dn field is pre-appended with dn="$bind_dn" - which
> breaks the authentication.
>
> I'm looking through the code now to see if I can get rid of the leading
> dn= and whether that fixes my problem. Let me know if you have any
> other advice.
>
> Regards,
>
> Andy
Looking at the problem, it was simply the error message that appended
the "dn=" to the start of the line.
I suggest changing line 172 of /roundcubemail/program/include/rcube_ldap.php
to:
'message' => "Bind failed for dn:$dn: ".ldap_error($this->conn)),
from the original:
'message' => "Bind failed for dn=$dn: ".ldap_error($this->conn)),
Any thoughts?
Regards,
Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjKfh4ACgkQauMjEM4rxIRV2gCfWhEcb6+97oqrJdd7ZJzSxIZf
usoAnRun/O6Jp9sHm1JQiqqBUOVDvg+w
=GwF3
-----END PGP SIGNATURE-----
_______________________________________________
List info: http://lists.roundcube.net/dev/