summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-09 13:28:19 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-09 13:28:19 +0000
commitf76c037255a6a79d11bec65e863e009a41a4f0fd (patch)
treeb9e7543593960af67f4b1eb403d0a0447c6cce42 /source/rpcclient
parent1b6d01e1152d1ac64e3b1f721227d06061982112 (diff)
downloadsamba-f76c037255a6a79d11bec65e863e009a41a4f0fd.tar.gz
samba-f76c037255a6a79d11bec65e863e009a41a4f0fd.tar.xz
samba-f76c037255a6a79d11bec65e863e009a41a4f0fd.zip
the beginnings of a new scheme I've working on to allow an easier
head/tng merge. It goes something like this: - headers from tng get copied over one at a time - the old headers get renamed to *_old.h - server side code that used the old headers gets a #define OLD_NTDOMAIN 1 #undef OLD_NTDOMAIN at the start and end of the code - mkproto.awk recognises these special defines and does magic stuff so that each .c file sees the right headers - we start moving the rpc client libraries from tng to head. if this goes OK then, in theory, we should be able to move the client side rpc code from tng to head without disturbing the existing head server side code. Then when that works we can consider merging the server side. it remains to be seen if this scheme will work. So far I've moved rpc_samr.h and don't seem to have broken anything. Note this this is still a very delicate operation, as at every step of the way I want to keep head fully functional. Please don't take part unless you discuss it with me first.
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/cmd_samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rpcclient/cmd_samr.c b/source/rpcclient/cmd_samr.c
index b3c7be56e0d..4916cd9b402 100644
--- a/source/rpcclient/cmd_samr.c
+++ b/source/rpcclient/cmd_samr.c
@@ -93,7 +93,7 @@ void cmd_sam_ntchange_pwd(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_SAMR) : False;
/* establish a connection. */
- res = res ? do_samr_unknown_38(smb_cli, srv_name) : False;
+ res = res ? do_samr_get_dom_pwinfo(smb_cli, srv_name) : False;
/* establish a connection. */
res = res ? do_samr_chgpasswd_user(smb_cli,
@@ -155,7 +155,7 @@ void cmd_sam_test(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_SAMR) : False;
/* establish a connection. */
- res = res ? do_samr_unknown_38(smb_cli, srv_name) : False;
+ res = res ? do_samr_get_dom_pwinfo(smb_cli, srv_name) : False;
/* close the session */
cli_nt_session_close(smb_cli);
@@ -585,7 +585,7 @@ void cmd_sam_enum_aliases(struct client_info *info)
&info->dom.samr_pol_open_domain) : False;
/* send a query on the aliase */
- res = res ? do_samr_query_unknown_12(smb_cli,
+ 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;