mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
6029e2250c
Since we don't store a salt per-key, but only a single salt, when we do not have the NT hash in the unicodePwd (eg ntlm auth = disabled), the check will fail for a previous password if the account was renamed prior to a newer password being set. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
52 lines
1.2 KiB
Python
52 lines
1.2 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_MODULE('auth4_sam_module',
|
|
source='auth_sam.c',
|
|
subsystem='auth4',
|
|
init_function='auth4_sam_init',
|
|
deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig RPC_NDR_IRPC MESSAGING db-glue',
|
|
enabled=bld.AD_DC_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('auth4_anonymous',
|
|
source='auth_anonymous.c',
|
|
subsystem='auth4',
|
|
init_function='auth4_anonymous_init',
|
|
deps='tevent'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('auth4_winbind',
|
|
source='auth_winbind.c',
|
|
subsystem='auth4',
|
|
init_function='auth4_winbind_init',
|
|
deps='RPC_NDR_WINBIND MESSAGING wbclient'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('auth4_developer',
|
|
source='auth_developer.c',
|
|
subsystem='auth4',
|
|
init_function='auth4_developer_init',
|
|
deps='tevent',
|
|
enabled=bld.env.DEVELOPER_MODE
|
|
)
|
|
|
|
|
|
bld.SAMBA_LIBRARY('auth4',
|
|
source='auth.c auth_util.c auth_simple.c',
|
|
autoproto='auth_proto.h',
|
|
deps='samba-util samba-security samdb samba-credentials tevent-util LIBWBCLIENT_OLD auth_unix_token samba-modules KERBEROS_UTIL',
|
|
private_library=True
|
|
)
|
|
|
|
bld.SAMBA_MODULE('service_auth',
|
|
source='auth_server_service.c',
|
|
subsystem='service',
|
|
init_function='server_service_auth_init',
|
|
deps='auth4',
|
|
internal_module=True
|
|
)
|
|
|