From ff2cbb73a9c23e5f919a653d7e1fcf2ceada08fd Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Mon, 12 Dec 2005 04:58:11 +0000 Subject: [PATCH] Merged from MOODLE_15_STABLE - auth/ldap: Fix support for AD -- thanks to Inaki, in more than one sense ;-) --- auth/ldap/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/ldap/lib.php b/auth/ldap/lib.php index 670330d4792..f3b4b6a53db 100644 --- a/auth/ldap/lib.php +++ b/auth/ldap/lib.php @@ -1063,7 +1063,7 @@ function auth_ldap_getdefaults(){ 'rfc2307' => 'member', 'rfc2307bis' => 'member', 'samba' => 'member', - 'ad' => 'memberOf', + 'ad' => 'member', 'default' => 'member' ); $default['ldap_memberattribute_isdn'] = array( @@ -1071,7 +1071,7 @@ function auth_ldap_getdefaults(){ 'rfs2307' => '0', 'rfs2307bis' => '1', 'samba' => '0', //is this right? - 'ad' => '0', //is this right? + 'ad' => '1', 'default' => '0' ); $default['ldap_expireattr'] = array (