summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-07-12s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2Stefan Metzmacher2-15/+31
metze
2009-07-12s3:smbd: split calculation and mashalling of file index and access_maskStefan Metzmacher1-13/+19
metze
2009-07-12s3:smbd: split out smbd_do_qfilepathinfo() from call_trans2qfilepathinfo()Stefan Metzmacher1-459/+504
This prepares SMB2 GetInfo. metze
2009-07-12s3:smbd: add missing return after reply_nterror()Stefan Metzmacher1-0/+1
metze
2009-07-10Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison7-87/+79
a lot easier. Jeremy.
2009-07-10Add hash values to the xattr ACLS to determine whenJeremy Allison1-55/+158
an underlying POSIX ACL is changed out from under us. Passes RAW-ACL test up to "invalid owner" problem when trying to create a file owned by Everyone. Now needs porting to modules/vfs_acl_tdb.c Jeremy.
2009-07-10Return 0 domains from enum_trusteddomsVolker Lendecke1-1/+3
2009-07-10Quieten events and tldap debug messagesVolker Lendecke2-2/+2
2009-07-10s3 smb2: Remove unused variableTim Prouty1-1/+0
2009-07-10Fix&Run local-gencacheVolker Lendecke2-4/+2
2009-07-10Fix our base64 implementation for blobs of length 4....Volker Lendecke3-1/+36
The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-)
2009-07-10s3:smbd: add support for SMB2 LockStefan Metzmacher1-1/+151
metze
2009-07-10s3:smbd: make smbd_do_locking() non staticStefan Metzmacher2-16/+26
metze
2009-07-10s3:smbd: abstract the main locking logic from the LockingAndX parsingStefan Metzmacher1-178/+254
This prepares SMB2 Lock support. metze
2009-07-10s3:smbd: pass down the client pid to smbd_smb2_lock_send()Stefan Metzmacher1-0/+6
metze
2009-07-10s3:smbd: fix parsing of SMB2 Lock requests with lock_count > 1Stefan Metzmacher1-10/+13
We should not reuse the variable 'i'. metze
2009-07-10s3:smbd: fix parsing of invalid SMB2 requests.Stefan Metzmacher1-2/+2
Because of 0 - 2 => 0xFFFFFFFE, we got EMSGSIZE from the tstream layer. And terminate the transport connection. Instead we should let the caller deal with the invalid parameter, when checking the body size. So the caller always gets at least a 2 byte body. metze
2009-07-09s3: Fix two arguments that broke when plumbing smb_filneame through dos_mode()Tim Prouty1-2/+2
2009-07-09Make escape_ldap_string take a talloc contextVolker Lendecke7-52/+54
2009-07-08s3: Repace a char * with an smb_filename struct in reply_rmdirTim Prouty1-3/+8
2009-07-08s3: Prepare open.c to switch fsp_name to an smb_filename structTim Prouty2-23/+30
2009-07-08s3 plumb smb_filename through smb_set_file_allocation_info()Tim Prouty1-23/+12
2009-07-08s3: Change the share_mode_lock struct to store a base_name and stream_nameTim Prouty7-87/+147
2009-07-08s3: Make some arguments to (parse|unparse)_share_modes() constTim Prouty1-2/+2
2009-07-08s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty7-199/+105
Actually I moved split_ntfs_stream_name into torture.c which is the one consumer of it. This could probably be changed at some point.
2009-07-08s3: Plumb smb_filename through dos_mode() and related funtionsTim Prouty12-347/+436
2009-07-08s3: convert unix_mode to take an smb_filenameTim Prouty6-24/+67
2009-07-08Rename update_stat_ex_writetime() -> update_stat_ex_mtime()Jeremy Allison5-9/+9
to better describe what we're doing here. Jeremy
2009-07-08The migration to struct stat_ex broke the calculation ofJeremy Allison6-24/+118
create time from the existing timestamps (for systems that need to do this). Once the write time is changed via a sticky write, the create time might need to be recalculated. To do this I needed to add a bool into struct stat_ex to remember if the st_ex_btime field was calculated, or read from the OS. Also fixed the returning of modified write timestamps in the return from NTCreateX, SMBattr and SMBattrE (which weren't taking into account the modified timestamp stored in the open file table). Attempting to fix an issue with Excel 2003 and offline files. Volker and Metze, please review. Jeremy
2009-07-08When faking a create time, use the full timespec values, not time_t.Jeremy Allison1-61/+63
Jeremy.
2009-07-08Fix make test_shlibs for libnss_wins and libnetapi (zlib)Jim McDonough1-2/+2
2009-07-08Fix cifs.upcall builds on some platforms (zlib)Jim McDonough1-1/+1
2009-07-07s3 onefs: Fix a few bugs from the smb_filename migrationTim Prouty3-49/+35
2009-07-07s3: Migrate a few functions in open.c to take smb_filenameTim Prouty1-13/+15
2009-07-07s3: Remove unnecessary const qualifiersTim Prouty3-10/+7
2009-07-07s3: QNX doesn't know uint - replace with uint_tBjörn Jacke2-8/+8
2009-07-07Attempt to fix the build of vfs_catia.c -- Tim, please check!Volker Lendecke1-2/+2
2009-07-07s3:smbd: cancel all locks that are made before the first failureStefan Metzmacher1-6/+6
s3:smbd: cancel all locks that are made before the first failure We never reached the cleanup code and directly returned the error. metze
2009-07-06s3: Update streaminfo implementations now that only base names are passed ↵Tim Prouty4-21/+20
through the vfs
2009-07-06s3 smb2: Fix unused variable warningTim Prouty1-1/+0
2009-07-06s3 audit: Fix a memory leakTim Prouty1-4/+4
2009-07-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty15-172/+230
2009-07-06s3 catia: Remove pointless VOPs from catiaTim Prouty1-84/+0
2009-07-06s3 sticky write time: Removed unused args and tighten up a function by ↵Tim Prouty4-11/+11
making an arg const
2009-07-06s3: Plumb smb_filename around SMB_VFS_CHFLAGSTim Prouty10-128/+117
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name.
2009-07-06s3: Change some filename_convert to pass in NULL for char **fname argumentTim Prouty5-16/+13
2009-07-06s3: Add ability to pass NULL to filename_convert for the char *fnameTim Prouty1-7/+11
The goal is to eventually remove the need for the char **fname argument once all callers have standardized on smb_filename.
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty23-377/+665
2009-07-06s3 audit: Remove some recently introduced memory leaks in the audit modulesTim Prouty2-12/+45
2009-07-06s3 audit: Remove the usesless static function declarations from the audit ↵Tim Prouty3-641/+308
modules