Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-29 | s3: Move directory_exist_stat to testparm.c, it only looks at the mode | Volker Lendecke | 1 | -21/+0 | |
2009-11-29 | s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵ | Volker Lendecke | 1 | -2/+3 | |
look at the mtime | |||||
2009-11-29 | s3: "get_file_size" only looks at the size | Volker Lendecke | 1 | -1/+1 | |
2009-11-29 | s3: "socket_exist" only looks at the mode | Volker Lendecke | 1 | -1/+1 | |
2009-11-29 | s3: Pass the "fake dir create times" parameter to sys_*stat | Volker Lendecke | 1 | -4/+4 | |
Step 0 to restore it as a per-share paramter | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match() explicit" | Volker Lendecke | 1 | -8/+4 | |
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵ | Volker Lendecke | 1 | -3/+3 | |
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -3/+2 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -0/+12 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -12/+0 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 1 | -2/+3 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match_list() explicit | Volker Lendecke | 1 | -3/+3 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match() explicit | Volker Lendecke | 1 | -4/+8 | |
2009-11-21 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -16/+16 | |
2009-11-21 | s3: Avoid two calls to strcmp() | Volker Lendecke | 1 | -4/+4 | |
2009-11-14 | Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/ | Volker Lendecke | 1 | -0/+11 | |
2009-11-04 | Remove "Protocol" as an extern, and add accessor functions. | Jeremy Allison | 1 | -1/+11 | |
Jeremy. | |||||
2009-09-11 | s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct. | Günther Deschner | 1 | -0/+18 | |
Guenther | |||||
2009-08-25 | Allow for name array strings that don't end in a slash | Zach Loafman | 1 | -12/+17 | |
Fix set_namearray to allow for strings that don't end in a slash. Also remove unnecessary strdup()s. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-08-24 | make smbcontrol smbd ping work proper checking for arguments handle short ↵ | Olaf Flebbe | 1 | -6/+16 | |
pid_t correctly | |||||
2009-07-08 | s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name() | Tim Prouty | 1 | -90/+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-01 | s3:util: let parent_dirname() correctly return toplevel filenames | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-06-12 | s3: Call va_end() after all va_start()/va_copy() calls. | Andrew Kroeger | 1 | -1/+1 | |
There are error paths in S3 where va_end() is not properly called after va_start() or va_copy() have been called. These issues were noted while performing an inspection for S4 bug #6129. Thanks to Erik Hovland <erik@hovland.org> for the original bug report. | |||||
2009-05-29 | util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique. | Günther Deschner | 1 | -33/+0 | |
Guenther | |||||
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 1 | -6/+6 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -5/+5 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-04-20 | Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if | Jelmer Vernooij | 1 | -18/+0 | |
the system one is broken. | |||||
2009-03-18 | s3: remove POLICY_HND. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-03-17 | Remove the global "struct cm_cred_struct" and associated calls, make | Jeremy Allison | 1 | -0/+40 | |
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy. | |||||
2009-03-16 | Add some appropriate const. | Jeremy Allison | 1 | -8/+8 | |
Jeremy. | |||||
2009-03-04 | s3: Remove madvise support | Steven Danneman | 1 | -7/+0 | |
This reverts 193be432. The MADVISE_PROTECT is inherited by all child processes and cannot be unset. The intention of the original patch was to protect the parent process, but allow children to be killed in low memory. Since this isn't possible with the current API, reverting the whole feature. | |||||
2009-02-24 | Remove read_pkt | Volker Lendecke | 1 | -99/+0 | |
2009-02-20 | s3: Refactor of madvise() usage in c441f58d | Steven Danneman | 1 | -0/+7 | |
* move to reinit_after_fork() to protect all Samba daemons * only protect parent processes | |||||
2009-02-20 | Moved become_daemon() and close_low_fds() to shared util lib | Steven Danneman | 1 | -67/+0 | |
2009-02-13 | Replace get_myname() with the talloc version from v3-3-test | Volker Lendecke | 1 | -30/+1 | |
2009-02-10 | Add read_pkt_send/recv | Volker Lendecke | 1 | -0/+99 | |
2009-01-31 | Remove the global variable "chain_size" | Volker Lendecke | 1 | -3/+0 | |
2009-01-29 | s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation | Tim Prouty | 1 | -1/+10 | |
This allows module implementors to customize what allocation size is returned to the client. | |||||
2009-01-20 | s3: reinit_after_fork() should reinit the event context before the messaging ↵ | Stefan Metzmacher | 1 | -4/+4 | |
context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze | |||||
2009-01-15 | Allow reinit_after_fork to be called safely from within swat and other ↵ | Jeremy Allison | 1 | -10/+14 | |
binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy. | |||||
2009-01-12 | Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c | Steven Danneman | 1 | -14/+46 | |
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 1 | -0/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-31 | Rename parent_dirname_talloc() to parent_dirname() | Volker Lendecke | 1 | -2/+2 | |
2008-12-31 | Remove unused function parent_dirname | Volker Lendecke | 1 | -13/+0 | |
2008-12-31 | Make use of TALLOC_MEMDUP in parent_dirname_talloc() | Volker Lendecke | 1 | -2/+1 | |
2008-12-31 | Remove unused function get_numlist() | Volker Lendecke | 1 | -51/+0 | |
2008-12-14 | Remove the global "cmdline_auth_info" from source3/lib/util.c | Volker Lendecke | 1 | -62/+81 | |
This involves changing all our clients, that's why it's so large. | |||||
2008-11-28 | Move cli_trans_oob to lib/util.c | Volker Lendecke | 1 | -0/+19 | |
Rename it to trans_oob, it will be used in the server routines. | |||||
2008-11-06 | Make us clean under valgrind --leak-check=full by using ↵ | Jeremy Allison | 1 | -3/+3 | |
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy. | |||||
2008-10-19 | Remove silly safe_free() function which is a wrapper around SAFE_FREE(). | Jelmer Vernooij | 1 | -11/+0 | |
Since it's a function it just sets the local pointer to NULL and basically is an equivalent to free(). It also claims it's being used for callbacks but isn't used that way anywhere. |