search for: rwh

Displaying 17 results from an estimated 17 matches for "rwh".

Did you mean: rw
2017 Jan 31
0
windows 10 locking profile files
...-------------------------------------------------------------------------- 23798 3000047 DENY_NONE 0x100081 RDONLY NONE /zext/Profiles . Tue Jan 31 21:21:44 2017 23800 3000047 DENY_NONE 0x80 RDONLY NONE /ssds/samba/Scanner/kueck . Tue Jan 31 21:21:34 2017 23798 3000047 DENY_NONE 0x12019f RDWR LEASE(RWH) /zext/Profiles kueck.V6/ntuser.ini Tue Jan 31 21:21:47 2017 23798 3000047 DENY_NONE 0x120089 RDONLY LEASE(RWH) /zext/Profiles kueck.V6/ntuser.ini Tue Jan 31 21:21:47 2017 23800 3000047 DENY_NONE 0x100081 RDONLY NONE /usr/local/samba/var/locks/sysvol/smb.wie/scripts . Tue Jan 31 21:21:33 2017 23800...
2018 Jan 16
3
Avoiding uid conflicts between rfc2307 user/groups and computers
Mandi! Kacper Wirski via samba In chel di` si favelave... > I understand the OP, I was asking some time ago similar question, but it was > in relation to samba domain member. Thanks, Kacper. > I couldn't get backend: ad to work for > machine accounts, so i switched to idmap: rid and it solved everything. I > tried manually adding UID and GID to Domain Computer group and to
2017 Oct 06
2
Linux vs. Windows SMB buffering
> > > Does the wireshark trace show the Windows client asking for and > getting a RWH lease under SMB2 ? If so, then there's no reason > it can't be caching the entire file locally. Seems strange > behaviour from the Windows redirector here. > I have uploaded the Linux packet capture here (14MB): https://drive.google.com/open?id=0B6UHr3GQEkQwWXJ1NjVwMkJXOEU Also,...
2023 Jan 24
1
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
24.01.2023 20:09, Jeremy Allison via samba wrote: > On Tue, Jan 24, 2023 at 12:38:29PM +0300, Michael Tokarev via samba wrote: >> >> Here we've two files open, with kernel oplocks = yes (hence it is LEASE(), - >> before I enabled kernel oplocks, it was LEASE(RH) or LEASE(RWH)). > > Kernel oplocks do not support SMB2+ LEASES. So you're > just seeing old SMB1-style oplocks. Yes, this is exactly what I wrote. This is not the question though, the question is why kernel oplocks don't work when they should, or if it is not the case, how it should be? Tha...
2024 Apr 18
1
Filelocking Issue in 4.18.11
...the following (mis) behavior: If user A with write permissions opens an excel file via public ip A and User B opens the same file via public ip B, both users get a Deny-Write lock on the same file and overwrite each others changes: 0:3693691 145522 DENY_WRITE 0x12019f RDWR LEASE(RWH) /srv/test test.xlsx Thu Apr 18 08:23:38 2024 1:3437621 0 DENY_WRITE 0x12019f RDWR LEASE(RWH) /srv/test test.xlsx Thu Apr 18 08:19:33 2024 Is this a bug or maybe a misconfiguration? In the latter, which parameters could cause this? We are using sernet pac...
2017 Oct 09
2
Linux vs. Windows SMB buffering
...r help, it's greatly appreciated! Will On Fri, Oct 6, 2017 at 7:09 PM Jeremy Allison <jra at samba.org> wrote: > On Fri, Oct 06, 2017 at 07:26:29PM +0000, Will Lucas wrote: > > > > Does the wireshark trace show the Windows client asking for and > > getting a RWH lease under SMB2 ? If so, then there's no reason > > it can't be caching the entire file locally. Seems strange > > behaviour from the Windows redirector here. > > > > > > I have uploaded the Linux packet capture here (14MB): > https://drive.google.c...
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
...this (from smbstatus): Locked files: Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 926452 122 DENY_WRITE 0x1000a1 RDONLY LEASE(RWH) /share/files .rel/ekis1/plan/oraprjplan.exe Sat Mar 16 21:28:10 2024 From any another windows machine I can't rename or remove this file, it says "the file is in use". While on linux when this share is mounted using cifs, it removes or renames without any issues, and thi...
2017 Oct 06
5
Linux vs. Windows SMB buffering
Hi all, In our office we use a program that makes many small writes to a file. We have been trying to use this program with our NAS, which hosts a Samba share on the network. However, the performance of the program is staggeringly slow on Window 7, 8.1, and 10. To make the problem easily repeatable, I created a small C++ program to just write 1 million lines to a file:
2017 Oct 06
0
Linux vs. Windows SMB buffering
...I can do to solve it. > > I have a more visual write up of all of this on ServerFault here: > https://serverfault.com/questions/808633/small-writes-to-smb-network-share-are-slow-on-windows-fast-over-cifs-linux-moun Does the wireshark trace show the Windows client asking for and getting a RWH lease under SMB2 ? If so, then there's no reason it can't be caching the entire file locally. Seems strange behaviour from the Windows redirector here.
2017 Oct 09
0
Linux vs. Windows SMB buffering
...immediately writing one line at a time :( > > I have uploaded the new packet capture snippet here (2MB): https:// > drive.google.com/open?id=0B6UHr3GQEkQwcXdEWVRFSXRMNnc > > Hopefully, I'm getting closer? :) Does the smb.conf looks reasonable to you? So it's now getting a RWH lease, but still doing the raw syscall reads across the wire. Does it do the same to a Windows server ? Looks like the client application is deliberately turning off any redirector caching by using FILE_FLAG_WRITE_THROUGH on the CreateFile() Win32 call. If you can do the equivalent of strace on Wi...
2006 Jan 06
1
Fw: hosts.allow, hosts.deny
>> Hello, >> >> I am using Debian Sarge, with Shorewall 2.2.3, >> >> for access control I am using hosts.allow : >> >> ALL: 144.131.xxx.xxx >> >> and hosts.deny: >> >> ALL: ALL >> >> I have a virtual machine that is being port forwarded to with Shorewall : >> >> DNAT net loc:10.0.0.100 tcp 3389
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. >>
2018 Feb 23
2
smbcontrol reload & close-share not working like previous version
Hello. I just upgrade my kernel, smbd and changed my smb.conf. (4.14.12-1-Arch" to "4.14.19-1-lts") "samba 4.7.4-1" But now, "reload smbd" and "close-share" can not drop connected users to share. Because of that I have to restart smbd service for destroy a share right now. But it was working previous version and I don't know what is wrong right
2008 Aug 09
2
xy plot in version 2.7.1 for Mac (PR#12520)
...30baoSyhAEnPNzyODeQcf6BI0of9KSYx06I KXjEty0ZEtvBN/qErG9qRFcEdEoFD6E9RzIk9z4nPCBFwojxLiqtSCKIOu9kCNmqwpU+CG0D0fEj 6ix8QPK1JUP422OFD4mxjTSHuxYCaTNF/ly5UURra0fUycftTo0QPh6cz0nWlgxRG/db+PKcNm5L hmzwqQaWTBuXE4KPUF4ew745LTKJW57HUvedBIGtPRj0XFhPAMlUzmuCAGGum2CApXuNqMOcY6RG kCkOZR2aXs8kCEjvfip1urj7yrsK5z4pIrWhuWwSRQdFG948tuQAESgUQyhIqgBtybFjMgTiPM7k gJYE4xdCUwYJVEqNYynjB1RXMl1bxV/t5dsoUzaAhWkp0eeRFNA3jqPin5KPz2ECJ+j1k2TVLqxJ ATIsEgen1VDLYSx8cgFlZOC2JwV0X4OFJQPVIykQLjr6XvrA/AKFyNY1nqvGak0KoDFQyf3TgN3u jj5F7qr4p53TzFCHAt0xWZa271b1yAT9MIJEposLk0WmOpR5aUDdiCyAKQCkdx3OI0O9Z7FA+t51 Two47Fblos8teQgoyBouL5l540oK...
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...>8DVQC!#Rx(yi>L$C4D7MOG>wkud^7NfbjdS at 7%FV zV}<jpqu(t(Nt=CcTo(L?iuy+AzBped&1^TC+2%L<5#w{mSK^LuiJ2|A!m$FD%{LS2 z$t~nJe)}b|gokLa8tiGdpxtqGhci6M=07czbY${ewBTCA+HB;TKKGd$KsJs!GOsik z(^CWImrw|XCY)+nFUuhEN;6E2>04nW63RCHxI{%ykvx5^n$qo&mG~;9XJHM{>^_r+ zlW>#7vygQnj&ARb=4RWHNVrXk9f0gl_~KK9X;cxB9$}NXlXvV+$RRXb*j0x-7NS5_ z0GUZ%7PoGdm_ICTv+ at K>V<&cDTZ-lR7enS&!VNyL&}HqJqG;j~Ju`8jLKoX59g%Id z?R-s_i<whH38dJQ2kR^yTPL{*FA8F- at 0$O)xug<Vjg%<(t?LoNke1ldaErJPRIpWj zf;H0F9Ucq~Ev&6=@tYq%4AU3r?XAtMsH?6`8nW1LO}^Z4U2SbJ6iKQ)?DoW62{_Pm z`K`zy?DGJ`GHgm0...
2019 Mar 06
2
as.Date(Inf) displays as 'NA' but is actually 'Inf'
...g to handle a read-write round-trip well, I think. > > So my personal don't-really-have-a-hat-in-the-ring opinion would be to > either leave it as is, or force as.Date(Inf, bla) to actually be NA. > > Best, > ~G > > On Tue, Mar 5, 2019 at 12:06 PM Richard White <w at rwhite.no > <mailto:w at rwhite.no>> wrote: > > Hi, > > I think I've discovered a bug in base R. > > Basically, when using 'Inf' as as 'Date', is is visually displayed as > 'NA', but R still treats it as 'Inf'. So it...
2019 Mar 05
3
as.Date(Inf) displays as 'NA' but is actually 'Inf'
Hi, I think I've discovered a bug in base R. Basically, when using 'Inf' as as 'Date', is is visually displayed as 'NA', but R still treats it as 'Inf'. So it is very confusing to work with, and can easily lead to errors: # Visually displays as NA > as.Date(Inf, origin="2018-01-01") [1] NA # Visually displays as NA > str(as.Date(Inf,