summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-06-23 00:09:21 +0000
committerGerald Carter <jerry@samba.org>2000-06-23 00:09:21 +0000
commit3396a1d97850bb705ead64857c22b60a855ccd5a (patch)
tree9740492a84f2eaf7ab8775dcd389f189978563f6 /source3/rpcclient/cmd_samr.c
parenteecab5c66096cc42323aaa4a796bf4a17e491a00 (diff)
downloadsamba-3396a1d97850bb705ead64857c22b60a855ccd5a.tar.gz
samba-3396a1d97850bb705ead64857c22b60a855ccd5a.tar.bz2
samba-3396a1d97850bb705ead64857c22b60a855ccd5a.zip
just enough to get rpcclient to compile. Look for #if 0
blocks around a few unimplemented functions. Also had to add cli_reg.c to Makefile.in --jerry (This used to be commit 426c43fb5167b042682c22e67871e5ebadb4b769)
Diffstat (limited to 'source3/rpcclient/cmd_samr.c')
-rw-r--r--source3/rpcclient/cmd_samr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 4916cd9b40..c6397654be 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -92,6 +92,7 @@ void cmd_sam_ntchange_pwd(struct client_info *info)
/* open SAMR session. */
res = res ? cli_nt_session_open(smb_cli, PIPE_SAMR) : False;
+#if 0
/* establish a connection. */
res = res ? do_samr_get_dom_pwinfo(smb_cli, srv_name) : False;
@@ -100,6 +101,7 @@ void cmd_sam_ntchange_pwd(struct client_info *info)
srv_name, smb_cli->user_name,
nt_newpass, nt_hshhash,
lm_newpass, lm_hshhash) : False;
+#endif
/* close the session */
cli_nt_session_close(smb_cli);
@@ -154,8 +156,10 @@ void cmd_sam_test(struct client_info *info)
/* open SAMR session. */
res = res ? cli_nt_session_open(smb_cli, PIPE_SAMR) : False;
+#if 0
/* establish a connection. */
res = res ? do_samr_get_dom_pwinfo(smb_cli, srv_name) : False;
+#endif
/* close the session */
cli_nt_session_close(smb_cli);
@@ -584,10 +588,12 @@ void cmd_sam_enum_aliases(struct client_info *info)
&info->dom.samr_pol_connect, admin_rid, &sid1,
&info->dom.samr_pol_open_domain) : False;
+#if 0
/* send a query on the aliase */
res = res ? do_samr_query_lookup_rids(smb_cli,
&info->dom.samr_pol_open_domain, admin_rid, num_aliases, alias_rid,
&num_aliases, alias_names, num_als_usrs) : False;
+#endif
if (res)
{