Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-25 | s3: Report the correct path when dumping core on FreeBSD | Tim Prouty | 1 | -1/+83 | |
Utilize the kern.corefile sysctl value on FreeBSD | |||||
2009-02-25 | s3: Refactor and cleanup the error paths in dump_core_setup | Tim Prouty | 1 | -42/+49 | |
2009-02-25 | s3:events: map TEVENT_DEBUG_TRACE to debug level 10 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-24 | s3: Fix a bug that prevent core files from being created | Tim Prouty | 1 | -1/+0 | |
Removed an erroneous free() that was causing the corepath to be NULL during dump_core(). This prevented dump_core() from actually calling abort() to create a core file. The bug was introduced in December by: 07e0094365e8dc360a83eec2e7cf9b1d5d8d6d00 | |||||
2009-02-24 | Use read_packet for wb_resp_read | Volker Lendecke | 1 | -90/+29 | |
2009-02-24 | Use read_packet for wb_req_read | Volker Lendecke | 1 | -92/+36 | |
2009-02-24 | Remove read_pkt | Volker Lendecke | 1 | -99/+0 | |
2009-02-24 | Use async writev for wb_resp_write | Volker Lendecke | 1 | -53/+23 | |
2009-02-24 | Use async writev in wb_req_write | Volker Lendecke | 1 | -52/+22 | |
2009-02-24 | Convert async_connect to tevent_req | Volker Lendecke | 2 | -31/+60 | |
2009-02-24 | s3-lib: add marshall_sec_desc_buf and unmarshall_sec_desc_buf helpers. | Günther Deschner | 1 | -0/+63 | |
Guenther | |||||
2009-02-23 | Refactored sys_fork() and sys_pid() into shared util library | Steven Danneman | 1 | -29/+0 | |
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid(). | |||||
2009-02-23 | More warning fixes for Solaris. | Jeremy Allison | 4 | -7/+7 | |
Jeremy. | |||||
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-19 | s3: Add extid to the dev/inode pair | Tim Prouty | 1 | -6/+24 | |
This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid. | |||||
2009-02-19 | s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat struct | Tim Prouty | 1 | -16/+1 | |
Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it. | |||||
2009-02-19 | Fix an uninitialized variable | Volker Lendecke | 1 | -0/+1 | |
2009-02-18 | S3: Stop creating SMBD cores when failing to create a pipe. | todd stecher | 1 | -1/+11 | |
This was uncovered when the MAX FD limit was hit, causing an instant core and invoking error reporting. This fix causes SMBD to exit, but without building a core. | |||||
2009-02-17 | Fix warning about missmatch of uint32_t and size_t. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-02-17 | s3-netapi: fix Coverity #881 and #882. | Günther Deschner | 1 | -7/+56 | |
Guenther | |||||
2009-02-13 | Replace get_myname() with the talloc version from v3-3-test | Volker Lendecke | 1 | -30/+1 | |
2009-02-12 | tidy up timestamp checks | Björn Jacke | 1 | -33/+33 | |
AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual compile tests. We can also assume that we have ctime and atime members when we have the mtime member. | |||||
2009-02-11 | s3: Implement wbcGetSidAliases | Dan Sledz | 1 | -0/+84 | |
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function. | |||||
2009-02-11 | s3: Implement wbcGetpwsid | Dan Sledz | 1 | -0/+47 | |
* Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3. | |||||
2009-02-10 | S3: Fixes for coverity issues. | todd stecher | 1 | -4/+10 | |
2009-02-10 | Add read_pkt_send/recv | Volker Lendecke | 1 | -0/+99 | |
2009-02-09 | s3 oplocks: Make the level2 oplock contention API more granular | Tim Prouty | 1 | -0/+19 | |
This replaces release_level2_oplocks_on_change with contend_level2_oplock_begin/end in order to contend level2 oplocks throughout an operation rather than just at the begining. This is necessary for some kernel oplock implementations, and also lays the groundwork for better correctness in Samba's standard level2 oplock handling. The next step for non-kernel oplocks is to add additional state to the share mode lock struct that prevents any new opens from granting oplocks while a contending operation is in progress. All operations that contend level 2 oplocks are now correctly spanned except for aio and synchronous writes. The two write paths both have non-trivial error paths that need extra care to get right. RAW-OPLOCK and the rest of 'make test' are still passing with this change. | |||||
2009-02-09 | s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME | Tim Prouty | 1 | -4/+7 | |
Fallback on EAGAIN | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 3 | -143/+194 | |
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | |||||
2009-02-06 | netapi: add NetServer testsuite. | Günther Deschner | 4 | -1/+69 | |
Guenther | |||||
2009-02-06 | netapi: include more SERVER_INFO_X levels in example code. | Günther Deschner | 1 | -0/+16 | |
Guenther | |||||
2009-02-06 | netapi: implement more SERVER_INFO_X levels. | Günther Deschner | 1 | -1/+271 | |
Guenther | |||||
2009-02-06 | netapi: add SERVER_INFO_X to public header. | Günther Deschner | 1 | -0/+612 | |
Guenther | |||||
2009-02-04 | Have nmbd check all available interfaces for WINS before failing | Aravind Srinivasan | 1 | -2/+5 | |
When nmbd is acting as WINS, it picks the first interface's IP as WINS server's IP. If the first interface's IP is zero, we will just quit (even though we might have other interfaces with valid IPs). This patch makes nmbd look at all interfaces and pick the first interface with a valid IP as the WINS server's IP. | |||||
2009-02-02 | Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or ↵ | Jeremy Allison | 1 | -1/+4 | |
delete file This fixes the generic rename/delete problem for 3.3.0 and above. Fixed slightly differently to discussions, user viewable modified ACLs are not a good idea :-). Jeremy. | |||||
2009-02-02 | s3-wbclient: Use new tevent data types | Kai Blin | 2 | -15/+15 | |
2009-02-02 | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 3 | -18/+18 | |
Now I need to document this :-) | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 3 | -65/+65 | |
2009-02-01 | cli_get_pipe_name_from_interface does not really need a talloc_ctx | Volker Lendecke | 1 | -1/+1 | |
2009-01-31 | Remove the global variable "chain_size" | Volker Lendecke | 1 | -3/+0 | |
2009-01-30 | s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:') | Stefan Metzmacher | 1 | -31/+29 | |
Temporary results printfs should not contain reserved subunit words. metze | |||||
2009-01-29 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 1 | -1/+10 | |
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-29 | add Tru64 sub-second resolution timestamp support | Björn Jacke | 1 | -0/+24 | |
2009-01-29 | Fix the build on "opi" | Volker Lendecke | 2 | -2/+3 | |
It did not like to include "includes.h" twice | |||||
2009-01-29 | add missing semicolons | Björn Jacke | 1 | -6/+6 | |
the fixed configure check led to a missing semicolon in the now activated BSD code. Then this error was even copypasted into the new AIX code. grrr | |||||
2009-01-29 | setting mtime setted atime on BSD systems, fix this | Björn Jacke | 1 | -2/+2 | |
2009-01-29 | add AIX sub-second resolution timestamp support | Björn Jacke | 1 | -0/+24 | |
2009-01-29 | s3:ctdbd_conn: canonicalize ips before sending them to ctdbd | Stefan Metzmacher | 1 | -10/+40 | |
This makes samba work with older ctdb versions. metze |