summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_join.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 11:57:53 +0100
committerGünther Deschner <gd@samba.org>2008-02-01 12:30:15 +0100
commit37b56c0113263a741c62100cd4b13388cb2a83fa (patch)
treeb9ee56bb40b5ba21714a27dba1a3294cb10a8ad8 /source3/utils/net_rpc_join.c
parente8c794fabee9aa19183447a915ea9a0d2cc9fda8 (diff)
downloadsamba-37b56c0113263a741c62100cd4b13388cb2a83fa.tar.gz
samba-37b56c0113263a741c62100cd4b13388cb2a83fa.tar.bz2
samba-37b56c0113263a741c62100cd4b13388cb2a83fa.zip
Use rpccli_samr_OpenUser() all over the place.
Guenther (This used to be commit da90eb7653554d242da83ed98adae35ced3a2938)
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r--source3/utils/net_rpc_join.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c
index 41ee4f2c36..dbce7e9a43 100644
--- a/source3/utils/net_rpc_join.c
+++ b/source3/utils/net_rpc_join.c
@@ -303,9 +303,11 @@ int net_rpc_join_newstyle(int argc, const char **argv)
/* Open handle on user */
CHECK_RPC_ERR_DEBUG(
- rpccli_samr_open_user(pipe_hnd, mem_ctx, &domain_pol,
- SEC_RIGHTS_MAXIMUM_ALLOWED,
- user_rid, &user_pol),
+ rpccli_samr_OpenUser(pipe_hnd, mem_ctx,
+ &domain_pol,
+ SEC_RIGHTS_MAXIMUM_ALLOWED,
+ user_rid,
+ &user_pol),
("could not re-open existing user %s: %s\n",
acct_name, nt_errstr(result)));