summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_util.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-18 19:51:45 +0200
committerVolker Lendecke <vl@samba.org>2010-08-27 12:53:17 +0200
commit8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1 (patch)
tree937c34fe7b5ff30f251537c5f0c49fcc8aa97be6 /source3/rpc_server/srv_samr_util.h
parent6bcab329e7d5d3c6a6f02f3ebdfe397bc18bb521 (diff)
downloadsamba-8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1.tar.gz
samba-8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1.tar.bz2
samba-8e1d3b5f8fe4b5bbb61a357e9db62adad7d767f1.zip
s3: Pass rhost through to smb_pam_passchange
Diffstat (limited to 'source3/rpc_server/srv_samr_util.h')
-rw-r--r--source3/rpc_server/srv_samr_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_util.h b/source3/rpc_server/srv_samr_util.h
index fb6d02620d..e898541559 100644
--- a/source3/rpc_server/srv_samr_util.h
+++ b/source3/rpc_server/srv_samr_util.h
@@ -64,9 +64,9 @@ void copy_id26_to_sam_passwd(struct samu *to,
/* The following definitions come from rpc_server/srv_samr_chgpasswd.c */
-bool chgpasswd(const char *name, const struct passwd *pass,
+bool chgpasswd(const char *name, const char *rhost, const struct passwd *pass,
const char *oldpass, const char *newpass, bool as_root);
-NTSTATUS pass_oem_change(char *user,
+NTSTATUS pass_oem_change(char *user, const char *rhost,
uchar password_encrypted_with_lm_hash[516],
const uchar old_lm_hash_encrypted[16],
uchar password_encrypted_with_nt_hash[516],