Share

pam-mysql

Tracker: Bugs

5 don't log "SELECT returned no result." if verbose=0 - ID: 2843557
Last Update: Attachment added ( nobody )

pam_mysql always sends "pam_mysql - SELECT returned no result." to syslog,
even if verbose=0.
I don't think there's a reason for keeping this line in the logs once the
configuration debugging is done, as it is a normal situation when the user
is provided by an other PAM module.
The provided patch simply adds a test before each call to the syslog()
function that prints "SELECT returned no result." It was made against
pam_mysql.c of pam_mysql 0.7-RC1.


Nobody/Anonymous ( nobody ) - 2009-08-24 13:52

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
pam_mysql.diff patch for 0.70-RC1 to avoid logging ''SELECT returned no result." Download

Change ( 1 )

Field Old Value Date By
File Added 340346: pam_mysql.diff 2009-08-24 13:52 nobody