[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqwebmail
Subject:    Re: [sqwebmail] Re: global address book search problem
From:       Thomas Klettke <thomas () klettke ! us>
Date:       2003-10-27 16:26:10
[Download RAW message or body]

Uros, Biswajit,
thanks for the solution - I had the same problem were my ldap address
book didn't work at all. Changing "abook" to "ABOOK" fixed it.

Perhaps this should be added to the next release?


> Hi,
> I have a solution. There is a mistake in a ldaplist.c. in directory
> courier-0.43.2/webmail
> 
> As I uderstand ldapsearch function (below) it checks if the variable ABOOK
> is
> defined OK.
> 
> int     ldapsearch()
> {
>         if (*cgi("ABOOK") == 0 || *cgi("attr1") == 0 || *cgi("op1") == 0
>                 || *cgi("value1") == 0) return (-1);
>         return (0);
> }
> 
> But the problem is that a few lines before where the html is created it is
> defined as  "abook" and not "ABOOK"
> 

-- 
Thomas Klettke <thomas@klettke.us>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic