Displaying 20 results from an estimated 55 matches for "deny_all".
2020 Apr 23
1
Samba 4.12 network share issue
...shares which are mounted as drives per gpo not working well,
We get on windows when we try to open the network drive the message : ?Could not open drive, wrong handle? or the message ?Another process is in use? and we can?t open the network share drive.
Also I noticed that smbstatus tell?s me some deny_all and deny_write on some users like the Domain Admin:
Pid User(ID) DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
21715 0 DENY_ALL 0x100080 R...
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...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 DENY_NONE 0x100081 RDONLY NONE
/nas . Mon May 4 23:23:54 2020
493 65534 DENY_NONE 0x100081 RDONLY NONE
/nas . Mon May 4 23:24:22 2020...
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...>>
>> 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 DENY_NONE 0x100081 RDONLY NONE
>> /nas . Mon May 4 23:23:54 2020
>> 493 65534 DENY_NONE 0x100081 RDONLY NONE
>>...
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...192.168.1.108 Mon May 4 23:03:42 2020 CEST -
-
Locked files:
Pid User(ID) DenyMode Access R/W Oplock
SharePath Name Time
--------------------------------------------------------------------------------------------------
386 65534 DENY_ALL 0x100080 RDONLY NONE
/nas . Mon May 4 23:05:16 2020
369 1000 DENY_NONE 0x100081 RDONLY NONE
/nas . Mon May 4 23:04:49 2020
Pawel.
pon., 4 maj 2020 o 23:03 Andrew Bartlett <abartlet at samba.org> napisa?(a):
> Thanks for...
2010 Aug 20
4
Can Samba lock files until copy is complete?
Hi,
We've got a system where staff use Samba mounts on their Windows desktops to
drop files into a Linux directory for further processing. Some of those
files are large, and take time for the file copy across Samba to complete.
The problem is that looking at the directory from the Linux side, to see if
there are new files to process, the directory listing for the
files-copied-across-by-Samba
2010 Nov 26
2
ACL Problems with Samba and ADS Integration
I am running a Samba Box as a Domain Member in a Windows ADS Domain (Windows Server 2003). The Box has joined the ADS domain and the kerberos authentication works, I can see "smbd" processes running with AD user accounts.
But I can not set ACLs on the directories or the files located on the share. If I change them using Windows Explorer, they either will be ignored by samba, or I get the
2020 May 04
0
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...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 DENY_NONE 0x100081 RDONLY NONE
> /nas . Mon May 4 23:23:54 2020
> 493 65534 DENY_NONE 0x100081 RDONLY NONE
> /nas ....
2016 Oct 23
0
CTDB and locking issues in 4.4.6 (Classic domain)
...om Excel?
> Is odd as the patch was applied fine during the RPM build process.
>
> Is there something I need to do when building from sRPMs to make
> this stick?
You could double check in ~/rpmbuild/BUILD/ if the patch was really
applied. If it was, an smbclient open should result in DENY_ALL
denymode in smbstatus -L, eg:
$ ./bin/smbclient -Uslow%x -msmb3 //10.10.11.100/test
Domain=[SLOWSERVER] OS=[] Server=[]
smb: \> open test
open file \test: for read/write fnum 1
$ sudo ./bin/smbstatus -L
Locked files:
Pid Uid DenyMode Access R/W Oplock Sh...
2000 Jan 11
0
SAMBA BUG: smbstatus 2.0.6 core dumps on Solaris 2.6 (SIGSEGV)
...sion 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/samba-2.0.6/src/samba-2.0.6/source/bin 183# gdb ./smbstatus
GNU gdb 4.17
Copyright 1998 Free Software...
2001 Nov 30
0
DENY_MODE problem...
...ate: 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 READONLY open:
Locked...
2006 Feb 13
1
Disabling locking for DLL files
...erything else on the share.
Thanks,
Adam.
Locked files:
Pid DenyMode Access R/W Oplock Name
--------------------------------------------------------------
29935 DENY_WRITE 0x20 RDONLY EXCLUSIVE+BATCH System/Psi/qt-mt335.dll Mon Feb 13 12:16:28 2006
31685 DENY_ALL 0x0 RDONLY NONE System/Psi/qt-mt335.dll Mon Feb 13 14:05:44 2006
29935 DENY_WRITE 0x20 RDONLY EXCLUSIVE+BATCH System/Psi/ssleay32.dll Mon Feb 13 12:16:29 2006
341 DENY_ALL 0x0 RDONLY NONE System/Psi/ssleay32.dll Mon Feb 13 14...
2001 Apr 14
2
Mysterious connection disappearances
I installed a samba server about a week ago for a client and have been
having some trouble with it. The two problems that occur are:
1. The "Microsoft mail postoffice" occasionally has files with deny_all
locks on them that prevent other users from sending email to the user.
My first impression was that this was an Outlook issue, but rebooting
the entire (client) computer does not unstick the problem. The only
thing to do seems to be to kill the connection from SWAT.
2. One particular program (calle...
2020 May 04
0
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...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 DENY_NONE 0x100081 RDONLY NONE
> > > /nas . Mon May 4 23:23:54 2020
> > > 493 65534 DENY_NONE 0x100081 RDO...
2008 Sep 29
1
strang locking behaviour with macosx clients
...ws client opens
the same file.
A *windows* client opens a file:
[...]
Locked files:
Pid Uid DenyMode Access R/W Oplock
SharePath Name Time
--------------------------------------------------------------------------------------------------
19919 501 DENY_ALL 0x2019f RDWR
EXCLUSIVE+BATCH /data0/prod ~test~0kjyv(.idlk Tue Sep 30 00:50:24 2008
19919 501 DENY_WRITE 0x20089 RDONLY
EXCLUSIVE+BATCH /data0/prod test.indd Tue Sep 30 00:50:24 2008
A *mac* client opens a file:
[...]
Locked files:
Pid Uid DenyMode...
2001 Dec 07
1
"smbd -D" gone wild ...
...;ps aux" or "smbstatus", i
saw A LOT of "smbd -D" started for the same user 10
times in about 2 minutes.
When I try to kill them, it didn't do anything even
after shutting down the Samba suite.
More, smbstatus warns me about locked files in RD_ONLY
or RDWR status and DENY_ALL mode.
The pointed files are in the /home/$user directory
which is 0755 accessible.
One last thing : while rebooting the server in order
to kill all misworking smbd threads, it can't unmount
/home, /var, / and other filesystems saying they are
"busy".
So, during boot time, while force...
2020 Apr 15
2
CTDB and locking issues reloaded
...happen to connect to the same samba gateway.
The issue is that both clients are able to take an exclusive lock on the
same file, as if the lock information is not propagated across the
cluster. And indeed I could see the following on the server side:
# smbstatus -L | grep lopresti
2:8324 4179 DENY_ALL 0x3 RDWR NONE /eos home-l/lopresti/testsambalock
Tue Apr 14 12:00:45 2020
3:29245 4179 DENY_ALL 0x3 RDWR NONE /eos home-l/lopresti/testsambalock
Tue Apr 14 12:02:38 2020
I obtained the above by patching the smbclient code from a 4.12 branch
following the above mentioned thread, and starting two...
2020 May 04
0
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...tcpdump. Will send some logs
> and outputs later on.
>
> You've asked previously - this is the smbstatus, already on the
> latest kernel/samba versions.
> The problem is persistent, no wonder...
I'm not an expert on SMB share modes (I mostly do strange AD DC stuff),
but a DENY_ALL over the root of the share might be problematic. I
normally thought deny modes were for files, not folders...
> > [root at arch1 /]# LC_ALL=C smbstatus
> >
> > Locked files:
> > Pid User(ID) DenyMode Access R/W Oplock
> > SharePath...
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
Hi Ralph,
I applied the patch to a new build of Sernet 4.4.6 SRPM. I could still
open the file from both hosts, and in fact this time I could actually
open it on the same host without any problems:
host 1:
smbclient -U ajc //172.31.0.120/ifa_v
...
smb: \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\> open "201609
213_ ISL Balance sheet variance analysis.xls"
open file
2005 Mar 14
4
[SMB 3.0.10] File Locking Mechanism Windows <-> Unix
...e/Testdev/share
read only = No
oplocks = no
strict locking = yes
level2 oplocks = no
The files under this directory are modified both from Windows and Solaris
programatically. When ever a process accesses a file in this directory, it
opens it in an exclusive mode ( DENY_ALL ). Now, this works fine between two
processes on Windows and between two UNIX process (Gives equivalent of
Winods error 53, File is used by another process) . But this does not work
between Winodws and Unix. i.e Both of them are able to open the file in
exclusive mode!! I ran the 'fuser' c...
2016 Oct 23
1
CTDB and locking issues in 4.4.6 (Classic domain)
...dd as the patch was applied fine during the RPM build process.
>>
>> Is there something I need to do when building from sRPMs to make
>> this stick?
> You could double check in ~/rpmbuild/BUILD/ if the patch was really
> applied. If it was, an smbclient open should result in DENY_ALL
> denymode in smbstatus -L, eg:
>
> $ ./bin/smbclient -Uslow%x -msmb3 //10.10.11.100/test
> Domain=[SLOWSERVER] OS=[] Server=[]
> smb: \> open test
> open file \test: for read/write fnum 1
>
> $ sudo ./bin/smbstatus -L
> Locked files:
> Pid Uid DenyM...