1@subheading gsasl_server_callback_gssapi_set
2@anchor{gsasl_server_callback_gssapi_set}
3@deftypefun {void} {gsasl_server_callback_gssapi_set} (Gsasl * @var{ctx}, Gsasl_server_callback_gssapi @var{cb})
4@var{ctx}: libgsasl handle.
5
6@var{cb}: callback function
7
8Specify the callback function to use in the server for checking if
9a GSSAPI user is authorized for username (by, e.g., calling
10krb5_kuserok).  The function should return GSASL_OK if the user
11should be permitted access, or an error code such as
12GSASL_AUTHENTICATION_ERROR on failure.  The function can be later
13retrieved using @code{gsasl_server_callback_gssapi_get()} .
14
15@strong{Deprecated:} This function is part of the old callback interface.
16The new interface uses @code{gsasl_callback_set()}  to set the application
17callback, and uses @code{gsasl_callback()}  or @code{gsasl_property_get()}  to
18invoke the callback for certain properties.
19@end deftypefun
20
21