diff options
author | Günther Deschner <gd@samba.org> | 2008-02-05 01:36:19 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-05 10:10:06 +0100 |
commit | 636229cc09cb809cd8a27de4fc2c385148c06e34 (patch) | |
tree | a91769d0a497697b55b577e2faeda0cc3db4f549 /source3/rpc_client | |
parent | 527c18a2a2b1a4ffab0c1afa9da8e5bc62b1b410 (diff) | |
download | samba-636229cc09cb809cd8a27de4fc2c385148c06e34.tar.gz samba-636229cc09cb809cd8a27de4fc2c385148c06e34.tar.bz2 samba-636229cc09cb809cd8a27de4fc2c385148c06e34.zip |
Remove marshalling for SAMR_LOOKUP_DOMAIN.
Guenther
(This used to be commit e03fd629171b625a42f02bdd6660b2ba75d27a4b)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_samr.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c index 8b4ad1e7e4..b0078c3433 100644 --- a/source3/rpc_client/cli_samr.c +++ b/source3/rpc_client/cli_samr.c @@ -1239,40 +1239,3 @@ NTSTATUS rpccli_samr_remove_sid_foreign_domain(struct rpc_pipe_client *cli, return result; } - -/* Lookup Domain Name */ - -NTSTATUS rpccli_samr_lookup_domain(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *user_pol, char *domain_name, - DOM_SID *sid) -{ - prs_struct qbuf, rbuf; - SAMR_Q_LOOKUP_DOMAIN q; - SAMR_R_LOOKUP_DOMAIN r; - NTSTATUS result = NT_STATUS_UNSUCCESSFUL; - - DEBUG(10,("cli_samr_lookup_domain\n")); - - ZERO_STRUCT(q); - ZERO_STRUCT(r); - - /* Marshall data and send request */ - - init_samr_q_lookup_domain(&q, user_pol, domain_name); - - CLI_DO_RPC(cli, mem_ctx, PI_SAMR, SAMR_LOOKUP_DOMAIN, - q, r, - qbuf, rbuf, - samr_io_q_lookup_domain, - samr_io_r_lookup_domain, - NT_STATUS_UNSUCCESSFUL); - - /* Return output parameters */ - - result = r.status; - - if (NT_STATUS_IS_OK(result)) - sid_copy(sid, &r.dom_sid.sid); - - return result; -} |