diff options
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r-- | source/smbd/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c index fe20d95ef8b..7608a25d80f 100644 --- a/source/smbd/open.c +++ b/source/smbd/open.c @@ -501,7 +501,7 @@ static void open_file(files_struct *fsp,connection_struct *conn, conn->num_files_open++; fsp->mode = sbuf->st_mode; GetTimeOfDay(&fsp->open_time); - fsp->vuid = current_user.vuid; + fsp->vuid = current_user.key.vuid; fsp->size = 0; fsp->pos = -1; fsp->open = True; @@ -1063,7 +1063,7 @@ int open_directory(files_struct *fsp,connection_struct *conn, conn->num_files_open++; fsp->mode = 0; GetTimeOfDay(&fsp->open_time); - fsp->vuid = current_user.vuid; + fsp->vuid = current_user.key.vuid; fsp->size = 0; fsp->pos = -1; fsp->open = True; |