r11573: Adding Andrew Bartlett's patch to make machine account
authorJeremy Allison <jra@samba.org>
Tue, 8 Nov 2005 06:19:34 +0000 (06:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:20 +0000 (11:05 -0500)
commitd1caef866326346fb191f8129d13d98379f18cd8
tree785c67b24023e79a7b4b9b1af1944943d35f115c
parentd398a1aeb48422a89cee59d5760a87bbb2d50b03
r11573: Adding Andrew Bartlett's patch to make machine account
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.
15 files changed:
source/auth/auth_domain.c
source/auth/auth_ntlmssp.c
source/auth/auth_sam.c
source/auth/auth_util.c
source/auth/auth_winbind.c
source/include/auth.h
source/include/libsmbclient.h
source/include/rpc_netlogon.h
source/nsswitch/wbinfo.c
source/nsswitch/winbindd_nss.h
source/nsswitch/winbindd_pam.c
source/rpc_client/cli_netlogon.c
source/rpc_server/srv_netlog_nt.c
source/rpcclient/cmd_netlogon.c
source/utils/ntlm_auth.c