Displaying 3 results from an estimated 3 matches for "mech_generic_auth_initial".
2011 Jan 12
1
[PATCH] auth: Fixed mech_winbind_ntlm by using mech_winbind_auth_initial()
...e mech_winbind_spnego module part was changed to
finally
use this function.
The mech_winbind_ntlm module part was not properly adapted which leads to
a non
functioning NTLM authentication mechanism while using winbind, because it
will
never call the `ntlm_auth` helper.
The simple fix is to replace mech_generic_auth_initial() with
mech_winbind_auth_initial() as auth_initial "hook" when setting up the
mech_winbind_ntlm module, like it is done in the mech_winbind_spnego
module.
References:
- Changeset 9002:
http://hg.dovecot.org/dovecot-2.0/diff/9d0037a997f4/src/auth/mech-winbind.c
-------------- next part -...
2007 May 22
1
[PATCH] add some const's
...mech_register_module(struct mech_module *module);
-void mech_unregister_module(struct mech_module *module);
+void mech_register_module(const struct mech_module *module);
+void mech_unregister_module(const struct mech_module *module);
struct mech_module *mech_module_find(const char *name);
void mech_generic_auth_initial(struct auth_request *request,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20070522/5eca9309/attachment-0002.bin>
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...r *data, size_t data_size)
+{
+ mech_plain_auth_continue_submit(request, data, data_size, TRUE);
+}
+
+const struct mech_module mech_x_plain_submit = {
+ "X-PLAIN-SUBMIT",
+
+ MEMBER(flags) MECH_SEC_PLAINTEXT,
+ MEMBER(passdb_need) MECH_PASSDB_NEED_VERIFY_PLAIN,
+
+ mech_plain_auth_new,
+ mech_generic_auth_initial,
+ mech_submit_auth_continue,
+ mech_generic_auth_free
+};
diff -Nur dovecot-1.2.11/src/auth/mech.c dovecot-1.2.11+lemonade/src/auth/mech.c
--- dovecot-1.2.11/src/auth/mech.c 2010-01-24 17:14:17.000000000 -0600
+++ dovecot-1.2.11+lemonade/src/auth/mech.c 2010-04-08 09:59:12.000000000 -0500
@@ -64,6...