<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>LDAP Prefs backend, nag tries to bind w/o password</title> 
  <pubDate>Fri, 10 Apr 2026 17:02:21 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8251</link> 
  <atom:link rel="self" type="application/rss+xml" title="LDAP Prefs backend, nag tries to bind w/o password" href="https://bugs.horde.org/ticket/8251/rss" /> 
  <description>LDAP Prefs backend, nag tries to bind w/o password</description> 
 
   
   
  <item> 
   <title>Similar issue to http://bugs.horde.org/ticket/7418 and http:</title> 
   <description>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&#039;m wrong.



grep -n &quot;Prefs::&quot; * -r



&gt; nag/lib/Nag.php:964:        $prefs = &amp;Prefs::singleton($GLOBALS[&#039;conf&#039;][&#039;prefs&#039;][&#039;driver&#039;],

needs to be patched. see attachment



&gt; nag/lib/api.php:1380:            $prefs = &amp;Prefs::singleton($GLOBALS[&#039;conf&#039;][&#039;prefs&#039;][&#039;driver&#039;],

preferences for the logged-in user should rather be retrieved via $prefs = &amp;$GLOBALS[&#039;prefs&#039;]; similar to kronolith/lib/api.php:1348</description> 
   <pubDate>Thu, 07 May 2009 13:08:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8251#t54035</link> 
  </item> 
   
  <item> 
   <title>&gt; Similar issue to http://bugs.horde.org/ticket/7418 and 

&gt;</title> 
   <description>&gt; Similar issue to http://bugs.horde.org/ticket/7418 and 

&gt; http://bugs.horde.org/ticket/8246  nah tries to

&gt; bind to LDAP as user without password.

&gt;

&gt; There are two places in nag where the preference system is being 

&gt; instanciated.

&gt; I patched only one place (see comments below), please correct me if 

&gt; i&#039;m wrong.

&gt;

&gt; grep -n &quot;Prefs::&quot; * -r

&gt;

&gt;&gt; nag/lib/Nag.php:964:        $prefs = 

&gt;&gt; &amp;Prefs::singleton($GLOBALS[&#039;conf&#039;][&#039;prefs&#039;][&#039;driver&#039;],

&gt; needs to be patched. see attachment

&gt;

&gt;&gt; nag/lib/api.php:1380:            $prefs = 

&gt;&gt; &amp;Prefs::singleton($GLOBALS[&#039;conf&#039;][&#039;prefs&#039;][&#039;driver&#039;],

&gt; preferences for the logged-in user should rather be retrieved via 

&gt; $prefs = &amp;$GLOBALS[&#039;prefs&#039;]; similar to kronolith/lib/api.php:1348





Thanks, I hadn&#039;t had any errors from Nag like Ingo and Kronolith were throwing for me with this &#039;binding with no password&#039; issue, but I&#039;ve patched it anyway.</description> 
   <pubDate>Thu, 07 May 2009 22:02:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8251#t54048</link> 
  </item> 
   
  <item> 
   <title>Like in Kronolith, $user is not always the current user.</title> 
   <description>Like in Kronolith, $user is not always the current user.</description> 
   <pubDate>Tue, 12 May 2009 14:16:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8251#t54088</link> 
  </item> 
   
  <item> 
   <title>&gt; Like in Kronolith, $user is not always the current user.

</title> 
   <description>&gt; Like in Kronolith, $user is not always the current user.

Ok, i updated the patch.</description> 
   <pubDate>Fri, 15 May 2009 16:08:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8251#t54188</link> 
  </item> 
   
  <item> 
   <title>Closed in favor of the catch-all ticket #8353.</title> 
   <description>Closed in favor of the catch-all ticket #8353.</description> 
   <pubDate>Tue, 16 Jun 2009 13:38:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8251#t54608</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
