| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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().
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Note that the size_is of the spoolss_DriverFileInfo is not reflected on the ndr.
It is just used as pidl cannot handle a relative pointer to a static array of
structs.
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Jeremy.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Makes real problems easier to spot.
Jeremy.
|
| | | |
| | | |
| | | |
| | | | |
do not reference it from ldb.h
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
behavior anyway, and given we can only have one transaction active per
ldb context this is the only sane model we can support.
Fix ldb_tdb transactions, we could return back with an error with neither
committing nor canceling the actual tdb transaction in some error paths
within the ltdb commit and cancel transaction paths.
Added also some debugging to trace what was going on.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
All of the spoolss change notify code uses pidl generated functions now.
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | |
| | | |
| | | |
| | | | |
Guenther
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | |
| | |
| | | |
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE.
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | |
| | |
| | | |
_spoolss_RouterRefreshPrinterChangeNotify.
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
this fixes some compile time noise on FreeBSD 7
|
| | |
| | |
| | |
| | |
| | |
| | | |
spoolss_RemoteFindFirstPrinterChangeNotifyEx command.
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Guenther
|
| | |
| | |
| | |
| | | |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Thanks to Tobias Stoeckmann for reporting!
Karolin
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Guenther
|