packages: ldap-account-manager/ldap-account-manager-noanon.patch - don't sh...
baggins
baggins at pld-linux.org
Mon Feb 15 16:54:57 CET 2010
Author: baggins Date: Mon Feb 15 15:54:57 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- don't show password
- (un)hide new fields depending on login type
---- Files affected:
packages/ldap-account-manager:
ldap-account-manager-noanon.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/ldap-account-manager/ldap-account-manager-noanon.patch
diff -u packages/ldap-account-manager/ldap-account-manager-noanon.patch:1.3 packages/ldap-account-manager/ldap-account-manager-noanon.patch:1.4
--- packages/ldap-account-manager/ldap-account-manager-noanon.patch:1.3 Mon Feb 15 15:29:26 2010
+++ packages/ldap-account-manager/ldap-account-manager-noanon.patch Mon Feb 15 16:54:52 2010
@@ -105,7 +105,7 @@
+echo "<tr id=\"trLoginSearchDNPassword\"><td align=\"right\">\n";
+echo "<b>".
+ _("Password of DN for LDAP searches") . ": </b></td>".
-+ "<td><input type=\"text\" tabindex=\"$tabindex\" name=\"loginSearchDNPassword\" value=\"" . $conf->getLoginSearchDNPassword() . "\" size=50></td>\n";
++ "<td><input type=\"password\" tabindex=\"$tabindex\" name=\"loginSearchDNPassword\" value=\"" . $conf->getLoginSearchDNPassword() . "\" size=50></td>\n";
+echo "<td>";
+printHelpLink(getHelp('', '223'), '223');
+echo "</td></tr>\n";
@@ -134,3 +134,20 @@
if (! ($searchLDAPResult == 0)) {
$searchSuccess = false;
$searchError = _('Cannot connect to specified LDAP server. Please try again.') . ' ' . @ldap_error($searchLDAP->server());
+--- ldap-account-manager-2.9.0-noanon/templates/config/config.js~ 2009-10-27 19:46:33.000000000 +0100
++++ ldap-account-manager-2.9.0-noanon/templates/config/config.js 2010-02-15 16:53:50.544684173 +0100
+@@ -34,10 +34,14 @@
+ document.getElementById('trAdminList').style.display = '';
+ document.getElementById('trLoginSearchSuffix').style.display = 'none';
+ document.getElementById('trLoginSearchFilter').style.display = 'none';
++ document.getElementById('trLoginSearchDN').style.display = 'none';
++ document.getElementById('trLoginSearchDNPassword').style.display = 'none';
+ }
+ else {
+ document.getElementById('trAdminList').style.display = 'none';
+ document.getElementById('trLoginSearchSuffix').style.display = '';
+ document.getElementById('trLoginSearchFilter').style.display = '';
++ document.getElementById('trLoginSearchDN').style.display = '';
++ document.getElementById('trLoginSearchDNPassword').style.display = '';
+ }
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ldap-account-manager/ldap-account-manager-noanon.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list