[Tickets #8251] Re: LDAP Prefs backend, nag tries to bind w/o password

bugs at horde.org bugs at horde.org
Thu May 7 22:02:44 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8251
------------------------------------------------------------------------------
  Ticket             | 8251
  Updated By         | simon at simonandkate.net
  Summary            | LDAP Prefs backend, nag tries to bind w/o password
  Queue              | Nag
  Version            | 2.3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


simon at simonandkate.net (2009-05-07 18:02) wrote:

> Similar issue to http://bugs.horde.org/ticket/7418 and
> http://bugs.horde.org/ticket/8246  nah tries to
> bind to LDAP as user without password.
>
> There are two places in nag where the preference system is being
> instanciated.
> I patched only one place (see comments below), please correct me if
> i'm wrong.
>
> grep -n "Prefs::" * -r
>
>> nag/lib/Nag.php:964:        $prefs =
>> &Prefs::singleton($GLOBALS['conf']['prefs']['driver'],
> needs to be patched. see attachment
>
>> nag/lib/api.php:1380:            $prefs =
>> &Prefs::singleton($GLOBALS['conf']['prefs']['driver'],
> preferences for the logged-in user should rather be retrieved via
> $prefs = &$GLOBALS['prefs']; similar to kronolith/lib/api.php:1348


Thanks, I hadn't had any errors from Nag like Ingo and Kronolith were  
throwing for me with this 'binding with no password' issue, but I've  
patched it anyway.






More information about the bugs mailing list