The branch, v4-0-test has been updated
via 68c6cb5 s3: printing: Fix problem with server taking too long to
respond to a MSG_PRINTER_DRVUPGRADE message.
via 23bec26 librpc/nbt: increase MAX_COMPONENTS limit for nbt_names.
via 4d857a9 dfs: always call create_conn_struct with root privileges
via 4bc4ab9 smbd: Fix calls to create_conn_struct_cwd to be correctly
indented.
via d534964 smbd: Split create_conn_struct into a fn that does not
change the working dir
from 20d7ec8 VERSION: Bump version number up to 4.0.15...
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test
- Log -
commit 68c6cb5a6909f50c6d016803881695809ccd1fbb
Author: Jeremy Allison
Date: Wed Feb 12 10:13:19 2014 -0800
s3: printing: Fix problem with server taking too long to respond to a
MSG_PRINTER_DRVUPGRADE message.
Receiving a MSG_PRINTER_DRVUPGRADE causes
smbd to iterate over all printers looking
for ones that uses the driver. This is a very
expensive operation requiring a read of all
registry printer parameters.
On a system with a large number of printers,
this causes the clients to timeout (smbd
can take longer than 60 seconds to respond).
This patch fixes the problem by forwarding
the MSG_PRINTER_DRVUPGRADE to the background
lpq queue updater process and allowing it to
take care of the updating of the changeid
in the registry, allowing the smbd connected
to the client to return to processing requests
immediately.
https://bugzilla.samba.org/show_bug.cgi?id=9942
Signed-off-by: Jeremy Allison
Reviewed-by: Andreas Schneider
Autobuild-User(master): Andreas Schneider
Autobuild-Date(master): Tue Feb 18 17:48:30 CET 2014 on sn-devel-104
(cherry picked from commit cd655715b8ee0a4e681d67b3996f71017b941401)
Autobuild-User(v4-0-test): Karolin Seeger
Autobuild-Date(v4-0-test): Sun Feb 23 04:57:30 CET 2014 on sn-devel-104
commit 23bec26d78547e5a82c79fc3f1fc1f41c0d785da
Author: Günther Deschner
Date: Tue Feb 4 16:38:46 2014 +0100
librpc/nbt: increase MAX_COMPONENTS limit for nbt_names.
domains with more then 10 subdomains are not so uncommon.
https://bugzilla.samba.org/show_bug.cgi?id=10439
Guenther
Signed-off-by: Günther Deschner
Reviewed-by: Andreas Schneider
Autobuild-User(master): Günther Deschner
Autobuild-Date(master): Thu Feb 13 16:30:50 CET 2014 on sn-devel-104
(cherry picked from commit 4e05bad0d18e351cb2a2db74860e77adea727c79)
Signed-off-by: Andreas Schneider
commit 4d857a92aa798448525db50c72327cfa5befc075
Author: Garming Sam
Date: Thu Dec 19 09:55:44 2013 +1300
dfs: always call create_conn_struct with root privileges
This fixes a bug in dfs_samba4 identified by Daniel Müller.
create_conn_struct calls SMB_VFS_CONNECT which requires root privileges.
SMB_VFS_CONNECT in turn calls dfs_samba4_connect which connects to samdb.
Calls were made to this function without ever becoming root (notably via
setup_dfs_referral)
which resulted in an error and the VFS connect failing. This happens when
you have an active
directory domain controller with host msdfs = yes in smb.conf and dfs links
in place.
Signed-off-by: Garming Sam
Reviewed-by: Bjoern Baumbach
Reviewed-by: Jeremy Allison
Autobuild-User(master): Jeremy Allison
Autobuild-Date(master): Fri Jan 10 20:11:03 CET 2014 on sn-devel-104
(cherry picked from commit 24a687642de21ce872d25f16b3525003844d05f9)
Fix bug #10378 - dfs: always call create_conn_struct with root privileges.
commit 4bc4ab90deb9265dc506abc9c3d854909c68dccf
Author: Andrew Bartlett
Date: Tue Jan 8 09:29:48 2013 +1100
smbd: Fix calls to create_conn_struct_cwd to be correctly indented.
These are whitespace changes only, left out of the previous commit to
preserve clarity.
Andrew Bartlett.
Reviewed-by: Jeremy Allison
(cherry picked from commit 5a3e915d20bb11984c42081bf25ce09baa58e04e)
commit d534964ea9741cc79f7cd7c2f7e9ed0a3a79d8dc
Author: Andrew Bartlett
Date: Wed Oct 10 13:47:49 2012 +1100
smbd: Split create_conn_struct into a fn that does not change the working
dir
The python bindings do not want the current working directory changed
during operations, so we provide two functions, one providing the
original behaviour, and other providing the python bindings with just
the memory allocation and initilisation stuff.
Andrew Bartlett
Reviewed-by: Jeremy Allison
(cherry picked from commit 6c80cf747d75e648a1d88d477bcf476e6874c4b3)
---
Summary of changes:
librpc/ndr/ndr_nbt.c|2 +-
source3/printing/nt_printing.c