diff options
author | Günther Deschner <gd@samba.org> | 2008-02-01 11:12:05 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-01 12:29:10 +0100 |
commit | 42960f817a9fd439557d1be2f3ca3603a35489ce (patch) | |
tree | b6fc07166cf2825ab8460c33fd3ce697d530b174 /source3/utils/net_rpc_sh_acct.c | |
parent | 68900ea10170cbb0692276294f921c6aff7118b0 (diff) | |
download | samba-42960f817a9fd439557d1be2f3ca3603a35489ce.tar.gz samba-42960f817a9fd439557d1be2f3ca3603a35489ce.tar.bz2 samba-42960f817a9fd439557d1be2f3ca3603a35489ce.zip |
Use rpccli_samr_OpenDomain() all over the place.
Guenther
(This used to be commit e4e9d72724d547e1405b2ed4cec509d50ec88c8d)
Diffstat (limited to 'source3/utils/net_rpc_sh_acct.c')
-rw-r--r-- | source3/utils/net_rpc_sh_acct.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/utils/net_rpc_sh_acct.c b/source3/utils/net_rpc_sh_acct.c index f5b0c2e0d7..12da031d4b 100644 --- a/source3/utils/net_rpc_sh_acct.c +++ b/source3/utils/net_rpc_sh_acct.c @@ -54,10 +54,12 @@ static NTSTATUS rpc_sh_acct_do(TALLOC_CTX *mem_ctx, } /* Get domain policy handle */ - - result = rpccli_samr_open_domain(pipe_hnd, mem_ctx, &connect_pol, - MAXIMUM_ALLOWED_ACCESS, - ctx->domain_sid, &domain_pol); + + result = rpccli_samr_OpenDomain(pipe_hnd, mem_ctx, + &connect_pol, + MAXIMUM_ALLOWED_ACCESS, + ctx->domain_sid, + &domain_pol); if (!NT_STATUS_IS_OK(result)) { goto done; } |