<?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>attrisdn in the Groups LDAP Setup does not work?</title> 
  <pubDate>Wed, 08 Apr 2026 08:58:17 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9762</link> 
  <atom:link rel="self" type="application/rss+xml" title="attrisdn in the Groups LDAP Setup does not work?" href="https://bugs.horde.org/ticket/9762/rss" /> 
  <description>attrisdn in the Groups LDAP Setup does not work?</description> 
 
   
   
  <item> 
   <title>Hi,

it looks like the &quot;attrisdn&quot; parameter in the Groups </title> 
   <description>Hi,

it looks like the &quot;attrisdn&quot; parameter in the Groups LDAP driver does not work as expected.
I do have a Novell edirectory and have set $conf[group][params][attrisdn]  but got the following error messages:

Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [kronolith] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [nag] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [nag] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [kronolith] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [mnemo] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [mnemo] Invalid DN syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]


Indeed a search over /var/www/html/horde and /usr/share/pear only finds references to attrisdn here:

[root@dmz-sv-webmail pear]# grep -Ri attrisdn /var/www/html/horde /usr/share/pear/
/var/www/html/horde/config/conf.xml:       &lt;configboolean name=&quot;attrisdn&quot; required=&quot;false&quot;
/var/www/html/horde/config/conf.bak.php:$conf[&#039;group&#039;][&#039;params&#039;][&#039;attrisdn&#039;] = true;
/var/www/html/horde/config/conf.php:$conf[&#039;group&#039;][&#039;params&#039;][&#039;attrisdn&#039;] = true;
/usr/share/pear/Horde/Group/Kolab.php:            &#039;attrisdn&#039; =&gt; true,
[root@dmz-sv-webmail pear]#

So this looks like its not referenced in the code?
</description> 
   <pubDate>Thu, 31 Mar 2011 15:16:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62900</link> 
  </item> 
   
  <item> 
   <title>This feature was completely broken in Horde 3, at least it c</title> 
   <description>This feature was completely broken in Horde 3, at least it created an invalid filter string at one point. That&#039;s why I dropped it during the refactoring, since obviously nobody used it. Seems like I was wrong.

Can you provide some LDIF examples of real-world groups that use full DNs for group members?</description> 
   <pubDate>Thu, 31 Mar 2011 15:35:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62905</link> 
  </item> 
   
  <item> 
   <title>&gt; This feature was completely broken in Horde 3, at least it</title> 
   <description>&gt; This feature was completely broken in Horde 3, at least it created an 
&gt; invalid filter string at one point. That&#039;s why I dropped it during 
&gt; the refactoring, since obviously nobody used it. Seems like I was 
&gt; wrong.
&gt;
&gt; Can you provide some LDIF examples of real-world groups that use full 
&gt; DNs for group members?

yes of course. I anonymized the example of course, and removed some atributes only relevant to Edirectory.

Please note, that both the people and the group container in our directory have a non-flat structure.

The structure here is:

ou=Campus,ou=Personen,o=physik   (most of the accounts coming from the university metadirectory)
ou=Local,ou=Personen,o=physik  (accounts local to our directory)
ou=Email-Only,o=physik (account with not unix attributes)

ou=Gruppen,o=physik  (groups with general relevance)
ou=somechair,ou=Gruppen,o=physik  (groups with relevance to one of our chairs)

</description> 
   <pubDate>Fri, 01 Apr 2011 07:00:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62946</link> 
  </item> 
   
  <item> 
   <title>Such a setup didn&#039;t work with Horde 3 either, unless I&#039;m mis</title> 
   <description>Such a setup didn&#039;t work with Horde 3 either, unless I&#039;m missing something. As far as I can see, Horde 3 only supported a single, fixed parent DN for expanding simple user names to full DNs in the LDAP group driver.
To support your setup, we need to do another DN lookup to find the user&#039;s DN.
Alternatively, you could of course full DNs as user names in Horde.</description> 
   <pubDate>Fri, 01 Apr 2011 09:15:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62949</link> 
  </item> 
   
  <item> 
   <title>&gt; Such a setup didn&#039;t work with Horde 3 either, unless I&#039;m m</title> 
   <description>&gt; Such a setup didn&#039;t work with Horde 3 either, unless I&#039;m missing 
&gt; something. As far as I can see, Horde 3 only supported a single, 
&gt; fixed parent DN for expanding simple user names to full DNs in the 
&gt; LDAP group driver.

Yes, but I wrote a patch for this and and a bug report against horde 3, but it is was probably not accepted.

&gt; To support your setup, we need to do another DN lookup to find the user&#039;s DN.
&gt; Alternatively, you could of course full DNs as user names in Horde.
Hmm, but this would have consequences, at least some complicated scripting to convert our existing production database.
</description> 
   <pubDate>Fri, 01 Apr 2011 09:24:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62950</link> 
  </item> 
   
  <item> 
   <title>I would have been helpful if you mentioned this.
See ticket</title> 
   <description>I would have been helpful if you mentioned this.
See ticket #8847.</description> 
   <pubDate>Fri, 01 Apr 2011 09:53:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t62954</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi,
&gt;
&gt; it looks like the &quot;attrisdn&quot; parameter in the Gr</title> 
   <description>&gt; Hi,
&gt;
&gt; it looks like the &quot;attrisdn&quot; parameter in the Groups LDAP driver does 
&gt; not work as expected.
&gt; I do have a Novell edirectory and have set 
&gt; $conf[group][params][attrisdn]  but got the following error messages:
&gt;
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [kronolith] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [nag] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [nag] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [kronolith] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [mnemo] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt; Mar 31 17:13:17 dmz-sv-webmail HORDE: HORDE [mnemo] Invalid DN 
&gt; syntax#012Parameters:#012Base: ou=Gruppen,o=physik#012Filter: 
&gt; (member=campus-admin)#012Scope: sub [pid 9313 on line 359 of 
&gt; &quot;/usr/share/pear/Horde/Group/Ldap.php&quot;]
&gt;
&gt;
&gt; Indeed a search over /var/www/html/horde and /usr/share/pear only 
&gt; finds references to attrisdn here:
&gt;
&gt; [root@dmz-sv-webmail pear]# grep -Ri attrisdn /var/www/html/horde 
&gt; /usr/share/pear/
&gt; /var/www/html/horde/config/conf.xml:       &lt;configboolean 
&gt; name=&quot;attrisdn&quot; required=&quot;false&quot;
&gt; /var/www/html/horde/config/conf.bak.php:$conf[&#039;group&#039;][&#039;params&#039;][&#039;attrisdn&#039;] 
&gt; = true;
&gt; /var/www/html/horde/config/conf.php:$conf[&#039;group&#039;][&#039;params&#039;][&#039;attrisdn&#039;] = 
&gt; true;
&gt; /usr/share/pear/Horde/Group/Kolab.php:            &#039;attrisdn&#039; =&gt; true,
&gt; [root@dmz-sv-webmail pear]#
&gt;
&gt; So this looks like its not referenced in the code?
&gt;
Hi,

it seems that I am also stopping at the same point when evaluating the new horde. I also expanded the code wihtin 3 to support LDAP group membership in Kronolith module and also have a &quot;non flat&quot; directory. Any news on this issue ?</description> 
   <pubDate>Thu, 19 May 2011 06:29:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t64838</link> 
  </item> 
   
  <item> 
   <title>Hi,

I have a patch for this problem, it seems to work ver</title> 
   <description>Hi,

I have a patch for this problem, it seems to work very well.

Apply the appended diff file to /usr/share/pear/Horde/Group/Ldap.php

Sincerly,
Klaus



</description> 
   <pubDate>Thu, 19 May 2011 07:18:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t64840</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

[jan] Add su</title> 
   <description>Changes have been made in Git for this ticket:

[jan] Add support for the attrisdn configuration setting (Bug #9762).

 2 files changed, 35 insertions(+), 7 deletions(-)
http://git.horde.org/horde-git/-/commit/053896a29a21e3ce9d63e198f25521b24fd9367a</description> 
   <pubDate>Thu, 30 Jun 2011 13:17:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t66033</link> 
  </item> 
   
  <item> 
   <title>Try this. I simplified your patch and added support for othe</title> 
   <description>Try this. I simplified your patch and added support for other methods than listGroups(). I cannot test locally though at the moment.</description> 
   <pubDate>Thu, 30 Jun 2011 13:18:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t66034</link> 
  </item> 
   
  <item> 
   <title>Let&#039;s use a single ticket to track this.</title> 
   <description>Let&#039;s use a single ticket to track this.</description> 
   <pubDate>Fri, 01 Jul 2011 10:09:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9762#t66051</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
