search for: sharepath

Displaying 20 results from an estimated 109 matches for "sharepath".

2024 Mar 21
1
byte range lock for Write starting on Zero and negative length ( -9223372036854775808 )
...domain) is serving a mix of Windows 10 and Centos 7 >clients, I have strange byte range locks. > >- Server is Samba 4.17.5 / Kernel 5.14.0 Rocky 9.2 > >smbstatus -B gives: > >- When client is Windows 10: >Byte range locks: >Pid??????? dev:inode?????? R/W? start???? size SharePath?????????????? Name >-------------------------------------------------------------------------------- >1551641??? 2431:14156401:0 W??? 1000013752 1 /home/geral/DAT????????? >APLIC/CC/ENCOMEND.DBF > >- When client is CentOS 7 (Samba 4.10.16 / kernel 3.10.0) >Byte range locks: >P...
2024 Feb 02
1
byte range lock for Write starting on Zero and negative length ( -9223372036854775808 )
...originates in Samba. File server (no domain) is serving a mix of Windows 10 and Centos 7 clients, I have strange byte range locks. - Server is Samba 4.17.5 / Kernel 5.14.0 Rocky 9.2 smbstatus -B gives: - When client is Windows 10: Byte range locks: Pid??????? dev:inode?????? R/W? start???? size SharePath?????????????? Name -------------------------------------------------------------------------------- 1551641??? 2431:14156401:0 W??? 1000013752 1 /home/geral/DAT????????? APLIC/CC/ENCOMEND.DBF - When client is CentOS 7 (Samba 4.10.16 / kernel 3.10.0) Byte range locks: Pid??????? dev:inode?????? R/...
2013 Jan 09
1
NAS and 2 active Samba servers / locking not working
...er 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 files: Pid Uid DenyMode Access...
2007 May 02
1
3.0.24 lock not releasing when file is closed
...e 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:22:36 2007 Then when the file is then c...
2008 Sep 29
1
strang locking behaviour with macosx clients
...ved 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 -------------------------------------------------------------------------------------------------- 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 EXCL...
2020 Jan 07
6
Error GPO
...und.') File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run copy_directory_local_to_remote(conn, gpodir, sharepath) File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in copy_directory_local_to_remote conn.savefile(r_name, data)
2020 Feb 27
2
Can't use "samba-tool gpo backup" command
...class 'UnicodeDecodeError'>): Error copying GPO from DC - 'utf-8' codec can't decode byte 0xda in position 34: invalid continuation byte ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line 1050, in run ??? backup_directory_remote_to_local(conn, sharepath, gpodir) ? File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line 294, in backup_directory_remote_to_local ??? parser.parse(data) ? File "/usr/lib64/python3.6/site-packages/samba/gp_parse/gp_ini.py", line 40, in parse ??? self.ini_conf.readfp(StringIO(contents...
2014 Apr 21
2
GPO Create error
...ion - (-1073741734, 'NT_STATUS_INVALID_OWNER') File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/samba/netcmd/gpo.py", line 1000, in run conn.set_acl(sharepath, fs_sd, sio) I'm running 4.1.6-SerNet-RedHat-7.el6 on Centos 6.5. Any ideas where to look next?
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 DENY_NONE 0x100081 RDONLY NONE...
2007 Aug 13
2
Freebsd + Samba + Ldap + Acls -> No locking file
...ther 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 DENY_NONE 0x100001 RDONLY NON...
2016 Oct 23
0
CTDB and locking issues in 4.4.6 (Classic domain)
...t; 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 > Accounts/2016/1609/201609 213_ ISL Ba...
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
2010 Nov 29
0
VFS full_audit sending spurious messages to syslog?
...udit This is working fine. However, I've recently been getting lines in /var/log/syslog that look like they're coming from full_audit. They all look something like this: Nov 29 10:12:07 SERVERNAME smbd[3312]: root|xxx.xxx.xxx.xxx|<machineName>|<shareName>|realpath|ok|<sharePath> Nov 29 10:12:07 SERVERNAME smbd[3312]: <userName>|xxx.xxx.xxx.xxx|<machineName>|<shareName>|realpath|ok|<sharePath> I can't for the life of me work out why these are appearing in the syslog. The same lines also appear in samba/log.audit along with all the othe...
2017 Feb 02
2
Conversion error Illegal multibyte sequence in smbstatus
Hi, My output of smbstatus is bugged somehow in the Locked files section. For every line with a non ascii character, the whole string from the character to the end (included) is removed. Hence the line is attached to the next one. Here is a simplified example Locked files: Pid ... SharePath Name Time --------------------------------- 8910 ... /path to/a/file/with/a/non/ascii/character/imediately/followed/by/next/line8595 ... /path to/a/file/with/only/ascii/characters Thu Feb 2 14:17:16 2017 8910 ... /path to/a/file/with/only/ascii/characters Thu Feb 2 14:17:16 2017 891...
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
...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 Accounts/2016/1609/201609 213_ ISL Balance sheet variance...
2020 Jan 08
0
Error GPO
...;) File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run copy_directory_local_to_remote(conn, gpodir, sharepath) File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in copy_directory_local_to_remote conn.savefile(r_name, data) But when I go to a /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/Policies I can see it. then if I tried to delete ./samba-tool gpo...
2016 Apr 07
2
Samba as AD-Controller: unable to update policies and call start scripts
Hi list! I have an Ubuntu 14.04 Server with Samba 4.1.6 acting as Active Directory controller. I worked 'till today, now I tried to join a new PC to the domain and it does not work... Problems: start and shutdown scripts are NOT called at all, logon scripts are called on the first PC, but not in the new one. The new PC did not receive the policies and did not mount the shares. gpupdate
2024 Mar 16
1
samba allows rename to a locked file (from linux cifs mount)
..."lock" where you referring at in your initial mail? Exactly, just a plain file. For example, an executable (.exe) file which is currently running by some windows client, like 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 c...
2020 May 04
2
Win7 clients problem after upgrading samba file server to 4.12 on Arch
...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 DENY_N...
2015 Mar 18
2
windows sysvol share
...ersion 4.1.15 - Debian 7.8 (3.2.0-4-amd64 #1 SMP Debian 3.2.65-1 x86_64 GNU/Linux) is joined as a domain controller to an existing windows domain. Windows domain controllers (2003 R2, 2012R2) own FSMO roles. smbstatus: Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 9881 3001393 DENY_NONE 0x20089 RDONLY EXCLUSIVE+BATCH /usr/local/samba/var/locks/sysvol myDomain/Policies/{8F6D6798-D5A0-4BED-9548-88E45918ADA0}/GPT.INI Wed Mar 18...