diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-28 10:38:33 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-28 10:38:51 +0200 |
commit | 3353565faf9fa97d701dcb39b412ed08799ac741 (patch) | |
tree | 3570319f515cb452af9cdffd551d9c6ab972213e /source3 | |
parent | f083c1f57e2aad01fd6a3666c36abd2a71012f7b (diff) | |
download | samba-3353565faf9fa97d701dcb39b412ed08799ac741.tar.gz samba-3353565faf9fa97d701dcb39b412ed08799ac741.tar.bz2 samba-3353565faf9fa97d701dcb39b412ed08799ac741.zip |
Fix the build
(This used to be commit 242077f714c738642edd125449ab5c89748bcecd)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 32900b4b4e..d777018b5d 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5648,7 +5648,8 @@ static NTSTATUS rpc_trustdom_add_internals(struct net_context *c, unsigned int orig_timeout; if (argc != 2) { - d_printf("Usage: net rpc trustdom add <domain_name> <trust password>\n") + d_printf("Usage: net rpc trustdom add <domain_name> " + "<trust password>\n"); return NT_STATUS_INVALID_PARAMETER; } @@ -5686,7 +5687,7 @@ static NTSTATUS rpc_trustdom_add_internals(struct net_context *c, /* This call can take a long time - allow the server to time out. * 35 seconds should do it. */ - orig_timeout = cli_set_timeout(pipe_hnd->cli, 35000); + orig_timeout = rpccli_set_timeout(pipe_hnd, 35000); /* Create trusting domain's account */ acb_info = ACB_NORMAL; @@ -5706,7 +5707,7 @@ static NTSTATUS rpc_trustdom_add_internals(struct net_context *c, &user_rid); /* And restore our original timeout. */ - cli_set_timeout(pipe_hnd->cli, orig_timeout); + rpccli_set_timeout(pipe_hnd, orig_timeout); if (!NT_STATUS_IS_OK(result)) { d_printf("net rpc trustdom add: create user %s failed %s\n", |