s3:libsmb: add trust_pw_change()
authorStefan Metzmacher <metze@samba.org>
Sun, 15 Sep 2013 11:19:52 +0000 (13:19 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 7 Jan 2014 11:47:12 +0000 (12:47 +0100)
commit16c6e4992fa882207eeaff0a1c4d9fe217be48b7
treed3a5a4855f8d73ec99c168a7af7bce71f2b8f72d
parentd1340c20b0900f54e2c73c4a363f45988b1ba097
s3:libsmb: add trust_pw_change()

This protects the password change using a domain specific g_lock,
so multiple parts 'net rpc', 'rpcclient', 'winbindd', 'wbinfo --change-secret'
even on multiple cluster nodes doesn't race anymore.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/include/proto.h
source3/libsmb/trusts_util.c