diff options
author | Andreas Schneider <asn@samba.org> | 2011-01-12 15:36:19 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-01-21 14:34:18 +0100 |
commit | 089c25cbbb44547bbb03d54ec4e2c1f5ebd10f86 (patch) | |
tree | 68f26eeff9189e0e50a1023cb42a02f554dad1e2 /source3/rpc_client | |
parent | e6475f2151eb94b2e9010f9e0f4d3d8c2c315b81 (diff) | |
download | samba-089c25cbbb44547bbb03d54ec4e2c1f5ebd10f86.tar.gz samba-089c25cbbb44547bbb03d54ec4e2c1f5ebd10f86.tar.bz2 samba-089c25cbbb44547bbb03d54ec4e2c1f5ebd10f86.zip |
s3-rpc_client: Rename get_query_dispinfo_params.
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 5 | ||||
-rw-r--r-- | source3/rpc_client/cli_samr.h | 21 |
2 files changed, 22 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index b046780890..79cc757d00 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -390,8 +390,9 @@ NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli, with large (10k and higher) numbers of users. These values were obtained by inspection using ethereal and NT4 running User Manager. */ -void get_query_dispinfo_params(int loop_count, uint32 *max_entries, - uint32 *max_size) +void dcerpc_get_query_dispinfo_params(int loop_count, + uint32_t *max_entries, + uint32_t *max_size) { switch(loop_count) { case 0: diff --git a/source3/rpc_client/cli_samr.h b/source3/rpc_client/cli_samr.h index 70d0c8b7ff..18e6328bba 100644 --- a/source3/rpc_client/cli_samr.h +++ b/source3/rpc_client/cli_samr.h @@ -174,8 +174,25 @@ NTSTATUS rpccli_samr_chgpasswd_user3(struct rpc_pipe_client *cli, const char *oldpassword, struct samr_DomInfo1 **dominfo1, struct userPwdChangeFailureInformation **reject); -void get_query_dispinfo_params(int loop_count, uint32 *max_entries, - uint32 *max_size); + +/** + * @brief Create a set of max_entries, max_size for QueryDisplayInfo. + * + * This function returns a set of (max_entries, max_size) required + * for the QueryDisplayInfo RPC to actually work against a domain controller + * with large (10k and higher) numbers of users. These values were + * obtained by inspection using wireshark and NT4 running User Manager. + * + * @param[in] loop_count The loop count. + * + * @param[out] max_entries A pointer to store maximum entries value. + * + * @param[out] max_size A poiter to store the maximum size value. + */ +void dcerpc_get_query_dispinfo_params(int loop_count, + uint32_t *max_entries, + uint32_t *max_size); + NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t access_mask, |