Univention Bugzilla – Attachment 6972 Details for
Bug 38736
Improve error reporting in s4-connector password.py / python-heimdal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
what_is_krb5_error_code.c
what_is_krb5_error_code.c (text/plain), 481 bytes, created by
Arvid Requate
on 2015-06-19 21:01:08 CEST
(
hide
)
Description:
what_is_krb5_error_code.c
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2015-06-19 21:01:08 CEST
Size:
481 bytes
patch
obsolete
>#include <krb5.h> >#include <stdio.h> >#include <stdlib.h> > >int main(int argc, char* argv[]) { > krb5_error_code ret; > krb5_context context; > krb5_error_code my_krb5_error_code; > const char *error_msg; > > if (argc != 2) { > printf("usage: %s <krb5_error_code>\n", argv[0]); > } > > my_krb5_error_code = strtoul(argv[1], 0, 10); > > ret = krb5_init_context(&context); > if (ret) { > exit(1); > } > > error_msg = krb5_get_error_message(context, my_krb5_error_code); > printf("%s\n", error_msg); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38736
:
6971
| 6972