summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-04 15:47:33 +0200
committerVolker Lendecke <vl@samba.org>2009-10-05 22:12:20 +0200
commit20a8ea91e10af167067cc794a251265aaf489e75 (patch)
tree688425cc91fd6497e43483e194f73a10f4295c63 /source3/include
parent3fa1d7332c19d0521b8da9f2cd8162260f0ab660 (diff)
downloadsamba-20a8ea91e10af167067cc794a251265aaf489e75.tar.gz
samba-20a8ea91e10af167067cc794a251265aaf489e75.tar.bz2
samba-20a8ea91e10af167067cc794a251265aaf489e75.zip
s3: Attempt to fix machine password change
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h1
-rw-r--r--source3/include/proto.h9
2 files changed, 9 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 82d94b055f..ba3a4e782c 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -147,6 +147,7 @@ struct rpc_pipe_client {
/* The following is only non-null on a netlogon client pipe. */
struct netlogon_creds_CredentialState *dc;
+ uint32_t auth_neg_flags;
/* Used by internal rpc_pipe_client */
pipes_struct *pipes_struct;
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c8e4fe1916..a9768ba256 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5240,7 +5240,14 @@ NTSTATUS rpccli_netlogon_set_trust_password(struct rpc_pipe_client *cli,
const unsigned char orig_trust_passwd_hash[16],
const char *new_trust_pwd_cleartext,
const unsigned char new_trust_passwd_hash[16],
- uint32_t sec_channel_type);
+ uint32_t sec_channel_type,
+ uint32_t neg_flags);
+NTSTATUS rpccli_netlogon_auth_set_trust_password(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ const unsigned char orig_trust_passwd_hash[16],
+ const char *new_trust_pwd_cleartext,
+ const unsigned char new_trust_passwd_hash[16],
+ uint32_t sec_channel_type);
/* The following definitions come from rpc_client/cli_pipe.c */