summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-09 19:05:19 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-09 19:05:19 +0000
commit755986764f5a6b0ec25c7f20fde0a80eb4d121ba (patch)
tree22ab05c952aab32a7fbd376943aa4cee3f5dd44f /source3/rpcclient/cmd_samr.c
parent00224e7d0875630e557922d093a264d755f36e3c (diff)
downloadsamba-755986764f5a6b0ec25c7f20fde0a80eb4d121ba.tar.gz
samba-755986764f5a6b0ec25c7f20fde0a80eb4d121ba.tar.bz2
samba-755986764f5a6b0ec25c7f20fde0a80eb4d121ba.zip
dce/rpc
(This used to be commit 32d0f5e4a564686ad6b270dd24423ee49a81f223)
Diffstat (limited to 'source3/rpcclient/cmd_samr.c')
-rw-r--r--source3/rpcclient/cmd_samr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 487c8e46c1..1c361f0f5e 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -68,12 +68,7 @@ void cmd_sam_test(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_SAMR, True) : False;
/* establish a connection. */
- res = res ? do_samr_connect(smb_cli,
- srv_name, 0x00000020,
- &info->dom.samr_pol_connect) : False;
-
- res = res ? do_samr_close(smb_cli,
- &info->dom.samr_pol_connect) : False;
+ res = res ? do_samr_unknown_38(smb_cli, srv_name) : False;
/* close the session */
cli_nt_session_close(smb_cli);