| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Kai, please check!
Fixes bug #6585.
Thanks,
Volker
(cherry picked from commit d8543da9dad3286cd330b98374405edb9f976e77)
(cherry picked from commit bf7d1758a77a462d9b30cc2549a960736884ee32)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 97e1703ee5f647755129c6e859ea77a38200b3af)
|
|
|
|
|
|
|
| |
Fixes bug #6532.
metze
(cherry picked from commit 7def4ab2da002e9ecc1feaed2916035c214add9f)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 7505f03eee949bb861f6138be8b5ef86be9c7b7f)
|
|
|
|
|
|
|
| |
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>.
Guenther
(cherry picked from commit 9fa042bb9f71057fc869e37d4cc180e8a772b1bb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX
6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This
prevents smbd from opening any sockets.
If I undefine AI_ADDRCONFIG on such systems and allow
lib/replace/system/network.h to define it to be 0, this works around the issue.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 91d13b68be55728a85b3832e2da9267dbf4f2464)
Fixes bug #6630.
(cherry picked from commit 3be12b15f1758b54456d49368dbca7f25a99f4cc)
|
|
|
|
|
| |
Karolin
(cherry picked from commit e873995e31e2f04e708194287a64c66a32cc4948)
|
|
|
|
|
|
|
|
| |
This reverts commit bdec2d3bf3c69e0b0d8ff9aea4d234d0c2936743.
(17ce6f9984b7d84534eecde007ae904e13bbfdfa) in v3-4-test
With this patch, talloc.h is not found any longer.
(cherry picked from commit b843551389e4f9dbbe984a4a9c376ebc11525267)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 9b90ee43683c78ed2ddf2f24b8b1afaa943ff348)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread/fork safe tdb_reopen_all() should be a noop".
This version just wraps the reopen code, so we still re-grab the lock and do
the normal sanity checks.
The reason we do this at all is to avoid global fd limits, see:
http://forums.fedoraforum.org/showthread.php?t=210393
Note also that this whole reopen concept is fundamentally racy: if the parent
goes away before the child calls tdb_reopen_all, the database can be left
without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it.
A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly
elegant (what if there are other independent things which have similar needs?).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 3b2f074bda8734a0b30a3e31117c0217d890809c)
Addresses bug #6601.
(cherry picked from commit 5d1e254188373de838cfe046118267701ee6cd5a)
|
|
|
|
|
|
|
|
|
|
|
|
| |
tdb_reopen_all() should be a noop"
This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd.
tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit fa91bc67199f0d45a0e570b43aeafd816a5491bf)
(cherry picked from commit f1cf84c9b9abc48a58355400acb63fd79e1d60c4)
|
|
|
|
|
| |
Karolin
(cherry picked from commit b1dd075c6819a3fb0f00bdb93104c307505ec8ba)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 63a674b4895d8fd8605cd4c526e91b2b52c3a8ed)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes bug #5832.
Patch was provided by D.L. Meyer <dlmeyer [at] uiuc.edu>.
Thanks for reporting and providing the patch!
Karolin
(cherry picked from commit 42e0cb8c0a1b8470ac8e9ad1c5a741e299debb8f)
(cherry picked from commit b2205a7697598729f85cb767621b8c610654053c)
(cherry picked from commit 174356c6618f8704b968ccfb46b04233bf7dfa40)
|
|
|
|
|
|
|
| |
Fixes bug #6593.
Jeremy.
(cherry picked from commit c704e22806198a620d7e058c8d69c144ce096837)
|
|
|
|
|
|
|
|
|
|
| |
The existing test was only covering files opened underneath the
directory that was being renamed. It is not uncommon for windows
clients to actually hold a read-only handle to a directory open across
the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED.
Additionally, holding a handle open to a stream on the directory is
also allowed.
(cherry picked from commit 80cedd944c3bcee7fe44787c9730b564b2d86726)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recently code was added to match windows semantics of denying the
rename of a directory if there are open files underneath it. This
does partly match windows semantics, but it turns out the rename
should be allowed if the open file handle is for the directory being
renamed, or for a stream on the directory being renamed. This patch
refines the check to better follow these rename semantics.
Addresses bug #6620.
(cherry picked from commit 06ab965b72ba477505d297ab72156136ab981e93)
|
|
|
|
|
|
|
|
| |
metze
(cherry picked from commit 1e1445bc7672b17a1d689fa0f0732b05b6e04da5)
Fixes bug #6627.
(cherry picked from commit 536946c706b66d432d60c990f28ff0ed5861fa44)
|
|
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
Fixes bug #6615.
(cherry picked from commit 13911afe5b167ae9d100c40d32e9286d902652a1)
|
|
|
|
|
| |
(cherry picked from commit 04e4d03868ea67f323bf008eb7b9af740a0467ac)
(cherry picked from commit e4a26c94271409d58138391d523305d641105a05)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit 54dffbea663ecf4542d6c5e30da6e346d5d60424)
(cherry picked from commit bddd55fa8a20a7a2d6d521ec951d13f548950b26)
|
|
|
|
|
|
|
|
| |
construct_reply() references the request after chain_reply has freed it.
(cherry picked from commit 5135ebd6f099518f0a0b5796e8057210be824740)
Addresses bug #6611.
(cherry picked from commit 5c6aa5ce9fb0cc5d63d04b0777d296c82e61c0a5)
|
|
|
|
|
|
|
|
| |
Fixes bug #6607.
Guenther
(cherry picked from commit 75030ff2b16a3ddb79367d970590da2375f7e3dc)
(cherry picked from commit e7e1a6b3237550ef90db6a52a023885f616f722b)
|
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 8646b9521d267284a335aafba3df6039c41b8370)
(cherry picked from commit 1a8294f1dc7953bd7f45e9b65fe6b5ec005634d0)
|
|
|
|
|
|
|
|
|
| |
We should always return a local path so that users are not forced to setup a
[prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour.
Guenther
(cherry picked from commit 74454cc731f202361f1dce47fa850810bfeb36c8)
(cherry picked from commit ffb6b4e6f7e47e8f22519d616e4e31444e417d16)
|
|
|
|
|
|
|
| |
allow AIX to call sys_getgrouplist only once
(cherry picked from commit c3e12444f57e24dcd6c9259537ed0489db4658e9)
(cherry picked from commit 2666b3e27444ffcad3afc21e276f189ac238433f)
|
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 1c8a2e268a5d3968367f6984f23bb954fcb10edc)
|
|
|
|
|
|
|
|
| |
Thanks to OPC oota <t-oota@dh.jp.nec.com> for reporting!
Karolin
(cherry picked from commit 7ee7ec3fdba2ef6a6cc3e1f96a5d2154290cdb18)
(cherry picked from commit c94d3183a8e4c7e03c0dd2771cb7b9f4665198ce)
|
|
|
|
|
| |
This patch was made to debug bug #6437.
(cherry picked from commit 47baa5de907c0162dec079c3636e7728f93c8b2f)
|
|
|
|
|
|
|
|
|
| |
Remove RFCs as they are non-free content (with a strict interpretation of
the DFSG). Addresse Debian bug #538034.
Karolin
(cherry picked from commit 571f20cd4db48c8d510e10b7188678d585abb2d1)
(cherry picked from commit 9d7b8b29854beafed4ec70b2db1d26dc3786cc71)
|
|
|
|
|
|
|
|
|
| |
NT_TRANSACT_CREATE.
Reported and verified by Long Li <longli@microsoft.com>
Jeremy.
(cherry picked from commit 9c48f5bf2dcc12e6eb6170ab3a2af5ca119cf008)
(cherry picked from commit 92bb659e4340f22f855400e02e2a67474d2a048b)
|
|
|
|
|
|
|
|
| |
Noted by Oota Toshiya <t-oota@dh.jp.nec.com> .
Michael
(cherry picked from commit 34c535c9a8d08a480e156aaa9e4b843ffaab0636)
(cherry picked from commit d278a43d0626894f45dcc6e6dbe429565188d6fb)
|
|
|
|
|
|
|
|
|
|
| |
lookupname failed, cannot find domain when attempt
to change password.
This addresses bug #6560.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit 9acc670541031414d0cb5df39d18866c4c96b37c)
|
|
|
|
|
|
| |
become_root()/unbecome_root() around reload_services. Jeremy.
(cherry picked from commit d53cb77ab21cc6edc2f1767bb56a75901c4c1709)
|
|
|
|
|
|
| |
samba-3.4.0. The values of vuid and tid were not being correctly updated in the struct smb_request when passed to chain_reply inside sessionsetupX and tconX. Jeremy.
(cherry picked from commit e7c5f7c924ae40ce3f36d352d55a92a906d92181)
|
|
|
|
|
|
|
|
| |
We never reached the cleanup code and directly returned the error.
This addresses bug #6538 (Fail to back out lockingX calls on error).
metze
(cherry picked from commit 94303584b942135355f99d138f8dc375d8dfacfb)
|
|
|
|
| |
(cherry picked from commit 17ce6f9984b7d84534eecde007ae904e13bbfdfa)
|
|
|
|
|
| |
This addresses bug #6437.
(cherry picked from commit 27ddbcab378892dee0b69e8ba0ef03674e6e7075)
|
|
|
|
|
|
| |
Search for groups without group suffix, group suffix is only used for new entries.
(cherry picked from commit 91a8cb851e1919a337310e2c699d8fcf76a55060)
(cherry picked from commit f0d67b6e119d719c2540eadce5849d3200dea2d0)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 4735bf0e744e1015eeb5a9ef6e744011183d9e30)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
have it."
This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7.
This fixes Bug #6531 (Pid File creation.)
Usually, I would extend is_default_dyn_XYZ() so that it returns true
when dyn_XYZ has not been set yet or when its value is equal to the
compiled in default value XZY. But this would have a change in effect
in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used
there to check whether the config file should be overwritten by the
contents of the environment variable SMB_CONF_PATH. Currently this
is only done when set_dyn_CONFIGFILE() had _not_ previously been called
at all, not even with the same value as the compiled in default.
Michael
(cherry picked from commit 914a14b3a9c9d922d2a5c1aa413945afa11cfd2a)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 09411113d8f6b2389b3763bad24bcfdb61b0508c)
|
|
|
|
|
| |
Karolin
(cherry picked from commit ebe56e6872228fcbd81ead598eb2c5b1738b7f4c)
|
|
|
|
|
|
|
|
|
|
| |
metze
(cherry picked from commit a14efbadd53ac9678d75e6029f947d63cfa0c4e5)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This addresses bug #6526.
(cherry picked from commit 8446843ec43cd61e548dda7032f26020240d872d)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 7c0f1fd01ba355f234f411426b00285c824691b2)
|
|
|
|
|
|
| |
This addresses bug #6459.
(cherry picked from commit 06a9678aad549d23583d860ecd57b221b25f15b6)
(cherry picked from commit 250e253f755954ff96c14ed29d6107d344a1c427)
|
|
|
|
|
| |
Karolin
(cherry picked from commit d08f8595b15144513febe089f2ba0c322dba9ea9)
|
|
|
|
|
|
|
|
|
|
| |
extensions=yes" are set - and using latest cifs vfs client
Cancel out any pending "sticky" writes or "last write" changes when
doing a UNIX info level set.
Jeremy.
(cherry picked from commit b971860e01a3e616b0dd21990c054c8f8356f513)
(cherry picked from commit 3c8e5d5339ec246bca846aee48ecfba74c7d7c69)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 95c90fa6973676d6599668bbe816bdbbae5d086c)
|
|
|
|
|
|
|
|
|
|
|
|
| |
replace.h needs to be included first.
Michael
(cherry picked from commit 8d982d91f231abbf003473d09433fca2cfa240ac)
Signed-off-by: Michael Adam <obnox@samba.org>
This addresses bug #6521.
(cherry picked from commit 5c5f72b6c5e7473cfe42d2d54fd34c6b31cbf6b1)
|
|
|
|
|
|
|
|
|
| |
Found while testing Xerox WorkCentre 133 PCL driver, now also tested with
torture test.
Guenther
(cherry picked from commit b85b93dcff89e18bd15d4cef8b8c2dc61bc42cbe)
(cherry picked from commit 14be3fd3daee943d0aaad1029ab629e5d379708b)
|