| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
missing backslash in call... :-}
Michael
(cherry picked from commit 8f0c25f01f11857d24556346dc2758549919eba3)
|
|
|
|
|
| |
Michael
(cherry picked from commit dba9db5ae6581df18591eebd19d3649bed0d9367)
|
|
|
|
|
|
|
|
|
|
| |
one test
so that failure output is not clobbered by output of previous
successful commands.
Michael
(cherry picked from commit cb3dafe5fd8867b000e01979d4232968d994d376)
|
|
|
|
|
|
|
| |
actually 'printf "%s\n"' is the proper replacement of 'echo -e'
Michael
(cherry picked from commit 388a40931f1559b134317ef0c85c7cf2598e17fe)
|
|
|
|
|
| |
Michael
(cherry picked from commit 0bd50e450baf633ea9d653341f3ce9d81bfdd83f)
|
|
|
|
|
| |
Michael
(cherry picked from commit 7a23dab1eaf3116079a89cdf348cabc659608031)
|
|
|
|
|
| |
Michael
(cherry picked from commit 8b015c91c9b10c208fe61cefd71ddc9f4fcbec61)
|
|
|
|
|
| |
Michael
(cherry picked from commit 06dfb0cf7cd39e1072534fc32e79a4b4f6e49cb6)
|
|
|
|
|
| |
Michael
(cherry picked from commit c0c41184277044eb856f91c025f645c198cac188)
|
|
|
|
|
| |
Michael
(cherry picked from commit b6122406fe938fdaf373ff45214db79de06eb989)
|
|
|
|
|
| |
Michael
(cherry picked from commit 1cb3b2f065566f981f6cfb8b5efdfad7db49c719)
|
|
|
|
|
| |
Michael
(cherry picked from commit 5c1b7ee5c17489da90192309853aa1ecacc15512)
|
|
|
|
|
| |
Michael
(cherry picked from commit fa5968a26b552d7f13574a826e506ed2d6630feb)
|
|
|
|
|
| |
Michael
(cherry picked from commit d775194e9c7b75182c485fba427b20ec2bfcf16c)
|
|
|
|
|
|
|
|
|
|
| |
This allows to select the tests to run with tests_all.sh by setting
the environment variable "RUNTESTS". Example:
RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test
Michael
(cherry picked from commit bf4af79f050cceb6611a8aa3d893b59b816a41ce)
|
|
|
|
|
|
|
|
| |
This is in preparation for enabling running only selected test scripts
through "make test".
Michael
(cherry picked from commit ad1fbadf81c915425301ec495744c11f3103169f)
|
|
|
|
|
| |
Michael
(cherry picked from commit 04b48984bbf84c55bb41a74a11cbcc7358377fed)
|
|
|
|
|
|
|
|
| |
The interface is like that of net rpc registry.
Access is direct local access to the registry tdb through reg_api.
Michael
(cherry picked from commit 3250068eb980bd0489f814f702401cdc9c925a8d)
|
|
|
|
|
|
|
|
|
| |
When looking up e.g. a trusted doamin account, there is just no name.
Michael, please check.
Guenther
(cherry picked from commit ea3cfadc2504c891b4784719bd8e6debcc38c879)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9e15ce03ca66a0b5ffdb39dd2faaad6e0f967e31)
|
|
|
|
|
|
|
|
|
|
|
| |
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.
Rafael, looks ok?
Guenther
(cherry picked from commit b12edbeffee1f7d1fd971cde9189e5137ddeb35b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 8a1a9f967db25d3928f19e46d60af249f934f323)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 4714bae0dbbb2ad010c2929f83de6bca84cfac46)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 0058ab30de943f134792e3d66051206086987110)
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
(cherry picked from commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
|
|
|
|
|
|
| |
default backend therefore on IDs were mapped by default.
(cherry picked from commit f6069126e5e6d239b1ae00e897a420227f923e3f)
|
|
|
|
|
|
|
| |
There is no reason to ensure the target host is ourselves, and
this breaks MS clients in some cases.
Jeremy.
(cherry picked from commit c19fdf43d16ce9fba3e8e12e6192bac31837715e)
|
|
|
|
|
|
|
|
|
| |
This lets us pass the RAW-RENAME test.
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 2d50a1fef022023588e9963131951f8f3e4c7c23)
|
|
|
|
|
|
|
|
|
| |
Otherwise we may end up with share mode entry without an open file.
Volker, Jeremy: please check...
metze
(cherry picked from commit 547eacf6058d2bc5b41b266b70f8f4747aca4eae)
|
|
|
|
|
|
|
|
| |
place for it now where it will cause minimal disruption (only
call the extra message_dispatch just before reading the next
smb off the wire).
Jeremy.
(cherry picked from commit da2c19c481d0041872b4ce2f5105052077f3d3b8)
|
|
|
|
|
|
|
| |
the select return. We don't want the call to message_dispatch
to mess up the errno value.
Jeremy.
(cherry picked from commit 26a74d01bb2b53ffa5d296ff1c7d8b2b0d17831a)
|
|
|
|
|
|
| |
behaves the same as the trans2 one.
Jeremy.
(cherry picked from commit c4fa4917dad97c5047f7336c6675739b44da256b)
|
|
|
|
|
|
|
|
|
|
|
| |
using trans2 setfileinfo on one connection, and then check the
file name has changed on the other. In Samba we achieve this by
sending a local message to the other process. This change causes
us to re-scan for incoming messages after we've woken up from the
select (which is cheap if there are no pending messages). This reduces
the race significantly. Volker please review.
Jeremy.
(cherry picked from commit a7499e994aef743ea9c443f9a1618b262f6eda93)
|
|
|
|
|
|
| |
connection paths are equal, not just the conn structs themselves.
Jeremy.
(cherry picked from commit 632f3fe66fbcbe3cc25d070c3885177264f5ad65)
|
|
|
|
|
|
| |
BATCH20 and RAW-RENAME.
Jeremy.
(cherry picked from commit 9065792d4bc42522f12f9732de3c0ad82c72a2d3)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 251df53811e4272b629575a4b50c29a99715ccf9)
|
|
|
|
|
|
| |
as sendfile isn't implemented in the streams vfs modules yet.
Jeremy.
(cherry picked from commit eef53e9603d4f3d892ffe00b061def5d717ca481)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit d090d25cb702965b3d5e4635a26a06f2b62d235d)
|
|
|
|
|
|
| |
Do not overwrite the domain->domain_flags when setting infomation
in set_dc_type_and_flags_connect().
(cherry picked from commit 3414eac439b731ad7204b821ddc4fec54fe4435d)
|
|
|
|
|
|
| |
This fixes wbinfo -m to make preexisting behavior.
Also adds the dns domain to the --verbose output.
(cherry picked from commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
direction, and transitivty of trusts.
* added several helper functions to convert the trust_flags field in the
winbindd_tdc_domain to more useful administrator ideas of trust type, trust
direction, and trust transitivity.
* converted winbindd_list_trusted_domains() to enumerate the trusted domain
cache, instead of the domain list, and return additional trust information to
the calling process
* modified wbinfo to pretty print this additional trust information when a new
--verbose switch is given with -m. Thus "wbinfo -m" and "wbinfo -all-domains"
output as before, but "wbinfo --verbose -m" prints extra trust info.
* updated some comments and fixed typos
(cherry picked from commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* changed the behavior of winbind_ads.c:trusted_domains() to not overwrite
existing trust information if we're joined to a child domain, and querying the
forest root domain. Previously if we were joined to a child domain, we'd
request all known trust information from this child domain (our primary domain)
and store it in the tdc. We'd then request all trust information from our tree
root (to get the forests we transitively trust) and overwrite the existing trust
information we already had from the perspective of the tree root.
* updated several comments and fixed typos
(cherry picked from commit 6aac972d790ad5ca65096cb2e85e6819b60a5413)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is the second patch to attempt to fix up some of the problems
with mounting subdirectories of shares. The earlier patch didn't handle
this correctly when POSIX extensions were enabled. This one does.
This is a bit of a confusing area since the different components of
a service string have different rules:
1) hostname: no '/' (slash) or '\' (backslash) is allowed to be
embedded within the string
2) sharename: same rules as hostname
3) prefixpath: '\' *is* allowed to be embedded in a path component,
iff POSIX extensions are enabled. Otherwise, neither
character is allowed.
The idea here is to allow either character to act as a delimiter when we
know that the character can't be anything but a delimiter (namely
everywhere up to the start of the prefixpath). The patch will convert
any '\' unconditionally to '/' in the UNC portion of the string.
However, inside the prefixpath, we can't make assumptions about what
constitutes a delimiter because POSIX allows for embedded '\'
characters. So there we don't attempt to do any conversion, and pass the
prefixpath to the kernel as is. Once the kernel determines whether POSIX
extensions are enabled, it can then convert the path if needed and it's
able to do so. A patch to handle this has already been committed to the
cifs-2.6 git tree.
This patch also fixes an annoyance. When you mount a subdir of a share,
mount.cifs munges the device string so that you can't tell what the
prefixpath is. So if I mount:
//server/share/p1/p2/p3
..then /proc/mounts and mtab will show only:
//server/share
Finally, it also tries to apply some consistent rules to the uppercasing
of strings.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit e03d1dfdb80333c071b600245eb749ef5664aa22)
|
|
|
|
|
|
| |
ignoring passwords.
Jeremy.
(cherry picked from commit e7b6ea46532a26611dfd9d9e2727d52ba6a9cf50)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 3cb1cdee9307cafa80ab95233a536f5dd7882ff1)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 8b4eac0ab186c02666693d3f007f0c98d60e0eda)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 776facabf6f09f643d6dc526aa83f8db517465f9)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 3adf82554a6f54878aed99c3e894aef1b7ecfd84)
|
|
|
|
|
| |
Guenther
(cherry picked from commit da7f006539219f8ccd525ef1fcd131d5f9558bf1)
|