2009-01-31 01:40:18 -05:00
|
|
|
#include <gssapi/gssapi.h>
|
|
|
|
#include <gssapi/gssapi_krb5.h>
|
|
|
|
|
|
|
|
void server_acquire_creds(const char *service);
|
|
|
|
void client_acquire_creds(const char *service, const char *hostname);
|
|
|
|
void gss_fatal(char *msg, OM_uint32 maj_stat, OM_uint32 min_stat);
|
|
|
|
int process_server_token(gss_buffer_t incoming_tok, gss_buffer_t outgoing_tok);
|
|
|
|
int process_client_token(gss_buffer_t incoming_tok, gss_buffer_t outgoing_tok);
|
|
|
|
int initial_client_token(gss_buffer_t outgoing_tok);
|
|
|
|
char *client_principal(void);
|
|
|
|
char *client_username(void);
|
2009-01-31 17:34:59 -05:00
|
|
|
void free_gss(void);
|
2009-10-24 12:24:27 -04:00
|
|
|
|
|
|
|
void gss_encipher(struct strbuf *plain, struct strbuf *cipher);
|
|
|
|
void gss_decipher(struct strbuf *cipher, struct strbuf *plain);
|