Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-28 | Added prefer_ipv4 bool parameter to resolve_name(). | Jeremy Allison | 1 | -1/+2 | |
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy. | |||||
2009-07-27 | Fix the build breakage by #including modules/vfs_acl_common.c | Jeremy Allison | 1 | -27/+0 | |
into acl_tdb and acl_xattr. Duplicates the code size, but keeps the code in common so I don't have to do bug fixes in two places (which is what I really cared about). Jeremy. | |||||
2009-07-27 | Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndr | Volker Lendecke | 1 | -4/+7 | |
2009-07-27 | Fix a valgrind error in chain_reply | Volker Lendecke | 1 | -0/+2 | |
construct_reply() references the request after chain_reply has freed it. | |||||
2009-07-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 2 | -2/+4 | |
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-24 | Factor out common code into vfs_acl_common.c. | Jeremy Allison | 1 | -0/+27 | |
Jeremy. | |||||
2009-07-24 | s3: Simplify rename_internals() by passing in smb_filename structs | Tim Prouty | 1 | -2/+2 | |
2009-07-24 | s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵ | Tim Prouty | 1 | -0/+2 | |
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 | 2 | -0/+2 | |
2009-07-24 | Move the "enum _vfs_op_type" to full_audit | Volker Lendecke | 1 | -142/+0 | |
It's only used there now. Someone should now go in and simplify full_audit... :-) | |||||
2009-07-24 | Make the smbd VFS typesafe | Volker Lendecke | 4 | -780/+1063 | |
2009-07-21 | s3: Remove the now unused fname parameter from filename_convert() | Tim Prouty | 1 | -2/+1 | |
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 1 | -1/+2 | |
2009-07-20 | s3: Plumb smb_filename through open_fake_file | Tim Prouty | 1 | -2/+2 | |
2009-07-20 | s3: Separate out a new file: filename_utils.c | Tim Prouty | 1 | -20/+23 | |
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 | 1 | -2/+2 | |
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 2 | -2/+5 | |
2009-07-20 | Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb.... | Jeremy Allison | 1 | -7/+0 | |
Jeremy. | |||||
2009-07-16 | s3-rpc_parse: remove more unused code. | Günther Deschner | 1 | -16/+0 | |
Guenther | |||||
2009-07-16 | s3-spoolss: make some of the command hooks static. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2009-07-15 | Make cli_unlock and cli_unlock64 async. Fix POSIX lock test. | Jeremy Allison | 1 | -2/+16 | |
Jeremy. | |||||
2009-07-15 | s3:registry: add function regsubkey_ctr_reinit() | Michael Adam | 1 | -0/+1 | |
This reinitializes an already allocated regsubkey_ctr structure, emptying out the subkey array and hash table. Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_fetch_bystring_upper(). | Michael Adam | 1 | -0/+2 | |
To fetch a key whose name is stored but not given in upper case. Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_store_bystring_upper(). | Michael Adam | 1 | -0/+2 | |
This stores a key under the uppercase version of the given keyname. Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_delete_bystring_upper() | Michael Adam | 1 | -0/+1 | |
To delete a key whose name is not given in but stored in uppercase. Michael | |||||
2009-07-15 | s3:dbwrap: add a wrapper dbwrap_trans_do() | Michael Adam | 1 | -0/+3 | |
This function wraps the action() callback into a db transaction and the transaction is either committed or cancelled, depending on the return value of the action function. Michael | |||||
2009-07-15 | Consolidate string and data_blob routines in gencache | Volker Lendecke | 1 | -1/+2 | |
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-15 | Add tdb_data_cmp | Volker Lendecke | 1 | -0/+2 | |
2009-07-15 | Remove gencache_init/shutdown | Volker Lendecke | 1 | -2/+0 | |
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required. | |||||
2009-07-15 | Remove gencache_[un]lock_key | Volker Lendecke | 1 | -2/+0 | |
2009-07-14 | Revert this commit : | Jeremy Allison | 2 | -12/+1 | |
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 | 2 | -1/+12 | |
relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. | |||||
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 3 | -27/+31 | |
Guenther | |||||
2009-07-13 | Make cli_posix_lock/unlock asynchronous. | Jeremy Allison | 1 | -3/+18 | |
Jeremy. | |||||
2009-07-13 | s3-rpc_server: pass down full unix token to map_max_allowed_access(). | Günther Deschner | 1 | -2/+3 | |
Also use unix_token->uid instead of geteuid() when checking for mapping of the SEC_FLAG_MAXIMUM_ALLOWED flag. Guenther | |||||
2009-07-13 | libds: merge the UF<->ACB flag mapping functions. | Günther Deschner | 1 | -7/+9 | |
Guenther | |||||
2009-07-13 | libds: share UF_ flags between samba3 and 4. | Günther Deschner | 1 | -125/+2 | |
Guenther | |||||
2009-07-10 | Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵ | Jeremy Allison | 2 | -3/+0 | |
a lot easier. Jeremy. | |||||
2009-07-09 | Make escape_ldap_string take a talloc context | Volker Lendecke | 1 | -1/+1 | |
2009-07-08 | s3: Change the share_mode_lock struct to store a base_name and stream_name | Tim Prouty | 2 | -7/+6 | |
2009-07-08 | s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name() | Tim Prouty | 1 | -3/+0 | |
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-08 | s3: Plumb smb_filename through dos_mode() and related funtions | Tim Prouty | 1 | -5/+7 | |
2009-07-08 | s3: convert unix_mode to take an smb_filename | Tim Prouty | 1 | -1/+2 | |
2009-07-08 | Rename update_stat_ex_writetime() -> update_stat_ex_mtime() | Jeremy Allison | 1 | -1/+1 | |
to better describe what we're doing here. Jeremy | |||||
2009-07-08 | The migration to struct stat_ex broke the calculation of | Jeremy Allison | 2 | -0/+3 | |
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-07 | s3: Remove unnecessary const qualifiers | Tim Prouty | 1 | -5/+4 | |
2009-07-07 | s3: QNX doesn't know uint - replace with uint_t | Björn Jacke | 1 | -4/+4 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_NTIMES | Tim Prouty | 2 | -6/+7 | |
2009-07-06 | s3 sticky write time: Removed unused args and tighten up a function by ↵ | Tim Prouty | 1 | -3/+4 | |
making an arg const |