Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-24 | s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵ | Tim Prouty | 6 | -42/+82 | |
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath(). | |||||
2009-07-24 | add my copyright after the VFS rewrite | Volker Lendecke | 1 | -0/+1 | |
2009-07-24 | Make the smbd VFS typesafe | Volker Lendecke | 1 | -32/+838 | |
2009-07-24 | In chain_reply, copy the subrequests' error to the main request | Volker Lendecke | 1 | -0/+15 | |
2009-07-24 | Fix a few uninitialized variable warnings | Volker Lendecke | 10 | -20/+20 | |
I know those warnings are bogus, but both Coverity and gcc don't get it. | |||||
2009-07-24 | Fix some nonempty blank lines | Volker Lendecke | 1 | -4/+4 | |
2009-07-22 | s3: Change unix_convert to use an smb_filename struct internally | Tim Prouty | 2 | -138/+168 | |
This allows SMB_VFS_[L]STAT to be called directly. Additionally, I changed NTSTATUS result to be named status for consistency. I also removed the stat_cache_add() from build_stream_path() because stat_cache_lookup() is never actually called on a file with a stream. There is no reason why the stat cache couldn't be consulted for streams in the future. Jeremy/Volker, please take a look at this one when you get a chance. | |||||
2009-07-22 | s3: Convert some callers of vfs_lstat_smb_fname to SMB_VFS_LSTAT() | Tim Prouty | 2 | -9/+30 | |
2009-07-22 | s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT() | Tim Prouty | 4 | -26/+37 | |
2009-07-21 | s3: plumb smb_filename through some of the trans2 posix_* functions | Tim Prouty | 1 | -60/+38 | |
2009-07-21 | s3: Remove unnecessary callers of get_full_smb_filename | Tim Prouty | 4 | -119/+63 | |
This often times means explicitly denying certain operations on a stream as they are not supported or don't make sense at a particular level. At some point in the future these can be enabled, but for now it's better to remove ambiguity | |||||
2009-07-21 | s3: Remove the now unused fname parameter from filename_convert() | Tim Prouty | 5 | -50/+23 | |
2009-07-21 | s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twice | Tim Prouty | 1 | -50/+75 | |
2009-07-21 | s3: Remove unnecessary fname argument from callers of filename_convert | Tim Prouty | 1 | -9/+14 | |
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 3 | -19/+20 | |
2009-07-21 | do not log chdir with level 0 if reason is access denied | Christian Ambach | 1 | -2/+2 | |
this changes the level of logs caused by users trying to access shares or subdirectories for which they do not have access to in the ACL this can fill up the samba log even with log level 0 and is more an expected kind of logs that IMHO should not be logged with such a high level. All other errors while chdir() will still be logged with level 0 Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | |||||
2009-07-20 | s3: Add some asserts to the filename util functions | Tim Prouty | 1 | -0/+12 | |
In the smb_filename struct stream_name must equal NULL if there is no stream name. These asserts should catch any future offenders of this invariant early. | |||||
2009-07-20 | s3: Plumb smb_filename through open_fake_file | Tim Prouty | 2 | -18/+24 | |
2009-07-20 | s3: Separate out a new file: filename_utils.c | Tim Prouty | 4 | -228/+249 | |
This is to ease the linking pain of everything that links LOCKING_OBJ | |||||
2009-07-20 | s3: Move is_ntfs_stream*() to filename.c | Tim Prouty | 2 | -24/+24 | |
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 27 | -559/+539 | |
2009-07-20 | s3 onefs oplocks: Replace static fstring with talloc'd dbg_ctx() | Tim Prouty | 1 | -16/+16 | |
2009-07-20 | s3: Change file_structs to be allocated with talloc instead of malloc | Tim Prouty | 1 | -10/+15 | |
2009-07-17 | Fix Coverity CID 928. Removed check as this can never be null. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-07-17 | Fix Coverity CID 929. Potential NULL deref after code refactoring. | Jeremy Allison | 1 | -0/+5 | |
Jeremy. | |||||
2009-07-17 | Fix coverity CID 930. Pointer check can never be null here. | Jeremy Allison | 1 | -1/+1 | |
Jeremy | |||||
2009-07-17 | Fix coverity CID 931. This check is redundent as smb_fname can | Jeremy Allison | 1 | -1/+1 | |
never be null in this function. Jeremy. | |||||
2009-07-17 | Move the initialization of smbd_server_conn from smbd/process, | Jeremy Allison | 2 | -5/+5 | |
after the accept and fork, to smbd_init_globals(), so it's done immediately on server startup. This is needed as some messages are sent to all active smbd processes (including the master listening daemon). If it gets a message that forces it to scan it's current connections (ie. conn_find()) then it discovers that sconn->smb1.tcons.Connections dereferences null (as sconn == NULL in the parent) and crashes. Yes, I could fix all cases where sconn is used and explicitly check for NULL but this fix is easier. It means that the smbd_event_context() is initialized in the master daemon and then re-initialized after fork, but that should be being done correctly in every fork call anyway. Without this change the previous fix 6a9e0039100b57f9626e87defec6720c476b9789 still panics in the reproducible test case for bug 6564, as this is one case where such a message (MSG_SMB_CONF_UPDATED) is sent to the parent. Metze please check. This change passes valgrind. Jeremy. | |||||
2009-07-17 | Fix bug #6564 - SetPrinter fails (panics) as non root. | Jeremy Allison | 1 | -0/+1 | |
Missing become_root()/unbecome_root() around reload_services. Jeremy. | |||||
2009-07-15 | Fix bug #6551 - win98 clients cannot connect after server upgrade to ↵ | Jeremy Allison | 2 | -0/+3 | |
samba-3.4.0. The values of vuid and tid were not being correctly updated in the struct smb_request when passed to chain_reply inside sessionsetupX and tconX. Jeremy. | |||||
2009-07-15 | s3:smbd: try to fix a compiler warning on i386 : left shift count >= width ↵ | Stefan Metzmacher | 1 | -1/+1 | |
of type metze | |||||
2009-07-15 | s3:smbd: add support for SMB2 SetInfo File*Information | Stefan Metzmacher | 1 | -1/+128 | |
metze | |||||
2009-07-15 | s3:smbd: implement SMB2 GetInfo with Fs*Information | Stefan Metzmacher | 1 | -0/+47 | |
metze | |||||
2009-07-15 | s3:smbd: return NT_STATUS_INVALID_INFO_CLASS in SMB2 GetInfo | Stefan Metzmacher | 1 | -3/+7 | |
metze | |||||
2009-07-15 | s3:smbd: check quota access against sec_initial_uid() instead of 0 | Stefan Metzmacher | 1 | -6/+6 | |
And return an NTSTATUS mapped from errno. Instead of hardcoded values. metze | |||||
2009-07-15 | Make gencache more stable | Volker Lendecke | 1 | -0/+1 | |
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction. | |||||
2009-07-14 | Create a talloc_stackframe for each file in wildcard unlink | Volker Lendecke | 1 | -0/+10 | |
There might be *many* files to delete | |||||
2009-07-14 | TALLOC_FREE(sd) in check_open_rights upon an error | Volker Lendecke | 1 | -0/+1 | |
2009-07-14 | Revert this commit : | Jeremy Allison | 5 | -212/+27 | |
s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. For now. This is a feature request and I think we need to design it a little differently so as not to touch core change_to_user() code. Jeremy. | |||||
2009-07-15 | s3: Make smbd aware of permission change of usershare. Since usershare are ↵ | Bo Yang | 5 | -27/+212 | |
relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. | |||||
2009-07-14 | s3: make d9c0d58236 better readble and reduce indentation | Björn Jacke | 1 | -13/+13 | |
2009-07-14 | s3: don't make same innetgr check twice | Björn Jacke | 1 | -8/+11 | |
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2009-07-13 | Fix set_posix_lock check which had been reversed in the recent | Jeremy Allison | 1 | -1/+1 | |
changes. Jeremy. | |||||
2009-07-13 | s3:smbd: close_file() handles named pipes just fine, no reason to return ↵ | Stefan Metzmacher | 1 | -5/+0 | |
NOT_SUPPORTED metze | |||||
2009-07-13 | s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfo | Stefan Metzmacher | 2 | -8/+17 | |
metze | |||||
2009-07-13 | s3:smbd: split out smbd_do_qfsinfo() from call_trans2qfsinfo() | Stefan Metzmacher | 1 | -79/+93 | |
metze | |||||
2009-07-13 | s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfo | Stefan Metzmacher | 2 | -8/+17 | |
metze | |||||
2009-07-13 | s3:smbd: split out smbd_do_setfilepathinfo() from call_trans2setfilepathinfo() | Stefan Metzmacher | 1 | -188/+216 | |
metze | |||||
2009-07-12 | s3:smbd: start SMB2 GetInfo support for File*Information levels | Stefan Metzmacher | 1 | -1/+139 | |
TODO: the EA levels are not fully supported. metze |