In changeset 9002 a new function named mech_winbind_auth_initial() was
introduced, but only the 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
---
src/auth/mech-winbind.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
.passdb_need = MECH_PASSDB_NEED_NOTHING,
mech_winbind_ntlm_auth_new,
- mech_generic_auth_initial,
+ mech_winbind_auth_initial,
mech_winbind_auth_continue,
mech_generic_auth_free
};