Lines Matching defs:debug_printf
104 static void debug_printf(const char *fmt, ...)
172 debug_printf("auth_pam_init: dlopen %s failed\n", PAM_LIB_NAME);
184 debug_printf("auth_pam_init: dlsym %s failed\n", iter->pszName);
236 debug_printf ("Using PAM service: %s\n", service);
257 debug_printf("conv: ctx is NULL\n");
261 debug_printf("conv: num %d u[%s] p[%d]\n", num_msg, ctx->szUser, ctx->szPassword? strlen (ctx->szPassword): 0);
277 debug_printf("conv: %d returning password [%d]\n", i, r[i].resp? strlen (r[i].resp): 0);
282 debug_printf("conv: %d returning name [%s]\n", i, r[i].resp);
286 debug_printf("conv: %d style %d: [%s]\n", i, msg[i]->msg_style, msg[i]->msg? msg[i]->msg: "(null)");
337 debug_printf("u[%s], d[%s], p[%d]\n", szUser, szDomain, szPassword? strlen (szPassword): 0);
349 debug_printf("init ok\n");
355 debug_printf("start ok\n");
361 debug_printf("auth ok\n");
368 debug_printf("PAM_AUTHINFO_UNAVAIL\n");
374 debug_printf("access granted\n");
380 debug_printf("pam_acct_mgmt failed %d. %s\n", rc, fn_pam_strerror (pam_handle, rc));
385 debug_printf("pam_authenticate failed %d. %s\n", rc, fn_pam_strerror (pam_handle, rc));
392 debug_printf("pam_start failed %d\n", rc);
397 debug_printf("auth_pam_close completed\n");
401 debug_printf("auth_pam_init failed %d\n", rc);