Store the type of 'sec channel' that we establish to the DC. If we are a
authorAndrew Bartlett <abartlet@samba.org>
Wed, 16 Apr 2003 10:20:14 +0000 (10:20 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Apr 2003 10:20:14 +0000 (10:20 +0000)
commit6e6b7b79edae3efd0197651e9a8ce6775c001cf2
tree703a6e67574b344a83c9a551a0cc0ec80e5e62be
parentc7dc0b27aca8f7e4653b25dae37ea38d68fc045a
Store the type of 'sec channel' that we establish to the DC.  If we are a
workstation, we have to use the workstation type, if we have a BDC account,
we must use the BDC type - even if we are pretending to be a workstation
at the moment.

Also actually store and retreive the last change time, so we can do
periodic password changes again (for RPC at least).

And finally, a couple of minor fixes to 'net'.

Andrew Bartlett
23 files changed:
source/auth/auth_domain.c
source/include/secrets.h
source/libads/kerberos_verify.c
source/libads/ldap.c
source/libads/util.c
source/libsmb/trusts_util.c
source/nsswitch/winbindd_ads.c
source/nsswitch/winbindd_cm.c
source/nsswitch/winbindd_misc.c
source/nsswitch/winbindd_pam.c
source/passdb/machine_sid.c
source/passdb/secrets.c
source/rpc_client/cli_netlogon.c
source/rpcclient/cmd_netlogon.c
source/rpcclient/rpcclient.c
source/smbd/change_trust_pw.c
source/smbd/process.c
source/utils/net.c
source/utils/net.h
source/utils/net_ads.c
source/utils/net_rpc.c
source/utils/net_rpc_join.c
source/utils/net_rpc_samsync.c