From 1d80bb6b9321083fa79f4389b6e20d8053713d93 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 19 Dec 2009 13:17:49 +0100 Subject: honor recursive_groups setting in auth:ad FS#1825 Ignore-this: f3c965c87145c41e19f4bdf2b157efcc darcs-hash:20091219121749-7ad00-0b21fcd23a23b0b43dbd3ba9d170a7730b8c93d9.gz --- inc/auth/ad.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/auth') 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) { -- cgit v1.2.3