Thijs Kinkhorst
-
2005-04-08
- labels: 477103 -->
Hello,
SquirrelMail Version: 1.5.1 [CVS] 200411
Vacation Plugin for Qmail-LDAP: v0.2
In Vacation Plugin for Qmail-LDAP, the LDAP attribute
that is queried to show the existing message(s) is
wrong. The correct attribute that holds the message(s)
is mailReplyText.
In line 44 of options.php, the entry should read.
$sr=ldap_search($ds,$cn,"mailReplyText=*");
Here I would like to add one more thing. None of the
sources, i.e., options.php and update.php, are not
able to source the config.php of this plugin. Because
of this, in the above line of code, I had to replace
$cn with the complete string of the dn. I had to make
similar changes to ldap_bind.
Srinidhi.