1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/*
* myproxy_sasl_server.h
*
* Internal MyProxy SASL server interface.
*
*/
#ifndef __MYPROXY_SASL_SERVER_H
#define __MYPROXY_SASL_SERVER_H
#if defined(HAVE_LIBSASL2)
int
auth_sasl_negotiate_server(myproxy_socket_attrs_t *attrs,
myproxy_request_t *client_request);
extern int myproxy_sasl_authenticated; /* set to 1 after success */
extern char *myproxy_sasl_mech; /* force a SASL mechanism */
/* for sasl_server_new(3) */
extern char *myproxy_sasl_serverFQDN;
extern char *myproxy_sasl_user_realm;
#endif
#endif
|