diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 18:25:50 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 21:42:32 +0200 |
commit | 3f2719c20296d55766bf6d9f43dea50ab259e0e6 (patch) | |
tree | 87faeaa69e49f892b934ec3457acca6313ac942e /source3/rpc_client | |
parent | 7a8e34fe868158ee5591e1640477d28c62de5b67 (diff) | |
download | samba-3f2719c20296d55766bf6d9f43dea50ab259e0e6.tar.gz samba-3f2719c20296d55766bf6d9f43dea50ab259e0e6.tar.bz2 samba-3f2719c20296d55766bf6d9f43dea50ab259e0e6.zip |
s3-rpc_client: move protos to cli_samr.h
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 1 | ||||
-rw-r--r-- | source3/rpc_client/cli_samr.h | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index 36d682b624..8c92ebb059 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -24,6 +24,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" #include "../librpc/gen_ndr/cli_samr.h" +#include "rpc_client/cli_samr.h" #include "../lib/crypto/arcfour.h" /* User change password */ diff --git a/source3/rpc_client/cli_samr.h b/source3/rpc_client/cli_samr.h new file mode 100644 index 0000000000..da0be1836c --- /dev/null +++ b/source3/rpc_client/cli_samr.h @@ -0,0 +1,33 @@ +/* The following definitions come from rpc_client/cli_samr.c */ + +NTSTATUS rpccli_samr_chgpasswd_user(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct policy_handle *user_handle, + const char *newpassword, + const char *oldpassword); +NTSTATUS rpccli_samr_chgpasswd_user2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + const char *newpassword, + const char *oldpassword); +NTSTATUS rpccli_samr_chng_pswd_auth_crap(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + DATA_BLOB new_nt_password_blob, + DATA_BLOB old_nt_hash_enc_blob, + DATA_BLOB new_lm_password_blob, + DATA_BLOB old_lm_hash_enc_blob); +NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *username, + const char *newpassword, + const char *oldpassword, + struct samr_DomInfo1 **dominfo1, + struct userPwdChangeFailureInformation **reject); +void get_query_dispinfo_params(int loop_count, uint32 *max_entries, + uint32 *max_size); +NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t access_mask, + struct policy_handle *connect_pol); + |