summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/auth.inc2
-rwxr-xr-xusr/local/www/system_usermanager_settings.php2
2 files changed, 3 insertions, 1 deletions
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'])
<td width="78%" class="vtable">
<select name='backend'>
<option value="pfsense"<?php if ($pconfig['backend'] == "pfsense") echo " SELECTED";?>>pfSense</option>
- <option value="ldap"<?php if ($pconfig['backend'] == "ldap") echo " SELECTED";?>>LDAP</option>
+ <option value="ldap"<?php if ($pconfig['backend'] == "ldap") echo " SELECTED";?>>LDAP (Active Directory)</option>
</select>
<br/>NOTE: login failures or server not available issues will fall back to pfSense internal users/group authentication.
</td>
OpenPOWER on IntegriCloud