summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-12-19 13:17:49 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-12-19 13:17:49 +0100
commit1d80bb6b9321083fa79f4389b6e20d8053713d93 (patch)
treec32d888ac57fa2844b96abb8f79c7e6b1311da77 /inc/auth
parent207ec45e2a788106f2f4a8b25e367e0f91efa747 (diff)
downloadrpg-1d80bb6b9321083fa79f4389b6e20d8053713d93.tar.gz
rpg-1d80bb6b9321083fa79f4389b6e20d8053713d93.tar.bz2
honor recursive_groups setting in auth:ad FS#1825
Ignore-this: f3c965c87145c41e19f4bdf2b157efcc darcs-hash:20091219121749-7ad00-0b21fcd23a23b0b43dbd3ba9d170a7730b8c93d9.gz
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/ad.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/ad.class.php b/inc/auth/ad.class.php
index aac17f33c..9915b9f11 100644
--- a/inc/auth/ad.class.php
+++ b/inc/auth/ad.class.php
@@ -140,7 +140,7 @@ class auth_ad extends auth_basic {
$info['dn'] = $result[0]['dn'];
// handle ActiveDirectory memberOf
- $info['grps'] = $this->adldap->user_groups($user);
+ $info['grps'] = $this->adldap->user_groups($user,(bool) $this->opts['recursive_groups']);
if (is_array($info['grps'])) {
foreach ($info['grps'] as $ndx => $group) {