Displaying 20 results from an estimated 2000 matches similar to: "Change Filelocking"
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
2008 Sep 29
1
strang locking behaviour with macosx clients
I'm running a samba pdc on my gentoo box in a mixed environment with a
couple of Windows XP clients and only a few MacOSX clients. The users
told me, the file locking 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
1998 Jun 04
1
Funny caching problem
Hi folks,
I am experiencing a strange problem with 1.9.18p7 on FreeBSD 2.2.2.
When I access files from the [homes] share, my Win95 client seems to be
caching the files, and not realising that the files may have changed.
For example, I can load a simple text file (from the [homes] share) into
Codewright on the Win95 client. Then I edit the same file using vi on the
samba server, and write out
2020 Apr 23
1
Samba 4.12 network share issue
Dear all,
I would need some help if we?re running in issues ?cause a wrong configuration of our shares, or it?s a bug in samba 4.12
On samba 4.11 we have no issues with our network shares when Windows Clients connect them.
After upgrade to 4.12 we run in to the issue that network shares which are mounted as drives per gpo not working well,
We get on windows when we try to open the network drive
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
This is the smbstatus with 4.11.x. No problems on clients.
Using LC_ALL=C because have Polish locale set up.
[root at arch1 ~]# LC_ALL=C smbstatus
Samba version 4.11.3
PID Username Group Machine
Protocol Version Encryption
Signing
2018 May 25
2
Fwd: NT_STATUS_ACCESS_DENIED for guest account to public share
Hi list,
I'm using samba-4.7.6-r0 and attempting to establish a public samba share
where any anonymous user can write to the share.
I have an issue where the 'guest' (uid 405) account is unable to write to a
directory owned by that uid. If the gid or world writable bits are set, I
can write to my share, but not as the guest uid. I need assistance
troubleshooting why I cannot write as
1998 Jul 14
1
smbstatus show open files when none are
I recently (a few weeks ago) installed 1.9.18p8 in order
to get better performance with an Access Database, which along
with adding a TCP_NODELAY in the [global] section has that
working like a charm. Thing that's bugging me now is smbstatus.
When I run it I see open files listed when I know that they aren't.
The following output shows quite a few files open that aren't
really. The
2015 Mar 18
2
windows sysvol share
Hello,
I have manually mounted the SYSVOL share, sync it with samba and run
samba-tool ntacl sysvolreset.
But I'm not sure if all windows policies are acceptable by samba because of
errors logs:
2015/03/18 09:30:52.197934, 0]
../source3/smbd/oplock.c:338(oplock_timeout_handler)
Oplock break failed for file
myDomain.local/Policies/{31B2F340-016D-11D2-945F-00C04FB984F9}/USER/Registry.pol
--
2017 Jan 26
1
[4.3.11-Ubuntu] SMBD keeps Locks on NTUSER.DAT and ntuser.ini after logout
After having migrated my machines and user to Samba 4.3.11 on Ubuntu 16.04.1
(no domain upgrade, new provision, all accounts new defined) and old data
copied over to the new machines, I have now a broader testbed and notice
issues I didn't see prior to that.
Having roaming profiles (defined in the user object in LDB)...
Seemingly at random smbd keeps locks on NTUSER.DAT and ntuser.ini for a
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
Forgot to add the tcpdump command used:
tcpdump -p -s 0 -n -w /root/tcpdump_all.txt
Pawel.
wt., 5 maj 2020 o 00:01 pavlos <pavlos.audiofreak at gmail.com> napisa?(a):
> OK, have repeated the test:
>
> - samba logs:
> http://www.mediafire.com/file/jy4qcyvqg6z39zu/logs.tar.gz/file
> - tcpdump log:
>
2014 Dec 19
3
[samba 4.0] read only = yes + Denymode DENY_WRITE
Hello,
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.
2015 Mar 18
3
windows sysvol share
Of course, the sysvol is located on a windows controller from the forest.
mount -t cifs -o username=domain_admin_user
//windowsDC.myDomain.local/SYSVOL /mnt/smb/sysvol
and copied the files with -R --preserve to
/usr/local/samba/var/locks/sysvol/
Below logs are provided from /usr/local/samba/var/log.smbd file.
regards,
On Wed, Mar 18, 2015 at 3:36 PM, Rowland Penny <rowlandpenny at
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
@Andrew,
Samba master - what do you mean? A clean compile and install from genuine
samba.org sources? As a matter of fact, I was thinking about it....
Let me do the tests now, with 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...
[root at arch1 /]#
2004 Aug 17
8
Samba printing
Using samba 3.05 and the point and print features how does one setup tcp/ip
ports for printing. After having loaded the print drivers using the APW all
the printer ports show a local port on the samba server and all of my
printers use a 192.168.10.X address. Is there anyway this can automatically
happen without user intervention.
I wasn't able to locate this info in the how to's.
2006 Nov 25
1
Possible memory leak in smbd?
I noticed one of my smbd processes for one particular client (IUSR_JUNIPER)
is taking 200MB in memory, far different from all the other smbd processes.
Should I be concerned about a memory leak here? I don't think samba would
be caching any files, so I can't see why it'd use this much memory.
That windows client is a win2k IIS5 server, with well over 60 sites that are
hosted off a
2015 Mar 18
2
windows sysvol share
Sorry, I have omitted to post the config file.
# cat /usr/local/samba/etc/smb.conf
[global]
workgroup = myDomain
realm = myDomain.local
netbios name = DCLINUX
server role = active directory domain controller
dsdb:schema update allowed = yes
[netlogon]
path = /usr/local/samba/var/locks/sysvol/rcs-rds.local/scripts
read only = No
[sysvol]
2015 Jun 13
3
idmap & migration to rfc2307
On 13/06/15 16:33, Jonathan Hunter wrote:
> Hi buhorojo,
>
> I *think* I have a stable system for the moment... so thank you :-)
>
> On 13 June 2015 at 12:50, buhorojo <buhorojo.lcb at gmail.com> wrote:
>>> I now set in smb.conf:
>>>
>>> server services = -dns +winbind -winbindd
>>>
>>> I stopped samba, then removed
2007 Aug 13
2
Freebsd + Samba + Ldap + Acls -> No locking file
Hello..
File server freebsd 6.2-STABLE + samba-3.0.25a + ldap + acls
Problem:
I've a situation where file locking does not seem to be functioning as expected, in that
more than one user can open and write to a file without any
notifications being displayed about the file already being opened by
another user.
I have two Windows XP clients accessing the same shared file, user1 has
the file
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
2000 Sep 12
2
File Locking problem
Hi, I have an SMB server running RH6.2 with SMB 2.0.7.
All the clients are WIN95, and require access to a database on the SAMBA
server.
The problem is that the database locks the file while the user is modifying
it, and then unlocks it when the user returns to the programs menu. If the
user then selects another action that uses the same file the program reports
that the file is locked.
Another