mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Improved logging
SVN revision: 2375
This commit is contained in:
parent
6bddcd97ba
commit
fad658457c
@ -58,8 +58,8 @@ int auth_verify_password_krb5(LOGBOOK *lbs, const char *user, const char *passwo
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_verbose())
|
sprintf(str, "Using %s as server principal for authentication", princ_name);
|
||||||
eprintf("Using %s as server principal for authentication\n", princ_name);
|
write_logfile(lbs, str);
|
||||||
|
|
||||||
memset(&options, 0, sizeof(options));
|
memset(&options, 0, sizeof(options));
|
||||||
krb5_get_init_creds_opt_init(&options);
|
krb5_get_init_creds_opt_init(&options);
|
||||||
@ -114,8 +114,8 @@ int auth_change_password_krb5(LOGBOOK *lbs, const char *user, const char *old_pw
|
|||||||
|
|
||||||
error = krb5_unparse_name(context, princ, &princ_name);
|
error = krb5_unparse_name(context, princ, &princ_name);
|
||||||
|
|
||||||
if (is_verbose())
|
sprintf(str, "Using %s as server principal for authentication", princ_name);
|
||||||
eprintf("Using %s as server principal for authentication\n", princ_name);
|
write_logfile(lbs, str);
|
||||||
|
|
||||||
memset(&options, 0, sizeof(options));
|
memset(&options, 0, sizeof(options));
|
||||||
krb5_get_init_creds_opt_init(&options);
|
krb5_get_init_creds_opt_init(&options);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user