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)
commitfcceedd67c29bae6941949a16ebef37e95dab601
tree17233b5fb3522134c86ed4a3dd05e1f79a8f3a9f
parentc3d673e5712b254ea6e3eef10041f3a30b70a983
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.
(This used to be commit d1caef866326346fb191f8129d13d98379f18cd8)
15 files changed:
source3/auth/auth_domain.c
source3/auth/auth_ntlmssp.c
source3/auth/auth_sam.c
source3/auth/auth_util.c
source3/auth/auth_winbind.c
source3/include/auth.h
source3/include/libsmbclient.h
source3/include/rpc_netlogon.h
source3/nsswitch/wbinfo.c
source3/nsswitch/winbindd_nss.h
source3/nsswitch/winbindd_pam.c
source3/rpc_client/cli_netlogon.c
source3/rpc_server/srv_netlog_nt.c
source3/rpcclient/cmd_netlogon.c
source3/utils/ntlm_auth.c