1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Ralph Boehme 42d6dd2f30 s3: smbd: always set vuid in check_user_ok()
A SMB session reauth will have invalidated conn->vuid via
conn_clear_vuid_caches().

Ensure conn->vuid always has the vuid of the current user in
check_user_ok().

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13351

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Mar 22 18:26:04 CET 2018 on sn-devel-144
2018-03-22 18:26:03 +01:00
..
notifyd notifyd: Broadcast to all connected nodes 2017-09-29 08:38:10 +02:00
aio.c smbd: Fix async large read 2017-12-12 20:37:08 +01:00
avahi_register.c s3:avahi: Fix size types 2018-03-20 23:16:15 +01:00
blocking.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
close.c smbd: Avoid a dependency on share_mode_entry->id 2018-02-13 00:26:43 +01:00
conn_idle.c
conn_msg.c
conn.c
connection.c
dfree.c s3: VFS: Change SMB_VFS_DISK_FREE to use const struct smb_filename * instead of const char *. 2017-06-18 02:49:24 +02:00
dir.c s3: Fix possible mem leak 2018-03-20 23:16:14 +01:00
dmapi.c
dnsregister.c
dosmode.c s3/smbd: use correct access in get_file_handle_for_metadata 2017-10-17 11:48:07 +02:00
durable.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
error.c
fake_file.c
file_access.c s3: Filenames: Add uint32_t flags parameter to synthetic_smb_fname(). 2016-03-24 22:57:16 +01:00
fileio.c smbd: Fix line length & whitespace in write_file 2016-02-23 22:03:16 +01:00
filename.c S3: smbd: Finish plumbing struct smb_filename * through the check_name() stack. 2017-07-01 03:07:11 +02:00
files.c s3: smbd: When deleting an fsp pointer ensure we don't keep any references to it around. 2017-06-22 00:12:49 +02:00
globals.c printing: use housekeeping period that matches cache time 2016-04-19 09:37:14 +02:00
globals.h smbd: Fix channel sequence number checks for long-running requests 2018-01-14 10:26:05 +01:00
ipc.c
lanman.c s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface() 2017-07-10 23:22:10 +02:00
mangle_hash2.c
mangle_hash.c
mangle.c s3/smbd: convert "mangled names" option to an enum 2017-01-09 19:31:20 +01:00
message.c Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
msdfs.c s3: VFS: Change SMB_VFS_GETWD to return struct smb_filename * instead of char *. 2017-07-01 03:07:11 +02:00
negprot.c s3:smbd: Do not crash if we fail to init the session table 2018-03-02 00:39:59 +01:00
notify_fam.c smbd: Allow passing notify filter from inotify and fam 2016-07-18 15:14:11 +02:00
notify_inotify.c s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array. 2017-04-28 03:18:23 +02:00
notify_msg.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
notify.c s3:smbd: return the correct error for cancelled SMB2 notifies on expired sessions 2017-12-21 19:12:09 +01:00
ntquotas.c s3: VFS: Change SMB_VFS_GET_QUOTA to use const struct smb_filename * instead of const char *. 2017-06-18 02:49:25 +02:00
nttrans.c s3:smbd: Add FALL_THROUGH statements in nttrans.c 2018-03-01 04:37:42 +01:00
open.c smbd: Pass "file_id" explicitly to send_break_message() 2018-02-13 00:26:43 +01:00
oplock_irix.c
oplock_linux.c
oplock.c smbd: Pass "file_id" explicitly to send_break_to_none 2018-02-13 00:26:43 +01:00
password.c wscript: drop checks for setnetgrent/endnetgrent/getnetgrent 2018-02-21 14:19:17 +01:00
perfcount.c lib:util: Make probing of modules more secure 2017-06-06 18:36:07 +02:00
pipes.c rpc_server: Re-order and rename remote and local address in np_open() 2017-03-29 02:37:29 +02:00
posix_acls.c s3:smbd: remove deprecated handling of "profile acls = yes" 2017-12-13 20:34:24 +01:00
process.c lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
proto.h smbd: Pass "file_id" explicitly to send_break_message() 2018-02-13 00:26:43 +01:00
pysmbd.c pysmbd: fix use of sysacl API 2017-12-21 19:12:07 +01:00
quotas.c s3: VFS: Change SMB_VFS_GET_QUOTA to use const struct smb_filename * instead of const char *. 2017-06-18 02:49:25 +02:00
reply.c s3:smbd: Add FALL_THROUGH statements in reply.c 2018-03-01 04:37:43 +01:00
scavenger.c lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
scavenger.h
seal.c auth: Always supply both the remote and local address to the auth subsystem 2017-03-29 02:37:26 +02:00
sec_ctx.c s3:smbd: Fix incorrect use of sys_getgroups() 2017-04-18 15:43:02 +02:00
server_exit.c smbd: Fix coredump on failing chdir during logoff 2017-12-16 01:56:06 +01:00
server_reload.c
server.c s3:auth: Pass mem_ctx to init_system_session_info() 2018-02-21 02:46:40 +01:00
service.c s3: VFS: Change SMB_VFS_REALPATH to take and return struct smb_filename * instead of char *. 2017-07-01 03:07:11 +02:00
session.c
sesssetup.c s3: remove dead already commented code 2018-02-21 14:19:17 +01:00
share_access.c smbd: remove redundant comment (with typo) from token_contains_name() 2016-08-04 18:26:07 +02:00
signing.c
smb2_break.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_close.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_create.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_flush.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_getinfo.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_glue.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_dfs.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_filesys.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_named_pipe.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_network_fs.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_private.h
smb2_ioctl.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_keepalive.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_lock.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_negprot.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_notify.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_query_directory.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_read.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_server.c s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically debug credit issues. 2018-03-22 02:15:13 +01:00
smb2_sesssetup.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_setinfo.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_tcon.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_write.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smbd_cleanupd.c lib: Remove unused serverid.tdb 2017-12-05 04:58:26 +01:00
smbd_cleanupd.h
smbd.h s3: smbd: Add UCF_GMT_PATHNAME, which represents FLAGS2_REPARSE_PATH. 2017-05-22 18:41:16 +02:00
smbXsrv_client.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
smbXsrv_open.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
smbXsrv_session.c dbwrap_watch: Remove the "prec" parameter from watch_recv 2017-11-29 16:59:15 +01:00
smbXsrv_tcon.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
smbXsrv_version.c
srvstr.c s3: smbd: Chain code can return uninitialized memory when talloc buffer is grown. 2017-11-21 19:42:22 +01:00
statcache.c lib: Use messaging_send_all instead of message_send_all 2017-12-05 00:56:13 +01:00
statvfs.c
trans2.c s3:smbd: Add FALL_THROUGH statements in trans2.c 2018-03-01 04:37:42 +01:00
uid.c s3: smbd: always set vuid in check_user_ok() 2018-03-22 18:26:03 +01:00
utmp.c
vfs.c vfs: remove SMB_VFS_INIT_SEARCH_OP 2017-11-11 04:49:27 +01:00