Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-06 | Fix bug 6673 - smbpasswd does not work with "unix password sync = yes". | Jeremy Allison | 1 | -1/+1 | |
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy. | |||||
2009-08-28 | s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME | Aravind Srinivasan | 1 | -1/+1 | |
This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-08-27 | s3:smbd: add is_fake_file_path() that takes only the raw path as string | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-08-27 | s3-schannel: remove remaining code that was using "struct dcinfo". | Günther Deschner | 1 | -6/+0 | |
Guenther | |||||
2009-08-27 | s3-credentials: remove unused code. | Günther Deschner | 1 | -17/+0 | |
Guenther | |||||
2009-08-27 | s3-schannel: add simple wrappers to fetch and store schannel auth info. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2009-08-27 | s3-schannel: make open_schannel_session_store() public. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-08-26 | s3/smbd: open the share_info.tdb on startup instead of tconx | Steven Danneman | 1 | -0/+1 | |
This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system. | |||||
2009-08-26 | Add a parameter to disable the automatic creation of krb5.conf files | Volker Lendecke | 1 | -0/+1 | |
This is necessary because MIT 1.5 can't deal with certain types (Tree Root) of transitive AD trusts. The workaround is to add a [capaths] directive to /etc/krb5.conf, which we don't automatically put into the krb5.conf winbind creates. The alternative would have been something like a "krb5 conf include", but I think if someone has to mess with /etc/krb5.conf at this level, it should be easy to add the site-local KDCs as well. Next alternative is to correctly figure out the [capaths] parameter for all trusted domains, but for that I don't have the time right now. Sorry :-) | |||||
2009-08-25 | Add some const to dsgetdcname | Volker Lendecke | 1 | -1/+1 | |
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 1 | -2/+3 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-24 | Second part of fix for 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+1 | |
ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy. | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 1 | -0/+1 | |
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy | |||||
2009-08-12 | Add "store create time" parameter (docs to follow) | Jeremy Allison | 1 | -2/+10 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 1 | -0/+6 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-08-07 | s3:smbd: move dptr globals into struct smbd_server_connection | Stefan Metzmacher | 1 | -9/+13 | |
metze | |||||
2009-08-07 | s3:smbd: remove dirptr and dirpath from connection_struct | Stefan Metzmacher | 1 | -1/+1 | |
They're both only used in the context of a function, so we can make them stack variables. metze | |||||
2009-08-07 | s3:smbd: conn_free_internal() can be static now | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2009-08-07 | s3:smbd: add a smbd_server_connection pointer to connection_struct | Stefan Metzmacher | 1 | -4/+2 | |
This can be NULL for faked connection structs used in the rpc server or printing code. metze | |||||
2009-08-06 | Remove a const warning. | Jeremy Allison | 1 | -1/+2 | |
Jeremy. | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_int32_atomic() | Michael Adam | 1 | -0/+4 | |
A transaction wrapper for dbwrap_change_int32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32 | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_uint32_atomic() | Michael Adam | 1 | -0/+4 | |
A transaction wrapper for dbwrap_change_uint32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-28 | (Hopefully) fix the problem Kai reported with | Jeremy Allison | 1 | -0/+3 | |
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. | |||||
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-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 1 | -1/+2 | |
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 | Make the smbd VFS typesafe | Volker Lendecke | 1 | -1/+2 | |
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 | 1 | -1/+4 | |
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 | |