| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Guenther
(cherry picked from commit 62480385c1e551448e40b01fff8e9dee318c29c1)
(cherry picked from commit fea535368e4d62606b522031afc773d4963dbb91)
|
|
|
|
|
|
|
|
| |
Another babystep in order to make us pass RPC-SPOOLSS.
Guenther
(cherry picked from commit d9aaf3759ac7fd6ce07a347a0138bdfb27a6f929)
(cherry picked from commit 63d4f5a5893dfcf8ff346bad100e8bd7052089ee)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit e3ceb0c65333cb870463971021e3af24d82abf26)
(cherry picked from commit 0f48d27d6fb45bc61899916037a5133e3022ec59)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit d71dec9259366e99beca69fcd9397bd38ed82c71)
(cherry picked from commit 4e32c424a00bc29e63176af9773f9ffa7aa09bc2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also remove ads_memfree(), which was only ever a wrapper around
SAFE_FREE, used only to free the DN from ads_get_ds().
This actually makes libgpo more consistant, as it mixed a talloc and a
malloc based string on the same element.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 20501876735fc4656083747ba8aa0de9da8fb820)
(cherry picked from commit 6673ad24d48ad44fa76497f0327b13e82721d0a1)
|
|
|
|
|
|
|
|
|
|
| |
In particular, this removes one more user of pull_utf8_allocate()
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 89278b18195484d3ea5d25e8b19871d64d218a05)
(cherry picked from commit 0fe131b32f4d372ea70060b0ba3874fc632e2a33)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 5a388115a944a425a774d7ec98260b7595998ee1)
(cherry picked from commit e0cdb435d38c643d5a75aa16e793c6f09a349978)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 31106cdace883de16d5810386d69fc3da7d37c61)
(cherry picked from commit 5b1035546673343f922679a1280b5203c1c1abc4)
|
|
|
|
|
|
| |
metze
(cherry picked from commit b659daf81f31678f7447545d015bd9d1db8811b9)
(cherry picked from commit c43ef1f1eeb9176cda0d69b5f17c2b4885a0772b)
|
|
|
|
|
|
| |
metze
(cherry picked from commit 339ea0503d5ce3bf85cf61528956345c73c668c6)
(cherry picked from commit c9eac30fbbd4af6d73b803b19f0dec8ce72baf59)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit b0747651b94d6d1176dad00277b6135300ed57d7)
(cherry picked from commit 74ce96d6b3762df63dafb69444ae8159495006b5)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 47c024fd7516aa940b6b04f903cedff677e5543e)
(cherry picked from commit 05d441f7ff79b20e23f549d7d6c6567c8ec554e0)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 04fd767c0b244082f616b445558c80619ef0363f)
(cherry picked from commit b0948127557fab056fc81144cbcb3fe077821c03)
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Why?? :-)
Another one of the little micro-optimizations that I just came across: If you
allocate a variable in a sub-block like the "fstring sharename" in
write_file(), gcc even with -O3 will allocate this variable unconditionally on
the stack at the beginning of the routine. So with eliminating this fstring we
cut 256 bytes of stack in a very hot code path writing to a file. It might make
us a bit more cache-friendly.
This would probably not be worth a second look if it involved larger code
changes, but this one was just too simple to let it pass :-)
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
Günther, please check...
Michael
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Guenther
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
Michael
|
|
|
|
| |
Jeremy.
|
|\ |
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| | |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|/ |
|
|
|
|
| |
The callers of open_file_ntcreate expect *psbuf to be filled correctly
|
|
|
|
| |
We allocated "request" with ippNew, so we also should ippDelete it.
|
|
|
|
|
|
| |
Without this, we end up adding more than one timed event. In the event handler
print_notify_event_send_messages() only one event will be deleted, all others
will fire indefinitely.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
| |
|
| |
|
|
|
|
|
|
| |
This replaces the is_dos_path bool with a more future-proof argument.
The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead
of overridding the oplock_request.
|
|
|
|
| |
SMB_VFS_CREATE_FILE
|
|
|
|
| |
Jerry, please check!
|
|
|
|
| |
Jerry, please check!
|
|
|
|
|
|
|
|
|
| |
This removes a use of struct current_user and the vuid
The become_user() here is unnecessary, within the spoolss handling code we have
switched to the authenticated pipe user anyway.
Jerry, please check!
|