search for: denymode

Displaying 20 results from an estimated 135 matches for "denymode".

2014 Dec 19
3
[samba 4.0] read only = yes + Denymode DENY_WRITE
...Our samba fileserver is a member of a Windows 2008R2 domain, and has different shares. These shares are set with a "read only = yes" and have an explicit "write list". This works as planned. But when an "read only" user opens a pdf with Adobe acrobat, the file gets DenyMode DENY_WRITE and the user who can edit the file can't save the document anymore. After the readonly user closes the file, the file can be saved again by the user who is allowed to edit it. 13007 23132 DENY_WRITE 0x120089 RDONLY NONE /data/testshare file1.pdf Fri Dec...
2013 Jan 09
1
NAS and 2 active Samba servers / locking not working
...the file readonly. I was hoping, that the NFS server will tell Samba that the file is already in use (rw) - didn't happen. When I switched from NFS to Samba on the NAS and checked the NAS-Server, Server1 and Server2 with smbstatus I see the following: NAS: Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 6893 0 DENY_NONE 0x19b RDWR NONE /export/storage smbshare/bla/bla1.docx Server1: Locked f...
2014 Dec 19
0
[samba 4.0] read only = yes + Denymode DENY_WRITE
...rver is a member of a Windows 2008R2 domain, and has > different shares. These shares are set with a "read only = yes" and > have an explicit "write list". This works as planned. > But when an "read only" user opens a pdf with Adobe acrobat, the > file gets DenyMode DENY_WRITE and the user who can edit the file > can't save the document anymore. After the readonly user closes the > file, the file can be saved again by the user who is allowed to edit > it. > > 13007 23132 DENY_WRITE 0x120089 RDONLY NONE > /data/testshar...
2008 Sep 29
1
strang locking behaviour with macosx clients
...ng across the platforms does not work properly sometimes. I tried to google my problem, but without luck. I switched all the flags related the lock mechanism of samba on and off, but the problem seems to be solved yet. The only debug information I have is the output of smbstatus. The column "DenyMode" looks totally different if a mac or a windows client opens the same file. A *windows* client opens a file: [...] Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------...
2012 Mar 26
0
DenyMode on read only shares
Hello! Sorry if already discussed, but I can't find. I have two shares pointing to one directory on server. One of this ([share]) shares in read only. If I open file on this share it appears in smbstatus -L output like 28303 1001 DENY_WRITE 0x20089 RDONLY NONE /path TST/???????? Microsoft Word.doc Mon Mar 26 15:11:10 2012 Then if I try to open this file
2007 May 02
1
3.0.24 lock not releasing when file is closed
...39;ve been working solidly on this for the last 2 days but don't seem to be getting anywhere. Any and all help would be greatly appreciated. I've found that once a file has been opened, smbstatus shows the file is locked as expected (see below) Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time ---------------------------------------------------------------------------- ---------------------- 20863 670 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /data/home/public New Microsoft Word Document.doc Tue May 1 22:2...
2004 Sep 08
1
locked files in smbstatus
hello, can anybody explain or point me to a document that explain the locked files section produced by smbstatus -L (see below). what means denymode ? access ? what means exclusive+batch in the oplock section ? can anybody point me to a document explaining the way file locking works ? regards # smbstatus -L Locked files: Pid DenyMode Access R/W Oplock Name -------------------------------------------------------------...
2016 Oct 23
0
CTDB and locking issues in 4.4.6 (Classic domain)
...t; 213_ ISL Balance sheet variance analysis.xls" > open file \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\201609 > 213_ ISL Balance sheet variance analysis.xls: for read/write fnum 17669 > > But this: > > # smbstatus -L > Locked files: > Pid Uid DenyMode Access R/W > Oplock SharePath Name Time > -------------------------------------------------------------------------------------------------- > 1:19650 1046 DENY_NONE 0x83 RDWR > NONE /mfs/samba/drive_v jmi/Corporate Acco...
2001 Nov 30
0
DENY_MODE problem...
...om.br> ----- Date: Thu, 29 Nov 2001 12:34:41 -0200 From: "Luis Claudio R. Goncalves" <lclaudio@conectiva.com.br> Subject: DENY_MODE problem... To: samba-technical@lists.samba.org hello! I'm facing a weird problem. When a clipper application opens a dbf file as READONLY, its DenyMode will be DENY_ALL. If I open the same file as SHARE, everything works ok. I saw this under samba-2.2.1a + some patches. The code in 2.2.2 seems to be almost the same, at least in source/smbd/open.c. O, I've removed oplocks for .exe, .dbf, .ndx and related files. The smbstatus output of a READO...
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
...Accounts\2016\1609\> open "201609 213_ ISL Balance sheet variance analysis.xls" open file \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\201609 213_ ISL Balance sheet variance analysis.xls: for read/write fnum 17669 But this: # smbstatus -L Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 1:19650 1046 DENY_NONE 0x83 RDWR NONE /mfs/samba/drive_v jmi/Corporate Accounting/ISL Ltd Accou...
2002 Jul 15
2
Change Filelocking
Hi there, is it possible and when, how - to change the filelocking-status of an opened file from EXCLUSIVE+BATCH to another status ? We have to open an file to write at the same time from different pc's into this file. For example the following smbstatus -u USER output: Pid DenyMode Access R/W Oplock Name DENY_DOS 0x1 RDONLY EXCLUSIVE+BATCH kund.dat But we have to change it from RDOnly to RW and the OPLOCK to anything else but EXCLUSIVE+BATCH. So what do we have to do ? Thanxxx for your help! -- SET THE CONTROLS FOR THE HEART OF...
2016 Oct 23
1
CTDB and locking issues in 4.4.6 (Classic domain)
...nce analysis.xls" >> open file \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\201609 >> 213_ ISL Balance sheet variance analysis.xls: for read/write fnum 17669 >> >> But this: >> >> # smbstatus -L >> Locked files: >> Pid Uid DenyMode Access R/W >> Oplock SharePath Name Time >> -------------------------------------------------------------------------------------------------- >> 1:19650 1046 DENY_NONE 0x83 RDWR >> NONE /mfs/samba/drive_v jm...
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...--------------------------------------------------------------------------------------------- nas 493 192.168.1.103 Mon May 4 23:24:23 2020 CEST - - nas 490 192.168.1.108 Mon May 4 23:23:47 2020 CEST - - Locked files: Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 490 1000 DENY_ALL 0x100080 RDONLY NONE /nas . Mon May 4 23:23:47 2020 490 1000...
2007 Aug 13
2
Freebsd + Samba + Ldap + Acls -> No locking file
...warnings about the file being open by another user. File is modified by user1 and saved and remains open. File then modified by user2 and saved. File closed and opened by user1 who sees only modifications made by user2. user1 (WinXP) open test2.ods smbstatus: Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 14758 10004 DENY_WRITE 0x2019f RDWR EXCLUSIVE+BATCH /work/samba/bazafirm test2.ods Wed Aug 1 17:50:15 14758 10004...
2003 Nov 07
13
File Locking
Hi, I'm running smbd 2.2.8. I'm a little green when it comes to file locking with samba. I have two users that access a single data file on a FreeBSD box. It's a moneydance data file and obviously it gets messed-up if two users are writing to it at the same time. Is there a way with samba to stop a second instance of the file from being opened, something like a "File In
2000 Jan 11
0
SAMBA BUG: smbstatus 2.0.6 core dumps on Solaris 2.6 (SIGSEGV)
...redumps, and afterwards, a gdb session. root@grads:/depot/samba-2.0.6/bin 174# ./smbstatus Samba version 2.0.6 Service uid gid pid machine ---------------------------------------------- <connected users; the info is correct, removing because spammy> Locked files: Pid DenyMode R/W Oplock Name -------------------------------------------------- 19059 DENY_ALL RDWR EXCLUSIVE+BATCH /home/hpdrc-people-6/petrovm/Netscape/Users/default/mail/Inbox.snm Tue Jan 11 10:40:04 2000 Segmentation fault (core dumped) Here is a gdb run: root@grads:/depot...
2003 Aug 23
1
locking in samba
...when the first user opens it, he gots RW permission, while the next one(s) may open this file only as read-only. Tried on Samba3.0 alpha22, Samba3.0beta1 and Samba3.0rc1. blocking locks, posix locking and locking are set to yes in smb.conf, 'force user' is not set. smbstatus says "Denymode DENY_NONE, oplocks NONE" on every connection to the mentioned file. I've tried to switch on/off oplocks, level2 oplocks, kernel oplocks, strict locking, - nothing helps. What am i missing? Thanks.
2010 Nov 01
1
oplocks failed if user is not the owner of the file?
I have some identical windows 7 clients. All connected to Samba 3.5.4-1.1-2382-SUSE-SL11.0. If I'm the windows-owner of the file, swat shows me under "oplock" "exclusive+batch". Other users get: "none". What is the reason for this? ___________________________________________________________ Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt
2004 Jan 29
2
Samba & Ghost BackUp Problem
...------------------------------------------------ 1208 drratliff drratliff stu07-53 (192.168.1.161) Service pid machine Connected at ------------------------------------------------------- BigDeb_Ghs 1208 stu07-53 Thu Jan 29 00:22:32 2004 Locked files: Pid DenyMode Access R/W Oplock Name -------------------------------------------------------------- 1208 DENY_DOS 0x1 RDONLY EXCLUSIVE+BATCH /holding/ghostbackups/dell28Jan04.gho Thu Jan 29 00:22:40 2004 Samba version 3.0.0-Debian PID Username Group M...
2000 May 18
0
Failed copying and writing
...Trying to copy scrt303.exe from HOMES share to NT box, smbstatus reports: Samba version 2.0.7 Service uid gid pid machine ---------------------------------------------- ardy ardy users 31938 ws (192.168.1.2) Wed May 17 18:27:27 2000 Locked files: Pid DenyMode R/W Oplock Name -------------------------------------------------- 31938 DENY_NONE RDONLY NONE /home/ardy/Uactlsec.exe Wed May 17 18:45:07 2000 Note the filename Uactlsec.exe, this is not the file I'm trying to copy. The permissions on the above file: -rw-...