1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/auth/ntlm
Stefan Metzmacher fd7c918256 s4:auth_winbind: only call authsam_logon_success_accounting() for local users
There's no need to do a crack_name_to_nt4_name(), as the authentication
already provides the nt4 domain and account names.

This should only happen on an RODC, that we use the winbind auth module
for local users. So we should make sure we only try to reset
the badPwdCount for users of our own domain.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13300

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2018-03-19 20:30:51 +01:00
..
auth_anonymous.c auth4: Add authoritative flag to check_password 2017-05-30 08:06:06 +02:00
auth_developer.c auth4: Add authoritative flag to check_password 2017-05-30 08:06:06 +02:00
auth_sam.c s4:auth: Add FALL_THROUGH statements in auth_sam.c 2018-03-01 04:37:43 +01:00
auth_server_service.c lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
auth_simple.c s4:dsdb/samdb: pass an existing 'struct ldb_context' to crack_auto_name_to_nt4_name() 2017-06-26 08:47:15 +02:00
auth_unix.c auth4: Add authoritative flag to check_password 2017-05-30 08:06:06 +02:00
auth_util.c s4:auth: Add FALL_THROUGH statements in auth_util.c 2018-03-01 04:37:43 +01:00
auth_winbind.c s4:auth_winbind: only call authsam_logon_success_accounting() for local users 2018-03-19 20:30:51 +01:00
auth.c s4:auth/ntlm: remove lpcfg_auth_methods() handling 2017-12-13 20:34:24 +01:00
wscript_build build: rename security → samba-security 2012-08-10 14:22:20 +02:00