search for: krb5_init_ets

Displaying 2 results from an estimated 2 matches for "krb5_init_ets".

2003 Jan 06
0
OpenSSH-3.5p1 with Kerberos on Mac OS X.2
I've advanced three patches: Simon Wilkinson's patch, Steven Michaud's patch, Alexandra Ellwood's fix for the krb5_init_ets linker error from OpenSSH-3.4p1 to OpenSSH-3.5p1 as a single patch, available at http://home.fnal.gov/~pdbarnes/openSSH.html Enjoy, Peter
2003 Aug 10
9
updated gssapi diff
...brary, for the stuff that GSSAPI won't do */ + +static int +ssh_gssapi_krb5_init() +{ + krb5_error_code problem; + + if (krb_context != NULL) + return 1; + + problem = krb5_init_context(&krb_context); + if (problem) { + logit("Cannot initialize krb5 context"); + return 0; + } + krb5_init_ets(krb_context); + + return 1; +} + +/* Check if this user is OK to login. This only works with krb5 - other + * GSSAPI mechanisms will need their own. + * Returns true if the user is OK to log in, otherwise returns 0 + */ + +static int +ssh_gssapi_krb5_userok(ssh_gssapi_client *client, char *name) +{...