diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-31 03:18:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-31 03:18:17 +0000 |
commit | 8e85eff777b2f3690ab7181ac1263db3ecd8b732 (patch) | |
tree | 8a570bb69bc82b7c71ff6e86a19397186a105984 /etc/inc/auth.inc | |
parent | ac67e392e6a8a43cb898c4ce4349ee7e1370d7e9 (diff) | |
download | pfsense-8e85eff777b2f3690ab7181ac1263db3ecd8b732.zip pfsense-8e85eff777b2f3690ab7181ac1263db3ecd8b732.tar.gz |
Correct variable check.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 55759e8..45e0210 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -680,7 +680,7 @@ function ldap_get_user_ous($show_complete_ou=false) { $ou = $inf_split[0]; $ou = str_replace("OU=","", $ou); } else { - if($inf) + if($inf['dn']) $ou = $inf['dn']; } if($ou) |