.passdb_need = MECH_PASSDB_NEED_NOTHING,
.auth_new = mech_dovecot_token_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_dovecot_token_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_NOTHING,
.auth_new = mech_anonymous_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_anonymous_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_VERIFY_PLAIN,
.auth_new = mech_external_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_external_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = 0,
.auth_new = mech_oauth2_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_oauthbearer_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = 0,
.auth_new = mech_oauth2_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_xoauth2_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_SET_CREDENTIALS,
.auth_new = mech_otp_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_otp_auth_continue,
.auth_free = mech_otp_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_VERIFY_PLAIN,
.auth_new = mech_plain_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_plain_auth_continue,
.auth_free = sasl_server_mech_generic_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_LOOKUP_CREDENTIALS,
.auth_new = mech_scram_sha1_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_scram_auth_continue,
.auth_free = mech_scram_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_LOOKUP_CREDENTIALS,
.auth_new = mech_scram_sha1_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_scram_auth_continue,
.auth_free = mech_scram_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_LOOKUP_CREDENTIALS,
.auth_new = mech_scram_sha256_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_scram_auth_continue,
.auth_free = mech_scram_auth_free,
};
.passdb_need = MECH_PASSDB_NEED_LOOKUP_CREDENTIALS,
.auth_new = mech_scram_sha256_auth_new,
- .auth_initial = mech_generic_auth_initial,
+ .auth_initial = sasl_server_mech_generic_auth_initial,
.auth_continue = mech_scram_auth_continue,
.auth_free = mech_scram_auth_free,
};
winbind_helper_connect(auth_request->set, request->winbind,
auth_request->event);
- mech_generic_auth_initial(auth_request, data, data_size);
+ sasl_server_mech_generic_auth_initial(auth_request, data, data_size);
}
static void
#include "sasl-server-private.h"
-void mech_generic_auth_initial(struct auth_request *request,
- const unsigned char *data, size_t data_size)
+void sasl_server_mech_generic_auth_initial(struct auth_request *request,
+ const unsigned char *data,
+ size_t data_size)
{
if (data == NULL) {
auth_request_handler_reply_continue(request, uchar_empty_ptr, 0);
void mech_unregister_module(const struct mech_module *module);
const struct mech_module *mech_module_find(const char *name);
-void mech_generic_auth_initial(struct auth_request *request,
- const unsigned char *data, size_t data_size);
+void sasl_server_mech_generic_auth_initial(struct auth_request *request,
+ const unsigned char *data,
+ size_t data_size);
void sasl_server_mech_generic_auth_free(struct auth_request *request);
struct mechanisms_register *