Package: webcalendar
Severity: important

When using webcalendar with LDAP authentication I got this error:

Warning: Wrong parameter count for ldap_error() in
/etc/webcalendar/user-ldap.php on line 338

The ldap_error() function needs a paramenter (the connection handle). So if
you modify the line like the following:

338c338
<       $error = 'Error searching LDAP server: ' . ldap_error($ds);
---
>       $error = 'Error searching LDAP server: ' . ldap_error();

it will work.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to