You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code lacks of proper human readable error printing but passes valgrind without memleak. (actually its ok to memleak in this kinda snippets as they are one-shot, not deamonized)
feel free to try it by compiling with gcc $(pkg-config --cflags --libs krb5-gssapi) gss_localname.c -o ./gss_localname
it handles krb5.conf with auth_to_local which is my use case
Activity
Add gss_localname and friends
leo9800 commentedon Sep 1, 2026
i created a dodgy c snippet converting principal names to local username for those who need
gss_localname()in python projects before the PR is mergedthe code lacks of proper human readable error printing but passes valgrind without memleak. (actually its ok to memleak in this kinda snippets as they are one-shot, not deamonized)
feel free to try it by compiling with
gcc $(pkg-config --cflags --libs krb5-gssapi) gss_localname.c -o ./gss_localnameit handles
krb5.confwithauth_to_localwhich is my use case