diff options
| author | Jeremy Allison <jra@samba.org> | 2014-05-08 20:55:57 -0700 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-05-09 23:10:07 +0200 |
| commit | 69e24b4e8bc607806453ab137efda6d6bf74fb12 (patch) | |
| tree | 3eb182e140ac2b5279d6310e44274efecf2e9290 /source3/utils/net_rpc.c | |
| parent | 2900dfa5b928ef237e72ac4e15481e083d61750a (diff) | |
| download | samba-69e24b4e8bc607806453ab137efda6d6bf74fb12.tar.gz samba-69e24b4e8bc607806453ab137efda6d6bf74fb12.tar.xz samba-69e24b4e8bc607806453ab137efda6d6bf74fb12.zip | |
s3: client : Add extra return parameter to all client open calls.
Add a return parameter of struct smb_create_returns *cr to
cli_ntcreate()
cli_ntcreate_recv()
cli_nttrans_create()
cli_nttrans_create_recv()
Always pass in NULL for now. This fixes the create
API to always fully return the data the server has
given back to us on the open file to the caller.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils/net_rpc.c')
| -rw-r--r-- | source3/utils/net_rpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 778e888950..b5c4d0b2e9 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -5104,7 +5104,8 @@ static void show_userlist(struct rpc_pipe_client *pipe_hnd, } if (!NT_STATUS_IS_OK(cli_ntcreate(cli, "\\", 0, READ_CONTROL_ACCESS, 0, - FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, 0x0, 0x0, &fnum))) { + FILE_SHARE_READ|FILE_SHARE_WRITE, + FILE_OPEN, 0x0, 0x0, &fnum, NULL))) { cli_query_secdesc(cli, fnum, mem_ctx, &root_sd); } |
