Summary | attrisdn in the Groups LDAP Setup does not work? |
Queue | Horde Base |
Queue Version | Git master |
Type | Bug |
State | Duplicate |
Priority | 2. Medium |
Owners | |
Requester | Klaus.Steinberger (at) physik (dot) uni-muenchen (dot) de |
Created | 03/31/2011 (5265 days ago) |
Due | |
Updated | 07/01/2011 (5173 days ago) |
Assigned | 06/30/2011 (5174 days ago) |
Resolved | 07/01/2011 (5173 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 4.1 |
Patch | No |
Taken from Jan Schneider
State ⇒ Duplicate
State ⇒ Feedback
Version ⇒ Git master
than listGroups(). I cannot test locally though at the moment.
[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
New Attachment: Ldap.php.diff
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
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 "non flat" directory.
Any news on this issue ?
State ⇒ Duplicate
See
ticket #8847.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.
3, but it is was probably not accepted.
Alternatively, you could of course full DNs as user names in Horde.
scripting to convert our existing production database.
State ⇒ Assigned
Assigned to Jan Schneider
Milestone ⇒ 4.1
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's DN.
Alternatively, you could of course full DNs as user names in Horde.
New Attachment: group.ldif
an invalid filter string at one point. That'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?
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)
State ⇒ Feedback
invalid filter string at one point. That'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?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ attrisdn in the Groups LDAP Setup does not work?
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
it looks like the "attrisdn" 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
"/usr/share/pear/Horde/Group/Ldap.php"]
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
"/usr/share/pear/Horde/Group/Ldap.php"]
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
"/usr/share/pear/Horde/Group/Ldap.php"]
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
"/usr/share/pear/Horde/Group/Ldap.php"]
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
"/usr/share/pear/Horde/Group/Ldap.php"]
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
"/usr/share/pear/Horde/Group/Ldap.php"]
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: <configboolean
name="attrisdn" required="false"
/var/www/html/horde/config/conf.bak.php:$conf['group']['params']['attrisdn'] =
true;
/var/www/html/horde/config/conf.php:$conf['group']['params']['attrisdn'] =
true;
/usr/share/pear/Horde/Group/Kolab.php: 'attrisdn' => true,
[root@dmz-sv-webmail pear]#
So this looks like its not referenced in the code?