summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-31 03:13:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-31 03:13:31 +0000
commit073115bc29529db2bb9b407f861861d3debe64a4 (patch)
tree2f77d7d4f64f2e78882e9f482df9a199bdffd551 /etc/inc/auth.inc
parentcc8b82d914d2ac5b5c95904d82e8b1121c3816c4 (diff)
downloadpfsense-073115bc29529db2bb9b407f861861d3debe64a4.zip
pfsense-073115bc29529db2bb9b407f861861d3debe64a4.tar.gz
Adding LDAP Authentication container picker.
Work sponsored-by: Centipede Networks
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index bf27859..55759e8 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -743,6 +743,8 @@ function ldap_get_groups($username) {
$info = ldap_get_entries($ldap, $search);
+ $memberof = array();
+
if(is_array($info[0]['memberof'])) {
foreach($info[0]['memberof'] as $member) {
if(strstr($member, "CN=") !== false) {
OpenPOWER on IntegriCloud