<?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>Move duplicate code to build RDN into new method to simplify subclassing of LDAP driver</title> 
  <pubDate>Thu, 09 Apr 2026 19:17:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3966</link> 
  <atom:link rel="self" type="application/rss+xml" title="Move duplicate code to build RDN into new method to simplify subclassing of LDAP driver" href="https://bugs.horde.org/ticket/3966/rss" /> 
  <description>Move duplicate code to build RDN into new method to simplify subclassing of LDAP driver</description> 
 
   
   
  <item> 
   <title>In turba/lib/Driver/ldap.php the RDN of objects is currently</title> 
   <description>In turba/lib/Driver/ldap.php the RDN of objects is currently assembled in two functions: _makeKey and _save (if an object is renamed). I suggest to move the code that builds the RDN from the attributes into a new method. With this change it becomes much easier to subclass the LDAP driver and to build your own custom DNs. Maintainance also becomes somewhat easier if no code is duplicated.



I&#039;ve attached a patch that introduces a new method called _makeRDN.  The patch was created using the files from Turba 2.1.1 but should should apply against HEAD without problems.</description> 
   <pubDate>Mon, 22 May 2006 14:12:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3966#t20487</link> 
  </item> 
   
  <item> 
   <title>Makes sense. Committed to HEAD and FW_3. Thanks!</title> 
   <description>Makes sense. Committed to HEAD and FW_3. Thanks!</description> 
   <pubDate>Tue, 23 May 2006 17:40:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3966#t20546</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
