diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 19:43:07 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 22:12:40 +0100 |
commit | 270ba9c238400f49d32c57a9a1bbde6ad63bb555 (patch) | |
tree | afe7a0a532093a3ad4bf89ced652eeea0b339096 /source3/utils/net_rpc_join.c | |
parent | b361956942618ec2f7c2efc60cb190858adbc516 (diff) | |
download | samba-270ba9c238400f49d32c57a9a1bbde6ad63bb555.tar.gz samba-270ba9c238400f49d32c57a9a1bbde6ad63bb555.tar.bz2 samba-270ba9c238400f49d32c57a9a1bbde6ad63bb555.zip |
Use rpccli_samr_Connect2() all over the place.
Guenther
(This used to be commit bdf8d562621e1a09bf83e2009dec24966e7fdf22)
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index 27819bb6ab..d678029c46 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -239,9 +239,10 @@ int net_rpc_join_newstyle(int argc, const char **argv) goto done; } - CHECK_RPC_ERR(rpccli_samr_connect(pipe_hnd, mem_ctx, - SEC_RIGHTS_MAXIMUM_ALLOWED, - &sam_pol), + CHECK_RPC_ERR(rpccli_samr_Connect2(pipe_hnd, mem_ctx, + pipe_hnd->cli->desthost, + SEC_RIGHTS_MAXIMUM_ALLOWED, + &sam_pol), "could not connect to SAM database"); |