Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-21 | s3 OneFS: Add an atomic sendfile implementation | Tim Prouty | 3 | -0/+282 | |
2009-02-21 | s3: If sendfile returns 0 bytes read, fall back to the normal read path | Tim Prouty | 1 | -0/+24 | |
This allows sendfile implementations that are atomic to avoid having to send zeros or kill the client connection on a short read (usually the file was truncated). | |||||
2009-02-21 | Revert "s3 auth: Add parameter that forces every user through an NSS lookup" | Tim Prouty | 3 | -35/+4 | |
After the discussion on samba-technical, it was decided that the best answer for now was to revert this change. The right way to do this is to rewrite the token api to use opaque tokens with pluggable modules. This reverts commit 8e19a288052bca5efdb0277a40c1e0fdd099cc2b. | |||||
2009-02-21 | Fix shadowed declaration warning | Tim Prouty | 1 | -1/+1 | |
2009-02-21 | s3-spoolss: fix client name in rpccli_spoolss_openprinter_ex. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2009-02-21 | s3-spoolss: remove duplicate flag. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2009-02-21 | s3-spoolss: fix _spoolss_GetPrinterDriverDirectory and ↵ | Günther Deschner | 1 | -2/+2 | |
spoolss_GetPrintProcessorDirectory. Both calls need to return NULL in the error case to avoid ndr encoding problems. (found by smbtorture spoolss test). Guenther | |||||
2009-02-21 | s3-eventlog: fix rpcclient and server stub for eventlog_GetLogInformation. | Günther Deschner | 2 | -3/+3 | |
Guenther | |||||
2009-02-21 | s4-smbtorture: fix eventlog getinformation test. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-02-21 | s3: re-run make samba3-idl. | Günther Deschner | 10 | -260/+62 | |
Guenther | |||||
2009-02-21 | spoolss: add spoolssNotifyOptionFlags. | Günther Deschner | 1 | -1/+5 | |
Guenther | |||||
2009-02-21 | eventlog: remove unused eventlog_Record struct. | Günther Deschner | 1 | -26/+0 | |
Guenther | |||||
2009-02-21 | eventlog: fix eventlog_GetLogInformation typo in IDL. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-21 | pytevent: Fix include path - tevent_util is not installed. | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-21 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -1/+1 | |
2009-02-21 | Let --enable-external-libldb default to no (since linking against | Jelmer Vernooij | 2 | -4/+5 | |
external LDB doesn't work yet). Fix flags when using internal libs. | |||||
2009-02-21 | Fix the build on Solaris | Volker Lendecke | 1 | -1/+1 | |
2009-02-21 | Add --enable-external-* flags for libraries shipped with Samba, to allow | Jelmer Vernooij | 2 | -5/+26 | |
explicitly enabling or disabling the use of the version provided by the system. | |||||
2009-02-21 | Fix some nonempty blank lines | Volker Lendecke | 1 | -31/+31 | |
2009-02-21 | Remove the static "chal" from ntlmssp.c:get_challenge() | Volker Lendecke | 9 | -27/+32 | |
2009-02-21 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-02-21 | Do not close an fd we know is -1 | Volker Lendecke | 1 | -1/+0 | |
2009-02-21 | Move some bytes from the data to the text segment | Volker Lendecke | 1 | -3/+3 | |
2009-02-21 | Fix an uninitialized variable | Volker Lendecke | 1 | -1/+1 | |
2009-02-20 | s3: Fix build break in d9a842b2 | Steven Danneman | 1 | -19/+3 | |
* actually check for existance of sysctlbyname() | |||||
2009-02-20 | Introduce a new passdb backend: pdb_onefs_sam | Dan Sledz | 3 | -1/+439 | |
Implements a custom backend for onefs that exclusively uses the wbclient interface for all passdb calls. It lacks some features of a standard passdb. In particular it's a read only interface and doesn't implement privileges. | |||||
2009-02-20 | Introduce a new authentication backend auth_onefs_wb | Dan Sledz | 3 | -0/+141 | |
This new backend is custom tailored to onefs' unique requirements: 1) No fallback logic 2) Does not validate the domain of the user 3) Handles unencrypted passwords | |||||
2009-02-20 | Allow building with an external libwbclient library | Dan Sledz | 1 | -20/+57 | |
Introduce a new configure option --with-wbclient which specifies a location to find a compatible libwbclient library to link against. This options is overwritten by --with-winbind | |||||
2009-02-20 | s4 torture: Add comment to clarify test | Zack Kirsch | 1 | -0/+3 | |
2009-02-20 | s3 BRL: Add more clarifying comments and add implied logic to make ↵ | Zack Kirsch | 1 | -2/+6 | |
conditional more clear | |||||
2009-02-20 | s3 OneFS: Add debugging for createfile_flags | Zack Kirsch | 1 | -12/+15 | |
2009-02-20 | Change smbc_set_credentials_with_fallback() (unreleased) to use | Jeremy Allison | 2 | -10/+17 | |
const approptiately. Jeremy. | |||||
2009-02-20 | S3: Detect max_open_files from system | todd stecher | 3 | -1/+68 | |
- Attempt to use syscalls to determine max-open-files value. - Add in periodic logging when max file limit reached | |||||
2009-02-20 | s3: Refactor of madvise() usage in c441f58d | Steven Danneman | 2 | -7/+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 | 6 | -85/+20 | |
2009-02-20 | s3: OneFS implementation of change notify | Steven Danneman | 4 | -2/+694 | |
The OneFS Samba implementation of change notify is modeled after the usage of Linux's inotify kernel subsystem. A single call is made into the onefs.so VFS module to initialize kernel tracking of certain file change events. When these events occur a kernel notification is sent to smbd and the notification event is translated and given to the general Samba Change Notify layer through a callback function. The most difficult aspect is converting an SMB CompletionFilter to a matching ifs_event mask, and then back to an appropriate change notify action. Currently, not all possible cases are handled by the this module, but the most prevalent ones, which are tested by smbtorture, are implemented. | |||||
2009-02-20 | s3: Make change notify immediately return a catch-all packet on underlying error | Steven Danneman | 1 | -1/+14 | |
* This allows a problem in the underlying CN backend to be bubbled up to the general CN layer so a catch-all reply can be returned * We now also return a catch-all response immediately if the server-side event queue becomes too big | |||||
2009-02-20 | s3: Modifications to generic notify structures to allow implementation of ↵ | Steven Danneman | 6 | -0/+56 | |
OneFS notify. The OneFS kernel based change notify system takes an fd of the directory to watch in it's initialization syscall. Since we already have this directory open, this commit plumbs that fd down to the VFS layer via the notify_entry struct. We also need to know if the watch is taken out on a snapshot directory. The full file_id struct is also passed down to make this determination. The file_id marshalling wrappers are hand written here, but should eventually be auto-generated by moving the struct file_id into the idl. | |||||
2009-02-20 | Added torture tests to RAW-NOTIFY | Steven Danneman | 1 | -2/+150 | |
* This adds a test to check the change notify behavior of the SMB server when more events have been generated than can be returned in a single change notify response. * Second test makes sure the server doesn't return notification events for changes to the watched directory itself | |||||
2009-02-20 | Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem. | Jeremy Allison | 1 | -1/+7 | |
As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD permission bit (which we require before allowing a delete) no one can delete files without an explicit DELETE_CHILD bit set on the directory. Add this mapping. Jeremy. | |||||
2009-02-20 | variable grouping: just my OCD desire to keep similar things together | Derrell Lipman | 1 | -5/+7 | |
2009-02-20 | Make libsmbclient work with DFS | Bo Yang | 7 | -6/+108 | |
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> | |||||
2009-02-20 | s3/docs: Add hint about getfattr in man vfs_acl_xattr. | Karolin Seeger | 1 | -0/+9 | |
Karolin | |||||
2009-02-20 | s3/docs: Add man vfs_acl_tdb. | Karolin Seeger | 1 | -0/+66 | |
Karolin | |||||
2009-02-20 | s3/docs: Add man vfs_acl_xattr. | Karolin Seeger | 1 | -0/+61 | |
Karolin | |||||
2009-02-20 | s3/docs: Fix several typos. | Karolin Seeger | 19 | -27/+24 | |
This fixes bug #6127. Thanks to Justin T Pryzby <justinpryzby [at] users.sourceforge.net> for the review! Karolin | |||||
2009-02-19 | s3 OneFS: Add shadow copy module | Tim Prouty | 5 | -1/+1538 | |
2009-02-19 | s3 OneFS: Add file_id_create implementation to take advantage of snapshots | Tim Prouty | 1 | -0/+18 | |
2009-02-19 | s3: Change the vfs_GetWd cache to use the file_id struct | Tim Prouty | 1 | -12/+3 | |
2009-02-19 | s3: Remove unused inform_level2_message struct | Tim Prouty | 1 | -8/+0 | |