diff options
author | Michael Adam <obnox@samba.org> | 2014-01-24 00:09:50 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-30 16:57:06 +0100 |
commit | 6b2d67a345e90306f0d35402d0f4e3067a014057 (patch) | |
tree | c09e2ae7eef6fcfab543642dc9afa17d5046ca97 /source3 | |
parent | e93f052e37e736e5776fe7f7c7d246f9ecc4b4c8 (diff) | |
download | samba-6b2d67a345e90306f0d35402d0f4e3067a014057.tar.gz samba-6b2d67a345e90306f0d35402d0f4e3067a014057.tar.xz samba-6b2d67a345e90306f0d35402d0f4e3067a014057.zip |
smbd:smb2: fix durable reconnect: set fsp->fnum from the smbXsrv_open->local_id
Originally, fsp->fnum was left at the INVALID fnum value.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/durable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index c5281a88561..0da734e0e02 100644 --- a/source3/smbd/durable.c +++ b/source3/smbd/durable.c @@ -717,6 +717,7 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn, fsp->share_access = e->share_access; fsp->can_read = ((fsp->access_mask & (FILE_READ_DATA)) != 0); fsp->can_write = ((fsp->access_mask & (FILE_WRITE_DATA|FILE_APPEND_DATA)) != 0); + fsp->fnum = op->local_id; /* * TODO: |