summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-07-27Fix a valgrind error in winbindVolker Lendecke1-1/+2
When looking for idle clients, we dereferenced state->response. As this is dynamically allocated now, the proper test is whether state->response exists at all. This is the case when an async operation is in process at that moment.
2009-07-27Fix some nonempty blank linesVolker Lendecke1-105/+103
2009-07-27Fix a valgrind error in cli_ctemp_doneVolker Lendecke1-1/+3
For performance reasons cli_smb_recv does not make copies of the buffers we received from the client, so both "vwv" and "bytes" vanish with TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in this case it's justified not to make copies. Comments?
2009-07-26Fix valgrind errors in DeleteDomainGroup and DeleteDomAliasVolker Lendecke1-4/+4
2009-07-26Fix a valgrind error in _samr_DeleteUserVolker Lendecke1-2/+2
The close_handle invalidates uinfo
2009-07-25Fix a 32/64bit stack corruption bugVolker Lendecke1-1/+1
2009-07-25Cleanup patch after "new VFS"Volker Lendecke1-1/+1
2009-07-25Cleanup patch after "struct stat_ex"Volker Lendecke1-2/+2
2009-07-25Remove a pointless static fstringVolker Lendecke1-5/+3
2009-07-25Move 16 bytes from data to r/o text segmentVolker Lendecke1-1/+1
2009-07-25Fix a winbind memleakVolker Lendecke1-0/+1
2009-07-25Use a switch statement in charset_name()Volker Lendecke1-8/+24
2009-07-25Fix some nonempty blank linesVolker Lendecke1-17/+17
2009-07-25First patch for "new VFS" portabilityVolker Lendecke1-5/+5
2009-07-24s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty8-112/+90
This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path.
2009-07-24s3: Remove a few callers of get_full_smb_filename()Tim Prouty2-45/+81
2009-07-24s3 onefs: Fix the onefs modules after the big refactoringTim Prouty5-22/+22
2009-07-24Factor out common code into vfs_acl_common.c.Jeremy Allison5-1274/+682
Jeremy.
2009-07-24s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty4-157/+127
2009-07-24s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty8-42/+88
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
2009-07-24Make acl_tdb match acl_xattr. Large duplication ofJeremy Allison1-68/+225
code here needs tidying up. Compiles but not yet tested. Jeremy.
2009-07-24Fix hash function in acl_xattr to be SHA256, makeJeremy Allison2-62/+100
the hash function selectable. Upgrade version. Compiles but not fully tested yet (coming). Make vfs_acl_tdb.c compile - this needs updating to match acl_xattr (also coming soon). Jeremy.
2009-07-24add my copyright after the VFS rewriteVolker Lendecke3-0/+3
2009-07-24Move the "enum _vfs_op_type" to full_auditVolker Lendecke2-142/+142
It's only used there now. Someone should now go in and simplify full_audit... :-)
2009-07-24Make the smbd VFS typesafeVolker Lendecke53-2411/+2660
2009-07-24Fix the chain2 testVolker Lendecke1-1/+3
2009-07-24In chain_reply, copy the subrequests' error to the main requestVolker Lendecke1-0/+15
2009-07-24Fix a few uninitialized variable warningsVolker Lendecke10-20/+20
I know those warnings are bogus, but both Coverity and gcc don't get it.
2009-07-24Some more VFS type errorsVolker Lendecke1-2/+2
2009-07-24Fix some nonempty blank linesVolker Lendecke1-4/+4
2009-07-24Fix some C++ warningsVolker Lendecke1-4/+7
2009-07-22s3: Change unix_convert to use an smb_filename struct internallyTim Prouty2-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-22s3: Convert some callers of vfs_lstat_smb_fname to SMB_VFS_LSTAT()Tim Prouty2-9/+30
2009-07-22s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()Tim Prouty4-26/+37
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin11-137/+209
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-07-21s3: plumb smb_filename through some of the trans2 posix_* functionsTim Prouty1-60/+38
2009-07-21s3: Remove unnecessary callers of get_full_smb_filenameTim Prouty5-159/+81
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-21s3: Remove the now unused fname parameter from filename_convert()Tim Prouty7-56/+26
2009-07-21s3: Fix RENAME_FLAG_RENAME path to stop calling unix_convert twiceTim Prouty1-50/+75
2009-07-21s3: Remove unnecessary fname argument from callers of filename_convertTim Prouty1-9/+14
2009-07-21s3: Plumb smb_filename through map_open_params_to_ntcreateTim Prouty4-20/+22
2009-07-21do not log chdir with level 0 if reason is access deniedChristian Ambach1-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-21s3:dbwrap: use the transaction wrapper in dbwrap_trans_store().Michael Adam1-26/+23
Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael
2009-07-21s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete().Michael Adam1-28/+12
Michael
2009-07-20s3: Add some asserts to the filename util functionsTim Prouty1-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-20s3: Plumb smb_filename through open_fake_fileTim Prouty3-20/+26
2009-07-20s3: Separate out a new file: filename_utils.cTim Prouty6-254/+280
This is to ease the linking pain of everything that links LOCKING_OBJ
2009-07-20s3: Move is_ntfs_stream*() to filename.cTim Prouty3-26/+26
2009-07-20s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.Tim Prouty23-263/+312
2009-07-20s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty32-590/+585