Menu

#89 Vacation Plugin for Qmail-LDAP :: wrong LDAP attribute

open
nobody
None
5
2006-10-09
2005-04-08
Anonymous
No

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.

Discussion

  • Thijs Kinkhorst

    Thijs Kinkhorst - 2005-04-08
    • labels: 477103 -->
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2005-05-18
    • assigned_to: nobody --> tokul
     
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-10-09
    • assigned_to: tokul --> nobody
     

Log in to post a comment.