s4:libnet Allow 'net password change' to work on expired passwords
commit58e8db912d2213a594714ac29866396098662557
authorAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 02:33:46 +0000 (18 12:33 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 03:49:30 +0000 (18 13:49 +1000)
tree1fba34e4ef93aa73e9839ad876460e6aa157a2fb
parent19413c52495877d54c90c60229568d0077fda30b
s4:libnet Allow 'net password change' to work on expired passwords

We need to pass down flags to the DCE/RPC layer to allow fallback to
anonymous connections, as we can't log in with an expired password.

The anonymous connection can then change the password with SAMR.

Andrew Bartlett
source4/libnet/libnet_domain.c
source4/libnet/libnet_join.c
source4/libnet/libnet_passwd.c
source4/libnet/libnet_rpc.c
source4/libnet/libnet_rpc.h
source4/libnet/libnet_samsync.c
source4/libnet/libnet_share.c
source4/libnet/libnet_time.c
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_connect.c
source4/torture/libnet/libnet_rpc.c