Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-24 | s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory and | Günther Deschner | 1 | -36/+91 | |
_spoolss_PrinterDriverDirectory. Guenther | |||||
2009-02-23 | s3 OneFS: Fix a double free in an error path | Tim Prouty | 1 | -3/+2 | |
2009-02-23 | s3 OneFS: Add a parameter that unconditionally allows execute access | Tim Prouty | 2 | -0/+26 | |
2009-02-23 | Refactored sys_fork() and sys_pid() into shared util library | Steven Danneman | 3 | -32/+1 | |
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 | 16 | -65/+67 | |
Jeremy. | |||||
2009-02-24 | s3-spoolss: fix notify_printer_status_byname. | Günther Deschner | 1 | -1/+3 | |
This took me almost a week to find, so here a little longer explanation: When a windows client registers printer *status* change notifies using spoolss_RemoteFindFirstChangeNotify, it registers them to a print server handle, not a printer handle. We were then correctly monitoring the printer status changes but were sending out the spoolss_RouterReplyPrinterEx via the back-channel connection with job_id set to 0 (which we only may do for monitored printer change status notifies on printer handlers, not print server handles). Windows was then showing a new empty dummy printer icon in the explorer as it cannot route the notify event to the approriate local handle. It also discarded the content of the notify event message of course. With this, printer change notify for pausing, resuming and purging printers nicely works again here. Jerry, Tim and all other printing gurus, please check. Guenther | |||||
2009-02-23 | More warning fixes for Solaris. | Jeremy Allison | 6 | -32/+33 | |
Jeremy. | |||||
2009-02-23 | Quieten down a boatload of shadowed variable warnings on Solaris. | Jeremy Allison | 3 | -51/+51 | |
Makes real problems easier to spot. Jeremy. | |||||
2009-02-23 | Make char* parameters const | Derrell Lipman | 2 | -20/+10 | |
- Use const in function signatures whenever appropriate, to help prevent errant scribbling on users' buffers. smbc_set_credentials() always acted as if its formal parameters were const char *, and changing the formal declaration to specify that should not cause any change to the ABI. It is still allowable to pass a writable buffer to a function which specifies that it will not write to the buffer. I'm making this change only in master. Derrell | |||||
2009-02-23 | s3-spoolss: remove cli_spoolss_notify.c completly. | Günther Deschner | 3 | -36/+1 | |
All of the spoolss change notify code uses pidl generated functions now. Guenther | |||||
2009-02-23 | s3-spoolss: remove old SPOOL_NOTIFY_OPTION definitions. | Günther Deschner | 1 | -32/+0 | |
Guenther | |||||
2009-02-23 | s3-spoolss: remove old spoolss_RemoteFindFirstPrinterChangeNotifyEx. | Günther Deschner | 4 | -284/+0 | |
Guenther | |||||
2009-02-23 | s3-spoolss: remove SPOOL_NOTIFY_INFO_DATA and SPOOL_NOTIFY_INFO alltogether. | Günther Deschner | 3 | -349/+0 | |
Guenther | |||||
2009-02-23 | s3-spoolss: remove old spoolss_RouterReplyPrinterEx. | Günther Deschner | 4 | -180/+0 | |
Guenther | |||||
2009-02-23 | s3-spoolss: remove old spoolss_RouterRefreshPrinterChangeNotify. | Günther Deschner | 3 | -83/+0 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx. | Günther Deschner | 2 | -49/+14 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵ | Günther Deschner | 2 | -75/+32 | |
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther | |||||
2009-02-23 | s3-spoolss: add dup_spoolss_NotifyOption. | Günther Deschner | 1 | -0/+51 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use more idl types in spoolss server. | Günther Deschner | 2 | -11/+18 | |
Guenther | |||||
2009-02-23 | s3-spoolss: fix memleak of spoolss_Notify array in ↵ | Günther Deschner | 2 | -4/+8 | |
_spoolss_RouterRefreshPrinterChangeNotify. Guenther | |||||
2009-02-23 | s3-spoolss: use rpccli_spoolss_RouterReplyPrinterEx. | Günther Deschner | 1 | -2/+36 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use pidl for _spoolss_RouterRefreshPrinterChangeNotify. | Günther Deschner | 2 | -47/+24 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use struct spoolss_NotifyInfo instead of SPOOL_NOTIFY_INFO. | Günther Deschner | 1 | -106/+76 | |
Guenther | |||||
2009-02-23 | s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA. | Günther Deschner | 2 | -381/+180 | |
Guenther | |||||
2009-02-23 | prefer gssapi header files from subdirectory | Björn Jacke | 2 | -6/+6 | |
this fixes some compile time noise on FreeBSD 7 | |||||
2009-02-23 | s3-rpcclient: use correct clientname in ↵ | Günther Deschner | 1 | -1/+8 | |
spoolss_RemoteFindFirstPrinterChangeNotifyEx command. Guenther | |||||
2009-02-22 | s3: Wrap usage of rlimit in configure checks | Steven Danneman | 1 | -20/+19 | |
2009-02-22 | For some unknown reason ldbrename was not being built in samba3. | Simo Sorce | 1 | -1/+8 | |
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 | 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 | Fix the build on Solaris | Volker Lendecke | 1 | -1/+1 | |
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 | 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 |