Displaying 1 result from an estimated 1 matches for "conn_context".
2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...elper somehow...\n");
+ return SASL_FAIL;
+ }
+ return SASL_OK;
}
static int ntlm_server_mech_new(void *glob_context __attribute__((unused)),
- sasl_server_params_t *sparams,
- const char *challenge __attribute__((unused)),
- unsigned challen __attribute__((unused)),
- void **conn_context)
-{
- server_context_t *text;
-
- /* holds state are in */
- text = sparams->utils->malloc(sizeof(server_context_t));
- if (text == NULL) {
- MEMERROR( sparams->utils );
- return SASL_NOMEM;
- }
-
- memset(text, 0, sizeof(server_context_t));
-
- text->st...