Hello, today I had to configure a host with pam_pkcs11. Doing that, I was forced to edit the files in /etc/pam.d/ to get the debug messages of pam_pkcs11. The corresponding option in the configuration file doesn't have any effects. The attached patch fixes this unexpected behaviour.
Regards Andre
Index: src/pam_pkcs11/pam_config.c =================================================================== --- src/pam_pkcs11/pam_config.c (revision 447) +++ src/pam_pkcs11/pam_config.c (working copy) @@ -125,8 +125,8 @@ set_debug_level(-2); configuration.debug = scconf_get_bool(root,"debug",configuration.debug); - /*if (configuration.debug) set_debug_level(1); - else set_debug_level(0); */ + if (configuration.debug) + set_debug_level(1); configuration.use_first_pass = scconf_get_bool(root,"use_first_pass",configuration.use_first_pass); configuration.try_first_pass =
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel