diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-31 03:13:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-31 03:13:31 +0000 |
commit | 073115bc29529db2bb9b407f861861d3debe64a4 (patch) | |
tree | 2f77d7d4f64f2e78882e9f482df9a199bdffd551 /etc | |
parent | cc8b82d914d2ac5b5c95904d82e8b1121c3816c4 (diff) | |
download | pfsense-073115bc29529db2bb9b407f861861d3debe64a4.zip pfsense-073115bc29529db2bb9b407f861861d3debe64a4.tar.gz |
Adding LDAP Authentication container picker.
Work sponsored-by: Centipede Networks
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
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) { |