[Tickets #8251] LDAP Prefs backend, nag tries to bind w/o password
    bugs at horde.org 
    bugs at horde.org
       
    Thu May  7 13:08:18 UTC 2009
    
    
  
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8251
------------------------------------------------------------------------------
  Ticket             | 8251
  Created By         | m.rolke at linux-ag.com
  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             |
+New Attachment     | ldap_prefs_backend_bind_without_password.patch
------------------------------------------------------------------------------
m.rolke at linux-ag.com (2009-05-07 09:08) 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
    
    
More information about the bugs
mailing list