| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fixes bug #7290
Thanks to Mohan <mohann@silver-peak.com> for the bug report.
|
| |
|
|
|
|
|
|
|
| |
Submitter reports print file corruption after 2GB when SMBwrite etc.
always write at EOF. Still working on the fix.
Jeremy.
|
|
|
|
|
|
|
|
| |
Don't show all getpeername failed messages in debug level 0 and 1.
Karolin
Signed-off-by: Volker Lendecke <vl@samba.org>
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
cups_pull_comment_location.
Guenther
|
|
|
|
|
|
| |
This correctly initialises the event backend, and checks for errors
(thanks to Metze for suggesting this)
|
|
|
|
|
|
| |
Forgot to delete the overload of the smbjob bool.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on a patch from Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>.
I think this is the correct fix. It causes cups_job_submit to use
print_parse_jobid(), which I've moved into printing/lpq_parse.c (to allow the
link to work).
It turns out the old print_parse_jobid() was *broken*, in that the pjob
filename was set as an absolute path - not relative to the sharename (due to it
not going through the VFS calls).
This meant that the original code doing a strncmp on the first part of the
filename would always fail - it starts with a "/", not the relative pathname of
PRINT_SPOOL_PREFIX ("smbprn.").
This fix could fix some other mysterious printing bugs - probably the ones
Guenther noticed where job control fails on non-cups backends.
Guenther PLEASE CHECK !
Jeremy.
|
|
|
|
|
|
| |
Ensure we don't dereference an array with an index of -1.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
| |
This patch should remove all warnings coming up when compiling
traffic analyzer with configure.developer.
Re-activate the smb_traffic_analyzer_rmdir function by adding it's
vfs_fn_pointer to vfs_smb_traffic_analyzer_fns.
Copy the mode_t used in smb_traffic_analyzer_open to the corresponding
data structure.
|
|
|
|
|
|
| |
If the call fails we would use the "domain users" sid anyway.
metze
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
|
|
|
|
|
|
| |
The notify tdb files are opened at tconX time, which leads to one fcntl lock
for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and
holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
|
|
|
|
|
|
| |
In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
|
| |
|
|
|
|
| |
Guenther
|
| |
|
|
|
|
|
| |
Samba needs to retrieve pjob->sysjob from the CUPS response (as
is done in the iprint backend).
|
|
|
|
|
|
| |
"make test" variant.
Guenther
|
|
|
|
|
|
| |
Ensure we always write at end-of-file for older write calls.
Jeremy.
|
|
|
|
|
|
|
| |
both vfs_acl_common.c and vfs_acl_tdb.c were using the connection
handle, thus conflicted. Fix this.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
Only data needs to be non-const.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
|
|
| |
ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
|
|
| |
fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
| |
Address bug #7285 (NetBIOS Namespace Clash Handling).
Karolin
|
|
|
|
|
|
|
|
| |
If thousands of smbds try to gencache_stabilize at the same time because the
network died, all of them might be sitting in transaction_start. Don't do the
stabilize transaction if nothing has changed in gencache_notrans.tdb.
Volker
|
|
|
|
| |
metze
|
|
|
|
| |
Karolin
|