summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-03 00:41:55 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-03 00:41:55 +0000
commit7c52ac0572bceaf6893a9883a2f68d7af80db951 (patch)
treeefeba1a24f52ba3f2388b871f8c13a723c0781c6 /etc
parentf9ac378473ffc6adbab054640c93c08948a09516 (diff)
downloadpfsense-7c52ac0572bceaf6893a9883a2f68d7af80db951.zip
pfsense-7c52ac0572bceaf6893a9883a2f68d7af80db951.tar.gz
Remove unused var and stale comment.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 6dd1c5c..49c889b 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -796,8 +796,6 @@ function ldap_backed($username, $passwd, $authcfg = NULL) {
if(!function_exists("ldap_connect"))
return;
- $adbindas = $username;
-
if(stristr($username, "@")) {
$username_split=split("\@", $username);
$username = $username_split[0];
@@ -906,16 +904,6 @@ function ldap_backed($username, $passwd, $authcfg = NULL) {
/* setup the usercount so we think we havn't found anyone yet */
$usercount = 0;
- /******************************/
- /* Currently LDAP Types are */
- /* LDAP = Active Directory */
- /* LDAPOTHER = eDir/Openldap */
- /******************************/
-
- /*****************************************************************/
- /* Now Active Directory We keep this seperate for future addons. */
- /*****************************************************************/
- /* Now LDAP other. eDirectory or Netscape or Sunone or OpenLDAP */
/*****************************************************************/
/* We First find the user based on username and filter */
/* Then, once we find the first occurance of that person */
OpenPOWER on IntegriCloud