similar to: samba allows rename to a locked file (from linux cifs mount)

Displaying 20 results from an estimated 7000 matches similar to: "samba allows rename to a locked file (from linux cifs mount)"

2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 06:59, Michael Tokarev via samba wrote: > How to prevent rm and mv from touching a locked file? cf man smb.conf "kernel share modes" and git diff d40f57321a12~9..d40f57321a12 Cheers! -slow -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 16:06, Ralph Boehme wrote: > On 3/16/24 06:59, Michael Tokarev via samba wrote: >> How to prevent rm and mv from touching a locked file? > > cf man smb.conf "kernel share modes" and > > git diff d40f57321a12~9..d40f57321a12 Hello Ralph! I'm not sure we understand each other here. Yes I'm aware of "kernel share modes" and turning off
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 20:11, Ralph Boehme wrote: > On 3/16/24 14:18, Michael Tokarev wrote: >> So I'm trying to go exactly the opposite route: I'm mounting a samba >> share on linux (with cifs, see $subject). > > ah, missed that. Had read it as if you were acting on the Samba server directly. > > This smells like "strict rename" isn't enabled ? it isn't
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 14:18, Michael Tokarev wrote: > So I'm trying to go exactly the opposite route: I'm mounting a samba > share on linux (with cifs, see $subject). ah, missed that. Had read it as if you were acting on the Samba server directly. This smells like "strict rename" isn't enabled ? it isn't by default. -slow -------------- next part -------------- A
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
On 3/16/24 18:18, Michael Tokarev wrote: > 16.03.2024 20:11, Ralph Boehme wrote: >> On 3/16/24 14:18, Michael Tokarev wrote: >>> So I'm trying to go exactly the opposite route: I'm mounting a samba >>> share on linux (with cifs, see $subject). >> >> ah, missed that. Had read it as if you were acting on the Samba server >> directly. >>
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
16.03.2024 21:26, Ralph Boehme wrote: > On 3/16/24 18:18, Michael Tokarev wrote: >> Enabling strict renames does not change anything.? Yes it prevents from >> renaming a directory if a file is open inside.? But not renaming a plain >> file which is locked. > > oh, you mean just rename a plain file that is currently opened by some client? That is possible as long as all
2023 May 04
2
client-side symlinks ?
04.05.2023 15:32, Ralph Boehme ?????: > On 5/4/23 13:57, Michael Tokarev via samba wrote: >> Is it possible for windows to actually see and use symlinks on samba server? >> Windows NTFS does have notion of junctions and symbolic links, so when one >> open file A (which is a symbolic link), windows actually opens file B. >> Can such mechanism be used when A is on samba
2023 May 04
2
client-side symlinks ?
Hi! Is it possible for windows to actually see and use symlinks on samba server? Windows NTFS does have notion of junctions and symbolic links, so when one open file A (which is a symbolic link), windows actually opens file B. Can such mechanism be used when A is on samba share? This is probably a protocol question more than samba question. Thanks, /mjt
2024 Apr 24
1
Bad SMB2 (sign_algo_id=1) signature for message
23.04.2024 04:32, Jones Syue ??? via samba wrote: > https://lists.samba.org/archive/cifs-protocol/2024-April/004282.html > Just for reference Microsoft will update doc [MS-SMB2] later :) This does not answer how windows chooses signing key if the connection is anonymous, though -- it is what started this whole thread :) Thanks, /mjt
2023 Dec 04
1
Samba internal DNS client, large replies and TC bit
Hi! We had a painful debugging session today, with a samba AS member server not being able to auth users anymore. The issue seems to be due to defect in samba internal DNS resolution as done in winbind. TL;DR: samba internal DNS client should not rely on UDP-only DNS, but should retry using TCP if TC bit is set in answer. There's a real-life issue with this simplistic DNS implementation.
2023 Jan 20
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
Hi! I'm trying to understand how various ways to grant a file lease to (windows) clients works. Especially in context when files are being modified locally on the linux filesystem. For example, there's this wording in man smb.conf: kernel share modes ... Kernel share modes provide a minimal level of interoperability with local UNIX processes and NFS operations by
2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
On Tue, Jan 24, 2023 at 08:29:17PM +0300, Michael Tokarev via samba wrote: >24.01.2023 20:22, Ralph Boehme via samba wrote: >>What Samba version is this? This: >> >>>LEASE() >> >>... looks broken: the handle oplock/lease state claims to be a >>lease, which means the client didn't request an oplock but a lease >>which should not have happened in
2023 Apr 28
1
Default Samba version in Debian Bookworm
Hi folks, I have tried to get some information about what Samba version will be the default one when Debian Bookworm gets released, but without luck. Will it be 4.17, or 4.18? Or even 4.19.x? Will there be Samba backports for Bookworm? I saw a post from Michael Tokarev in this list a while ago, that there probably wont be a Samba 4.18 for Debian Bullseye. I also saw another post about
2023 May 04
1
client-side symlinks ?
On 5/4/23 13:57, Michael Tokarev via samba wrote: > Is it possible for windows to actually see and use symlinks on samba > server? > Windows NTFS does have notion of junctions and symbolic links, so when one > open file A (which is a symbolic link), windows actually opens file B. > Can such mechanism be used when A is on samba share? currently not, but with the upcoming SMB3 UNIX
2003 Oct 21
5
run R under linux
Dear all, Our department uses the linux system and we are not allowed to submit job directly. We must make a batch to submit through "qmon". so, I make a foo.sh file, which only contains one line: nohup R --vanilla < foo.txt > foo.results foo is all my codes. It is a simulation of 200 times. I set the seed at the beginning. It is to estimate the success probability, which is
2003 Sep 20
3
conditional function definition?
Hi Folks, What is the best way to avoid a function being read in anew (and masking an exiting function) when a definition of it has already been established in R? Reason: Fernando Tusell and I are working up Schafer's 'CAT' for R (basically done now, just needs some cosmetic tidying up). This uses a function 'slice.index', present in S but not in the versions of R we were
2024 Mar 11
3
Updating to Samba Version 4.19.5 via Debian Bookworm Backports
11.03.2024 17:40, spindles seven via samba: > Hi > > After seeing that Bookworm Backports has now got Samba version 4.19.5, I decided to update my samba machines. However, I find that those running on AMD64 architecture, the update doesn't appear. Machines running on arm architectures (armel & arm64) are updated correctly. I haven't changed anything in the
2023 Jan 31
2
Upgrading from Samba 4.8.2 to 4.15.5
31.01.2023 08:55, Matt Savin via samba ?????: > In group policies use DNS aliases, then you'll need to change only DNS > entries for these aliases to point to a new host(s). I'd say don't use simple dns aliases (cnames) in a DC, but use SPNs instead (see samba-tool spn). This will manage CNAMEs too, and also manages the KRB tickets and proper autentication of the server to the
2023 Oct 18
2
@Michael Tokarev: Samba 4.17.12
16.10.2023 15:50, Ingo Asche via samba wrote: > Hi Michael, > > short question: will the Bullseye-Backports getting 4.17.12, too? > > I saw, Bookworm is already updated... Since oldstable-bpo archive in debian is always subject to manual backports-policy processing (all uploads are processed manually), I don't push stuff to oldstable-bpo often. On the other hand, this
2024 Apr 05
1
samba as a domain member: a way to ignore groups?
05.04.2024 17:50, Rowland Penny via samba: > On Fri, 5 Apr 2024 17:24:33 +0300 > Michael Tokarev <mjt at tls.msk.ru> wrote: > >> 05.04.2024 17:16, Rowland Penny via samba wrote: >>> On Fri, 5 Apr 2024 16:43:42 +0300 >>> Michael Tokarev via samba <samba at lists.samba.org> wrote: >>> >>>> Hi! >>>> >>>> We had