diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-08 17:51:47 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-29 21:01:11 +0200 |
commit | 7d1395536bbcc937e3115aa067eed3f69f3909be (patch) | |
tree | b8c1b3a6ba1d84cb94d8fdf0b8a6f0a74d8c74f6 /source3/smbd/smb2_create.c | |
parent | f7762e2730aa4e2fe37043b56e0413983b484108 (diff) | |
download | samba-7d1395536bbcc937e3115aa067eed3f69f3909be.tar.gz samba-7d1395536bbcc937e3115aa067eed3f69f3909be.tar.xz samba-7d1395536bbcc937e3115aa067eed3f69f3909be.zip |
s3:smbd: make use of smbXsrv_open for smb1/2/3
This makes sure we generate unique persistent file ids,
which are stored in smbXsrv_open_global.tdb.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index b729ebfecd..18c3fb954f 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -822,8 +822,8 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, if (state->out_file_attributes == 0) { state->out_file_attributes = FILE_ATTRIBUTE_NORMAL; } - state->out_file_id_persistent = fsp_persistent_id(result); - state->out_file_id_volatile = result->fnum; + state->out_file_id_persistent = result->op->global->open_persistent_id; + state->out_file_id_volatile = result->op->global->open_volatile_id; state->out_context_blobs = out_context_blobs; DEBUG(10,("smbd_smb2_create_send: %s - %s\n", |