From f3f60e61d65e094020b31774f5b89b49c501c514 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 31 Dec 2007 03:24:38 +0000 Subject: * Return OU=Users which is built-in to active directory * Specify that LDAP is Active Directory compatible Work sponsored-by: Centipede Networks --- etc/inc/auth.inc | 2 ++ usr/local/www/system_usermanager_settings.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 45e0210..0af5ae6 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -687,6 +687,8 @@ function ldap_get_user_ous($show_complete_ou=false) { $ous[] = $ou; } + $ous[] = "OU=Users," . $ldapsearchbase; + return $ous; } diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php index a4f7a8e..8ebfad5 100755 --- a/usr/local/www/system_usermanager_settings.php +++ b/usr/local/www/system_usermanager_settings.php @@ -169,7 +169,7 @@ if(!$pconfig['backend'])
NOTE: login failures or server not available issues will fall back to pfSense internal users/group authentication. -- cgit v1.1