[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4853) A debug message is printed, from the released version



This is a cryptographically signed message in MIME format.

--------------ms010006030808080804010404
Content-Type: multipart/mixed;
 boundary="------------080104090705040602090506"

This is a multi-part message in MIME format.
--------------080104090705040602090506
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The patch applied in version 1.7.2.12 of refint.c is not complete.  It 
does remove the notice of refint_attribute values, but it leaves the 
refint_nothing and refint_base using LDAP_DEBUG_ANY instead of also 
limiting those prints to when LDAP_DEBUG_CONFIG is specified.

Attached is a patch deck to correct all three Debug() calls.

-- 
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
   "I am not young enough to know everything." - Oscar Wilde (1854-1900)

--------------080104090705040602090506
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="ITS4853_full.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ITS4853_full.patch"

--- refint.c.UVM_refint-head	2007-01-02 16:44:08.000000000 -0500
+++ refint.c	2007-03-20 09:43:17.000000000 -0400
@@ -144,14 +144,14 @@
 			ip->attr = ad;
 			ip->next = id->attrs;
 			id->attrs = ip;
-			Debug(LDAP_DEBUG_ANY, "%s: line %d: new attribute <%s>\n",
+			Debug(LDAP_DEBUG_CONFIG, "%s: line %d: new attribute <%s>\n",
 				fname, lineno, argv[i]);
 		}
 	} else if(!strcasecmp(*argv, "refint_base")) {
 		/* XXX only one basedn (yet) - need validate argument! */
 		if(id->dn.bv_val) ch_free(id->dn.bv_val);
 		ber_str2bv( argv[1], 0, 0, &dn );
-		Debug(LDAP_DEBUG_ANY, "%s: line %d: new baseDN <%s>\n",
+		Debug(LDAP_DEBUG_CONFIG, "%s: line %d: new baseDN <%s>\n",
 			fname, lineno, argv[1]);
 		if(dnNormalize(0, NULL, NULL, &dn, &id->dn, NULL)) {
 			Debug(LDAP_DEBUG_ANY, "%s: line %d: bad baseDN!\n", fname, lineno, 0);
@@ -165,7 +165,7 @@
 			Debug(LDAP_DEBUG_ANY, "%s: line %d: bad nothingDN!\n", fname, lineno, 0);
 			return(1);
 		}
-		Debug(LDAP_DEBUG_ANY, "%s: line %d: new nothingDN<%s>\n",
+		Debug(LDAP_DEBUG_CONFIG, "%s: line %d: new nothingDN<%s>\n",
 			fname, lineno, argv[1]);
 	} else {
 		return(SLAP_CONF_UNKNOWN);

--------------080104090705040602090506--

--------------ms010006030808080804010404
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJDzCC
AuIwggJLoAMCAQICEAq9rKiduK3HCbKzsBiBodUwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDcxNzE2NTcyNloX
DTA3MDcxNzE2NTcyNlowRjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEjMCEG
CSqGSIb3DQEJARYURnJhbmsuU3dhc2V5QHV2bS5lZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKAoIBAQCzhSmesaR8qf2y5cNt0qa27m42Kq3Bwubs28CzSxR1uRUaRZUfL/C2FEFV
kKSat6da5b19UEWxM1giaWvLeDtQE5Tok8GhN8LNgScTiSEM6gFWnL0o7A9W7oAj42dfFvBV
md7/u7nSJoAP3Wt9cU3TBJBh99U89EzIYLNik8iVhzbwfNmisxmuR5870AHURoR1sN/X4jWx
q5114Rv8r60+bVitlXL7P20Z2S9+va9+a7+C1P/yJLP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