Fixing a typo in the debug log of saslauthd
Roberto C. Sánchez <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
The attached patch fixes a typo in the saslauthd debug log where the realm and service are transposed. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
0044_debug_log_typo_fix.patch
(text/x-diff, 1.1 KB)
Author: Roberto C. Sanchez <[email protected]> Description: Fix transposition of realm and service in debug log (Closes: #732373) --- cyrus-sasl2.git.orig/saslauthd/cache.c +++ cyrus-sasl2.git/saslauthd/cache.c @@ -264,7 +264,7 @@ if (memcmp(pwd_digest, read_bucket->pwd_digest, 16) == 0) { if (flags & VERBOSE) - logger(L_DEBUG, L_FUNC, debug, user, realm, service, "found with valid passwd"); + logger(L_DEBUG, L_FUNC, debug, user, service, realm, "found with valid passwd"); cache_un_lock(hash_offset); table_stats->hits++; @@ -272,14 +272,14 @@ } if (flags & VERBOSE) - logger(L_DEBUG, L_FUNC, debug, user, realm, service, "found with invalid passwd, update pending"); + logger(L_DEBUG, L_FUNC, debug, user, service, realm, "found with invalid passwd, update pending"); result->status = CACHE_FLUSH; } else { if (flags & VERBOSE) - logger(L_DEBUG, L_FUNC, debug, user, realm, service, "not found, update pending"); + logger(L_DEBUG, L_FUNC, debug, user, service, realm, "not found, update pending"); result->status = CACHE_FLUSH_WITH_RESCAN; }
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJS9uYCAAoJECzXeF7dp7IPyewQAK8pxQmI3TuOHn/y/+yI9kpK EE0FjbsOVhSFZHxMojQ5sCmaZfEmKSjBZu9vq4wHD2jhly4e/Z4JUW2rkjG8bCKl BMN16GHFVNFmZ3cWydxjz3MXV2vXI2cXXErSeq/0/sk2ytzbWAObjZzgc74Ta7kq NWVPTrwzMNQ0S1EVK9dwY8aYZUVNBepYjp+2lD3757GHMkZhs/Tb8XNhhwoO+S1x qH/xFKaosMY5AUWXFzurhwPrGNghOmi371Tc4hBbZZ3gkXacIchoekd610pwHQ2o tomauebn4kp4yTNdFFCG1SaF390VcYiK07yyEQgI0/Muew3Mfij/4S01ajd/6vb0 d83zLoVfzb/ByYav2cfult5drgkz2+ADPzuV3JVxJqEcQq8Z2Ak+HlzkM8YcejMb Mbi73DW4ooDxWc/0h+MGdOspVfSj/AimP6hMXtj8RutzfAM0mAntRy+pC6uOe4lx ZnBfshSDxJK30yq0MLWuuO5xrfK/s/GVADw/TAr/Q5Dmjpxrjxd8v+cTPqvLx3I2 /zaLFngVz2tUwt8E8Dn+X4mqkjRGYXzka47dv7Qod7QBxVgAjXdiw80HVGm0bFnp QZ39nw1ljWPs040bQOBbC0rfkxa5gUd1X7irhU1k5/p59MN+X0BP3IhqWqgUZLYn QPLOYu+QXL39nMS+1VLP =wlTL -----END PGP SIGNATURE-----