summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_usermanager_settings.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-02 00:27:19 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-02 00:27:19 +0000
commitd91f8b8c76fbf66cc52b5a0a9f702d7f125a4ef6 (patch)
tree24c64759171c1ee2bea2da780266fb635bf3d958 /usr/local/www/system_usermanager_settings.php
parentc345f265173d28e1405931f7cdde0914764d39dd (diff)
downloadpfsense-d91f8b8c76fbf66cc52b5a0a9f702d7f125a4ef6.zip
pfsense-d91f8b8c76fbf66cc52b5a0a9f702d7f125a4ef6.tar.gz
User _ instead of </> so browser does not interpret it as html.
Diffstat (limited to 'usr/local/www/system_usermanager_settings.php')
-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 0d8573c..3956830 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=<username>)";
+ 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=<username>)";
+ 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