[krbdev.mit.edu #6288] Running kinit without any arguments is a bummer
Zhanna Tsitkova via RT
rt-comment at krbdev.mit.edu
Thu Dec 4 13:54:14 EST 2008
diff -Nur -x '*~' -x '*.orig' -x '*.rej' -x '*.pbxbtree' -x '*.pbxindex' -x lha.mode1v3 -x lha.mode2v3 -x lha.pbxuser -x windows -x .DS_Store Kerberos.AEP-6.5fc1.orig/KerberosClients/kinit/Sources/kinit.c Kerberos.AEP-6.5fc1/KerberosClients/kinit/Sources/kinit.c
--- Kerberos.AEP-6.5fc1.orig/KerberosClients/kinit/Sources/kinit.c 2008-11-17 16:36:25.000000000 -0800
+++ Kerberos.AEP-6.5fc1/KerberosClients/kinit/Sources/kinit.c 2008-11-17 16:51:27.000000000 -0800
@@ -567,6 +567,16 @@
}
}
+ if (err) {
+ kim_string error = NULL;
+ kim_error err2;
+
+ err2 = kim_string_create_for_last_error(&error, err);
+ printf("kinit: %s\n", error ? error : "unknown");
+ kim_string_free (&error);
+ }
+
+
if (!err) {
kim_credential_state state;
More information about the krb5-bugs
mailing list