1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher 896f105ed4 s3:smbd: check the share level access mask in smbd_calculate_access_mask()
I think we should reject invalid access early,
before we might create new files.

Also smbd_check_open_rights() is only called if the file existed.

metze
2011-07-11 21:33:20 +02:00
..
aio.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
avahi_register.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
blocking.c s3-build: Provide a run-time shim to work around duplicate symbols 2011-06-21 15:54:51 +10:00
close.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
conn_idle.c s3-smbd Split conn.c into 3 files 2011-05-31 00:32:07 +02:00
conn_msg.c s3-smbd Fix conn_msg.c: Cannot return in a void function 2011-05-31 02:57:19 +02:00
conn.c lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
connection.c s3-smbd: Replace client_id in smbd connection. 2011-07-04 18:28:18 +10:00
dfree.c s3-talloc Change TALLOC_P() to talloc() 2011-06-09 12:40:08 +02:00
dir.c lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
dmapi.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
dnsregister.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
dosmode.c s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH 2011-04-29 16:38:13 +10:00
error.c s3-smbd ntstatus_to_dos() pulls the DOS error codes out internally 2011-05-06 07:51:24 +02:00
fake_file.c s3-auth: smbd needs auth.h 2011-03-30 01:13:09 +02:00
file_access.c Fix bug #8254 - "acl check permissions = no" does not work in all cases 2011-06-24 01:18:11 +02:00
fileio.c lib/util/time.c: timeval_current_ofs_usec 2011-06-01 10:38:47 +02:00
filename.c More const fixes. Remove CONST_DISCARD. 2011-05-06 01:44:07 +02:00
files.c lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
globals.c s3-smbd: Remove obsolete smbd_set_server_fd(). 2011-07-04 18:28:36 +10:00
globals.h s3:smbd: make smbd_calculate_access_mask() non-static 2011-07-11 21:23:08 +02:00
ipc.c s3-talloc Change TALLOC_P() to talloc() 2011-06-09 12:40:08 +02:00
lanman.c s3-rpc_server: Migrate rpc function to tsocket_address. 2011-07-04 18:27:58 +10:00
mangle_hash2.c Simple +1 changes in hardcoded lengths when changing from safe_strcpy to strlcpy. 2011-05-04 12:12:14 -07:00
mangle_hash.c s3-smbd Remove set but unused variables 2011-06-28 10:43:26 +02:00
mangle.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
message.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
msdfs.c s3:smbd/msdfs: let create_conn_struct() check the share security descriptor 2011-07-11 21:23:08 +02:00
msg_idmap.c s3-build: remove some unused headers. 2011-04-29 12:19:03 +02:00
negprot.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
noquotas.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
notify_inotify.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
notify_internal.c tdb_compat: Higher level API fixes. 2011-06-20 11:18:35 +02:00
notify.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
ntquotas.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
nttrans.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
open.c s3:smbd: check the share level access mask in smbd_calculate_access_mask() 2011-07-11 21:33:20 +02:00
oplock_irix.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
oplock_linux.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
oplock_onefs.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
oplock.c s3-build: Provide a run-time shim to work around duplicate symbols 2011-06-21 15:54:51 +10:00
password.c s3-auth: Pass the remote_address down to user_info. 2011-07-04 18:28:02 +10:00
perfcount.c Fix many const compiler warnings. 2011-05-05 10:41:59 -07:00
pipes.c s3-rpc_server: Migrate rpc function to tsocket_address. 2011-07-04 18:27:58 +10:00
posix_acls.c s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() 2011-06-09 12:40:08 +02:00
process.c Fix bug #8293 - SMB2 doesn't rotate the log files often enough. 2011-07-08 01:14:53 +02:00
proto.h s3-lib Move event_add_idle() to source3/lib/events.c 2011-07-04 18:53:59 +10:00
quotas.c s3:smbd/quotas: add #include "system/filesys.h" (bug #8224) 2011-06-14 09:38:49 +02:00
reply.c s3-smbd: Replace client_id in smbd reply. 2011-07-04 18:28:24 +10:00
seal.c s3-auth: Added remote_address to ntlmssp server. 2011-07-04 18:28:00 +10:00
sec_ctx.c s3: only include smb profiling where needed. 2011-04-14 01:31:39 +02:00
server_exit.c s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286) 2011-07-04 20:00:26 +02:00
server_reload.c param: Merge param headers into lib/param/loadparm.h 2011-06-29 15:44:09 +10:00
server.c s3-smbd: Remove obsolete smbd_set_server_fd(). 2011-07-04 18:28:36 +10:00
service.c s3: Calculate&store the maximum share access mask 2011-07-05 13:28:08 +02:00
session.c s3-smbd: Replace client_id in smbd session. 2011-07-04 18:28:28 +10:00
sesssetup.c s3-smbd: Replace client_id in smbd session setup. 2011-07-04 18:28:30 +10:00
share_access.c s3-auth: smbd needs auth.h 2011-03-30 01:13:09 +02:00
signing.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
smb2_break.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_close.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
smb2_create.c s3:smb2_create: call 'return' after smbd_server_connection_terminate() 2011-07-04 16:21:45 +02:00
smb2_find.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_flush.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_getinfo.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_glue.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
smb2_ioctl.c s3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if needed (bug #8260) 2011-06-24 11:25:36 +02:00
smb2_keepalive.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
smb2_lock.c lib/util/time.c: timeval_current_ofs_msec 2011-06-01 10:38:47 +02:00
smb2_negprot.c s3: Safely mark our sconn as smb2 if we have that protocol 2011-05-30 22:49:53 +02:00
smb2_notify.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_read.c lib/param: Merge struct loadparm_service into common 2011-07-08 12:35:56 +02:00
smb2_server.c Move smbd_smb2_request_check_tcon() smbd_smb2_request_check_session() next to their only user and make them static. Add comments. 2011-07-08 21:01:40 +02:00
smb2_sesssetup.c Move smbd_smb2_request_check_tcon() smbd_smb2_request_check_session() next to their only user and make them static. Add comments. 2011-07-08 21:01:40 +02:00
smb2_setinfo.c s3-tevent: only include ../lib/util/tevent wrappers where needed. 2011-04-29 14:00:30 +02:00
smb2_signing.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
smb2_tcon.c Move smbd_smb2_request_check_tcon() smbd_smb2_request_check_session() next to their only user and make them static. Add comments. 2011-07-08 21:01:40 +02:00
smb2_write.c s3-globals Remove smbd_event_context() (use server_event_context()) 2011-05-31 00:32:07 +02:00
smbd.h s3-locking: move locking prototypes out of proto.h. 2011-03-30 01:13:09 +02:00
srvstr.c s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() 2011-06-09 12:40:08 +02:00
statcache.c s3-build: Provide a run-time shim to work around duplicate symbols 2011-06-21 15:54:51 +10:00
statvfs.c s3: include smbd/smbd.h where needed. 2011-03-30 01:13:08 +02:00
trans2.c s3-param Remove special case for global_myname(), rename to lp_netbios_name() 2011-06-09 12:40:09 +02:00
uid.c s3: Return "granted" from share_access_check 2011-07-05 13:28:03 +02:00
utmp.c s3: try to fix the build on some non-linux buildfarm machines. 2011-03-30 11:39:31 +02:00
vfs.c s3:smbd fix a compile warning on AIX 5.3 2011-07-05 19:51:42 +02:00