summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-02 00:21:39 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-02 00:21:39 +0000
commitc345f265173d28e1405931f7cdde0914764d39dd (patch)
treeef1636457b46e0cb52d4c1f225270c1cbfff1c69 /usr
parent366d0323a932d58db0dda927544dc675d77927eb (diff)
downloadpfsense-c345f265173d28e1405931f7cdde0914764d39dd.zip
pfsense-c345f265173d28e1405931f7cdde0914764d39dd.tar.gz
Do not show the passwd used to logon on logs. Also change the replace from $username to <username> so php does not try to do clever stuff.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_usermanager_settings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php
index 4ef01f5..0d8573c 100755
--- a/usr/local/www/system_usermanager_settings.php
+++ b/usr/local/www/system_usermanager_settings.php
@@ -194,7 +194,7 @@ include("head.inc");
document.iform.ldapserver.disabled = 0;
document.iform.ldapbindun.disabled = 0;
document.iform.ldapbindpw.disabled = 0;
- document.iform.ldapfilter.value = "(samaccountname=*)";
+ document.iform.ldapfilter.value = "(samaccountname=<username>)";
document.iform.ldapnameattribute.value = "samaccountname";
document.iform.ldapgroupattribute.value = "memberOf";
break;
@@ -208,7 +208,7 @@ include("head.inc");
document.iform.ldapserver.disabled = 0;
document.iform.ldapbindun.disabled = 0;
document.iform.ldapbindpw.disabled = 0;
- document.iform.ldapfilter.value = "(cn=*)";
+ document.iform.ldapfilter.value = "(cn=<username>)";
document.iform.ldapnameattribute.value = "CN";
document.iform.ldapgroupattribute.value = "groupMembership";
break;
@@ -287,8 +287,8 @@ if(!$pconfig['backend'])
</div>
<div id="filteradvdiv" name="filteradvdiv" style="display:none">
<input name="ldapfilter" id="ldapfilter" size="65" value="<?=htmlspecialchars($pconfig['ldapfilter']);?>">
- <br/>Example: For Active Directory you would want to use (samaccountname=$username)
- <br/>Example: For eDirectory you would want to use (cn=$username)
+ <br/>Example: For Active Directory you would want to use (samaccountname=<username>)
+ <br/>Example: For eDirectory you would want to use (cn=<username>)
</div>
</td>
</tr>
OpenPOWER on IntegriCloud