diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-12-19 13:17:49 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-12-19 13:17:49 +0100 |
commit | 1d80bb6b9321083fa79f4389b6e20d8053713d93 (patch) | |
tree | c32d888ac57fa2844b96abb8f79c7e6b1311da77 | |
parent | 207ec45e2a788106f2f4a8b25e367e0f91efa747 (diff) | |
download | rpg-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
-rw-r--r-- | inc/auth/ad.class.php | 2 |
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) { |