| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This used to be commit fda8abac in master.
(cherry picked from commit 8ddb30ca90d31624ba86cd731f573aedad43face)
|
|
|
|
|
|
| |
This is required to get the CIFSUPCALL_PROGS setting extracted from
config.log.
(cherry picked from commit 1c3313dea793a7eea72afb990da125f6c2a8444c)
|
|
|
|
|
|
| |
Only install the cifs.upcall man page if CIFSUPCALL_PROGS was set while
configure.
(cherry picked from commit b44b29e5d9047f79202fa8fb3ca0eb86b2a98090)
|
|
|
|
|
|
| |
This used to be commit 16f07280 in master.
(cherry picked from commit 89919a131b234485564ff2f2f20e3d9f9eb83522)
(cherry picked from commit 5d76e219ab4856a5c72835eebf48d5dd1cf0e01e)
|
|
|
|
| |
(cherry picked from commit ce440096473d4db0e43f65ced6c2084a5bdbabc6)
|
|
|
|
| |
(cherry picked from commit bbfe82768add789a98ce3711fb5f378d19363401)
|
|
|
|
|
|
| |
the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr
(cherry picked from commit 5e4f6639e7ed96f3457177d203283c1c55ec52dd)
|
|
|
|
|
|
|
| |
configure.in, and the application of it in time.c
Jeremy.
(cherry picked from commit d7c7acee813b3cd9649b381a3e63c0be56e67d29)
|
|
|
|
| |
(cherry picked from commit e0381d6a173dcf64910ac597a10a3f0fa59ffe43)
|
|
|
|
| |
(cherry picked from commit ca155297bf932df6fd4a0ff223e5a7f1b8340f6b)
|
|
|
|
|
|
| |
chance to succeed
(cherry picked from commit 772dcc3b3703507af6baee090602a0ae8633fe2f)
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit ef76b71683f3d420fa8062bc5364493c44ab68ce)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In event handlers, we might destroy other events that are pending in the lists.
We can only run one event safely per select call.
Yes, I've seen these valgrind errors :-)
Jeremy, with ccdd921e61 you had checked in the change to run multiple events.
Do you remember why it was necessary and could not be solved in a different
way?
Volker
(cherry picked from commit 077e0ed31315242c571ccd9e9579f53aac0dbbc7)
|
|
|
|
|
|
| |
Don't reference anything that might have been deleted in the async_req_error
call.
(cherry picked from commit 8e7d0cf27cf9eb18be497d13bd0dbbe1d76b97a0)
|
|
|
|
|
| |
Karolin
(cherry picked from commit a8eb8de94f5bfe4de000c5e85a43469af555a717)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 239a2d0ac6f1b56d67d7fffdb7388a3008eeb4e2)
|
|
|
|
|
|
| |
we know the correct bits to use here.
Jeremy.
(cherry picked from commit 1497c6964767d6d73d6c1c1f6bbbeff2f05b35bc)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit e0c56d65f4096cdbcf9e560309e71fc21faa7d9a)
|
|
|
|
|
|
|
|
|
|
| |
(The test needs to additionally include <netinet/in_systm.h>.)
Michael
(cherry picked from commit a223b096700bc54b446a0e152c842b088566720b)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ac4d07ef8300a2b571296b8b3f7c23e8850b526a)
|
|
|
|
|
|
|
|
|
|
| |
under solaris
Michael
(cherry picked from commit 1b7beaed69823b3c401bc4c0b1c502b671169168)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 74534203b5b91445cd8ae4cd7f2a0d35ea73a281)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 75fff603625e0259f187e0fa47efd85887092fae)
(cherry picked from commit a691e29b466fdf1776160d92704e1ca958fa9eee)
|
|
|
|
|
|
|
|
| |
This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007...
Guenther
(cherry picked from commit 547c70e896b6890dd5f7b911e4e0ca107c8a3fa3)
(cherry picked from commit 632f4b83158d46ae456713286a27ac0c2aa2ee25)
|
|
|
|
|
|
|
|
|
| |
thread/fork safe
metze
(cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209)
(cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c)
(cherry picked from commit 9483b143fe473d374e7f5c71f0d497f28f4e69f7)
|
|
|
|
|
|
| |
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c.
Jeremy.
(cherry picked from commit 7b994fc658ad175bc40af9e38a8f1b870276d980)
|
|
|
|
|
|
| |
to ourselves unless that was passed in.
Jeremy.
(cherry picked from commit d04d93f783533612e20326b7b6ea5958eb5fcdc6)
|
|
|
|
|
|
|
|
|
| |
ACLs.
If the chown succeeds then the ACL set should also. Ensure this is the case
(refactor some of this code to make it simpler to read also).
Jeremy.
(cherry picked from commit 7e38054a94d3feacda9c249549d2721a4ee0b261)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simo is completely correct. We should be doing the chown *first*, and fail the
ACL set if this fails. The long standing assumption I made when writing the
initial POSIX ACL code was that Windows didn't control who could chown a file
in the same was as POSIX. In POSIX only root can do this whereas I wasn't sure
who could do this in Windows at the time (I didn't understand the privilege
model). So the assumption was that setting the ACL was more important (early
tests showed many failed ACL set's due to inability to chown). But now we have
privileges in smbd, and we must always fail an ACL set when we can't chown
first. The key that Simo noticed is that the CREATOR_OWNER bits in the ACL
incoming are relative to the *new* owner, not the old one. This is why the old
user owner disappears on ACL set - their access was set via the USER_OBJ in the
creator POSIX ACL and when the ownership changes they lose their access.
Patch is simple - just ensure we do the chown first before evaluating the
incoming ACL re-read the owners. We already have code to do this it just wasn't
rigorously being applied.
Jeremy.
(cherry picked from commit 9c3da895e6dd5df2f4e3377e1bf562b376436081)
|
|
|
|
| |
(cherry picked from commit e9de9cd33a3260c0b1b019208db9c3f96d9d5f3a)
|
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 5db09d4dd27e10c926c3413bcd3088e72a4af487)
|
|
|
|
|
|
|
|
|
| |
"fileid:mapping" is still supported as fallback.
metze
(cherry picked from commit 554a89df0cf6d9832778e2913f9fe50b78baeedc)
(cherry picked from commit fe9ad21b8cb5286845350fe2280da2cbe2647bb7)
(cherry picked from commit 3c56cd9f701254dec33aa60b6f6b3fa90a28557a)
|
|
|
|
|
| |
(cherry picked from commit 2856d2e4a43fbcc6c8f8ac7b1613828170362861)
(cherry picked from commit 174b595bb171c32be9079f9f691b415ac0fdc635)
|
|
|
|
|
|
|
|
|
|
|
| |
- Most of the time, we can determine from the file system we're connecting to
whether it supports case sensitivity. In those cases, we now set the
internal case sensitivity flag automatically. For those cases where the
request to retrieve file system attributes fails, we'll use the
user-specified option value.
Derrell
(cherry picked from commit ded86426c222b11b9c2e8d8e4cae5ed0eff19edd)
|
|
|
|
|
|
|
|
|
|
|
| |
- Since the revamp of libsmbclient, there has still been an external
declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet
those functions were renamed and made private. The two choices were to
remove the function names from libsmbclient.h or to make them public
again. The reported requested that they be public. This commit makes it so.
Derrell
(cherry picked from commit 91d30b8a3406d01b5fca97a96ad5964703813f0e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! ***
- libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default,
it requests case-sensitive, but the old behavior of case-insensitive can be
requested with smbc_setOptionCaseSensitive(context, False);
The change of behavior is considered a bug fix, as it was previously
possible to accidentally overwrite a file that had the same case-insensitive
name but a different case-sensitive name as a previously-existing file,
while creating a new file.
Derrell
(cherry picked from commit ac4baafeb8d74bf1db7f2ce84b2bc3abdef90337)
|
|
|
|
|
|
| |
SMBC_parse_path is called by SMBC_stat_ctx.
(cherry picked from commit d9f66f3e3d9af9c3323029207e62391f382632e9)
|
|
|
|
|
|
|
|
| |
compilers
can't kill us later.
Jeremy.
(cherry picked from commit 3504910d91fa6d174861815255062efefb0c46aa)
|
|
|
|
|
|
|
|
|
|
|
| |
work with NTRENAME
Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.
The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.
(cherry picked from commit 2cca28b3e999a8886539b9a5dde267bb8a3a1db7)
|
|
|
|
|
|
|
|
|
| |
Handling of error codes when renaming a file to a stream and a stream
to a file is now done in rename_internals_fsp.
The NTRENAME stream path only passes in the stream name, so the new
base can now be different from the old base.
(cherry picked from commit 078c4fbab8a5be2e23acda1978fd6d6071898dd9)
|
|
|
|
|
| |
The test_streams_rename2 test in RAW-STREAMS verifies these changes
(cherry picked from commit ac7c18d642bef231730927347e7b0296b1c9d82b)
|
|
|
|
|
|
| |
Based on a patch from pkg-samba-maint@lists.alioth.debian.org.
Jeremy.
(cherry picked from commit b13f7e296a70e1280baae9f2f3156043c48bafa9)
|
|
|
|
|
|
|
|
| |
binaries that don't have
an event context or a msg context. Fixes crash bug in swat.
Jeremy.
(cherry picked from commit a2944e99825943f91d0260c218de06817acfcf51)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 76555085fd9bb40a4c0e2c18b5bf965dcf636cb1)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 7c0b99baafc4a0bc04251c9a456bf2cc104058c4)
|
|
|
|
| |
(cherry picked from commit 25e035815681136e69b9d49d548b7d7b908011c5)
|
|
|
|
| |
(cherry picked from commit e443cfaa25c26a7761113bdde9b7453a97f8e5d5)
|
|
|
|
|
|
|
|
|
|
|
|
| |
in commit 61c5589d1fa4d6fe7ce7293a6f6ceab96d4ee193
(fix for bug #6019)
When cherry-picking from v3-3-test (or master) to v3-2-test,
we need to check that proto.h gets removed before committing,
since v3-2-test still has make proto.
Michael
(cherry picked from commit 3ac7289b4d7fef830b05a8cb351476480681b28a)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit e1af2b4bc824450615454adec460e6698a83cefc)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 61c5589d1fa4d6fe7ce7293a6f6ceab96d4ee193)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SMB signing works the same regardless of the used auth mech.
We need to start with the temp signing ("BSRSPYL ")
and the session setup response with NT_STATUS_OK
is the first signed packet.
Now we set the krb5 session key if we got the NT_STATUS_OK
from the server and then recheck the packet.
All this is needed to make the fallback from krb5 to
ntlmssp possible. This commit also resets the cli->vuid
value to 0, if the krb5 auth didn't succeed. Otherwise
the server handles NTLMSSP packets as krb5 packets.
The restructuring of the SMB signing code is needed to
make sure the krb5 code only starts the signing engine
on success. Otherwise the NTLMSSP fallback could not initialize
the signing engine (again).
metze
(cherry picked from commit 7d9fd64f38aa5821b38c1223cf87979fc87bfb71)
(cherry picked from commit 8e29070ccd0b5103af2e6da75644169f46700313)
(cherry picked from commit 38b297f99ec166e5c40ba33774222b37b45b4fec)
|
|
|
|
|
|
|
|
|
| |
This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de>
Thanks,
Volker
(cherry picked from commit a77b622f05c50512626b2636343eb8da6d5e4549)
|