Description of problem: Some of the debugging statements in src/minikafs.c are wrapped inside conditionals like this: if (options->debug > 1) { debug(.... } The only problem is that options->debug can only equal 0 or 1 when pam_krb5 parses its options. There is no way to get all the debugging output when you specify 'debug' in the PAM configuration files. Version-Release number of selected component (if applicable): Tested on pam_krb5-2.1.2-1 from RHEL4 How reproducible: Always Steps to Reproduce: 1. Add 'debug' to the command line options for pam_krb5, e.g. in /etc/pam.d/system-auth Actual results: Not all the debugging statments from src/minikafs.c generate output in the syslog. Expected results: Some of the missing debugging output would have been useful, such as "got error determining file server for cell", etc. Additional info: A patch to fix this problem is at: http://www-personal.engin.umich.edu/~wingc/patches/pam_krb5/pam_krb5-2.1.2-moredebug.patch
Created attachment 114101 [details] make sure that all debug() statements are called when debugging is enabled
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.