diff options
author | Luke Leighton <lkcl@samba.org> | 1998-12-14 20:23:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-12-14 20:23:20 +0000 |
commit | 254470cb566fc06f5818830d105361d853648d6e (patch) | |
tree | 503e7fc28d56ccff11720f3d5c653d308c6af6ff /source3/rpcclient | |
parent | d4385df3e80d63dbc7a1c90cc903d8343dfba652 (diff) | |
download | samba-254470cb566fc06f5818830d105361d853648d6e.tar.gz samba-254470cb566fc06f5818830d105361d853648d6e.tar.bz2 samba-254470cb566fc06f5818830d105361d853648d6e.zip |
added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.
(This used to be commit 0b2095e092d747f741e78a3349f0b81a72811629)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 4 | ||||
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 4 | ||||
-rw-r--r-- | source3/rpcclient/rpcclient.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 96f952a789..de41f286f7 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -170,7 +170,7 @@ void cmd_lsa_lookup_names(struct client_info *info) res = res ? lsa_lookup_names(smb_cli, nt_pipe_fnum, &info->dom.lsa_info_pol, num_names, names, - &sids, &num_sids) : False; + &sids, NULL, &num_sids) : False; res = res ? lsa_close(smb_cli, nt_pipe_fnum, &info->dom.lsa_info_pol) : False; @@ -278,7 +278,7 @@ void cmd_lsa_lookup_sids(struct client_info *info) res = res ? lsa_lookup_sids(smb_cli, nt_pipe_fnum, &info->dom.lsa_info_pol, num_sids, sids, - &names, &num_names) : False; + &names, NULL, &num_names) : False; res = res ? lsa_close(smb_cli, nt_pipe_fnum, &info->dom.lsa_info_pol) : False; diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index a24e474af5..8a43a69cb7 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -432,7 +432,7 @@ void cmd_sam_add_aliasmem(struct client_info *info) res4 = res3 ? lsa_lookup_names(smb_cli, fnum_lsa, &info->dom.lsa_info_pol, num_names, names, - &sids, &num_sids) : False; + &sids, NULL, &num_sids) : False; res3 = res3 ? lsa_close(smb_cli, fnum_lsa, &info->dom.lsa_info_pol) : False; @@ -1565,7 +1565,7 @@ void cmd_sam_enum_aliases(struct client_info *info) res4 = res3 ? lsa_lookup_sids(smb_cli, fnum_lsa, &info->dom.lsa_info_pol, num_aliases, sids, - &names, &num_names) : False; + &names, NULL, &num_names) : False; res3 = res3 ? lsa_close(smb_cli, fnum_lsa, &info->dom.lsa_info_pol) : False; diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index fd677f73bb..ceaefb98bc 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -160,6 +160,7 @@ static void cmd_quit(struct client_info *info) smb_mem_write_status(dbf); smb_mem_write_errors(dbf); smb_mem_write_verbose(dbf); + dbgflush(); } #endif exit(0); |