Skip to content

Commit

Permalink
[jan] Add configuration for searching user DNs in LDAP groups (Bug #1…
Browse files Browse the repository at this point in the history
…2128).

Conflicts:
	framework/Core/package.xml
	horde/docs/CHANGES
	horde/package.xml
  • Loading branch information
yunosh committed Jun 11, 2014
1 parent e8ceb1f commit 6c480d4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions framework/Core/lib/Horde/Config.php
Expand Up @@ -668,6 +668,10 @@ protected function _parseLevel(&$conf, $children, $ctx)
$conf[$node->getAttribute('switchname')] = $this->_configLDAP($ctx, $node);
break;

case 'configldapuser':
$conf = array_merge($conf, $this->_configLDAPUser($ctx, $node));
break;

case 'configphp':
$conf[$name] = array(
'_type' => 'php',
Expand Down
10 changes: 7 additions & 3 deletions horde/config/conf.xml
Expand Up @@ -930,9 +930,13 @@
<configstring name="gid" desc="The group search key">cn</configstring>
<configstring name="memberuid" desc="Group membership field">
memberUid</configstring>
<configboolean name="attrisdn" required="false"
desc="If checked, the user member attributes returned from LDAP are
expected to be fully qualified DNs"/>
<configswitch name="attrisdn" required="false" desc="Are the user member
attributes returned from LDAP expected to be fully qualified DNs?">false
<case name="false" desc="No"/>
<case name="true" desc="Yes">
<configldapuser/>
</case>
</configswitch>
<configlist name="newgroup_objectclass" desc="What objectclasses should
a new group be member of? These objectclasses should cover the mail and
gidnumber attributes as well as the group search key">
Expand Down
1 change: 1 addition & 0 deletions horde/docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v5.2.0-git
----------

[jan] Add configuration for searching user DNs in LDAP groups (Bug #12128).
[jan] Don't try to write to read-only group backends when removing user data
(skhorde@smail.inf.fh-bonn-rhein-sieg.de, Bug #13248).

Expand Down
4 changes: 3 additions & 1 deletion horde/package.xml
Expand Up @@ -39,6 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl">LGPL-2</license>
<notes>
* [jan] Add configuration for searching user DNs in LDAP groups (Bug #12128).
* [jan] Don&apos;t try to write to read-only group backends when removing user data (skhorde@smail.inf.fh-bonn-rhein-sieg.de, Bug #13248).
</notes>
<contents>
Expand Down Expand Up @@ -1645,7 +1646,7 @@
<package>
<name>Horde_Core</name>
<channel>pear.horde.org</channel>
<min>2.12.0alpha1</min>
<min>2.12.0beta4</min>
<max>3.0.0alpha1</max>
<exclude>3.0.0alpha1</exclude>
</package>
Expand Down Expand Up @@ -3905,6 +3906,7 @@
<date>2014-06-04</date>
<license uri="http://www.horde.org/licenses/lgpl">LGPL-2</license>
<notes>
* [jan] Add configuration for searching user DNs in LDAP groups (Bug #12128).
* [jan] Don&apos;t try to write to read-only group backends when removing user data (skhorde@smail.inf.fh-bonn-rhein-sieg.de, Bug #13248).
</notes>
</release>
Expand Down

0 comments on commit 6c480d4

Please sign in to comment.