Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Samba issue after last update

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
corsairetc
Posts: 73
Joined: 2014-11-14 05:30

Samba issue after last update

#1 Post by corsairetc »

Hello,
I have two server with Debian 8 x64. At friday I was make apt update/upgrade and there was the samba updates after that samba has strange issue. I can access to share for example Backup, in this share I can normally open files or make new files. Problem star when I access to same folder in Backup share. I can't here create files open files as a movies a create another folder. I check many times smb.conf and permesiions on folder share but nothink was change, this mess make latest update. In htop is running samba daemon smbd -D and continously consume cpu to 25%
Is there any solution for this issue ?
Thank you for any advice.

Here I attach smbstatus log

Code: Select all

Samba version 4.2.14-Debian
PID     Username      Group         Machine            Protocol Version       
------------------------------------------------------------------------------
Failed to initialize session_global: NT_STATUS_ACCESS_DENIED

Service      pid     machine       Connected at
-------------------------------------------------------
Failed to initialize session_global: NT_STATUS_ACCESS_DENIED
Failed to traverse sessions: NT_STATUS_ACCESS_DENIED

messaging_dgm_lockfile_create: Could not create lock directory: Adresář nebo soubor neexistuje
messaging_dgm_init: messaging_dgm_create_lockfile failed: Adresář nebo soubor neexistuje
messaging_dgm_init failed: Adresář nebo soubor neexistuje
Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
I try to create new share with name Test
smb.conf

Code: Select all

[Test]
  path = /mnt/md1raid/test
  comment = Slozka pro zalohy
  directory mask = 0770
  force group = backup-w
  force user = server
  create mask = 0660
  valid users = @backup-w,@backup-r
  read list = @backup-r
  writeable = yes
  browseable = yes
Permissions on foleder are server:backup-w and chmod 0770

After restart samba and access to test share folder I can create files and folder but if I open new folder here I cant create nozhing and windows explorer freeze. It is so strange.


corsairetc
Posts: 73
Joined: 2014-11-14 05:30

Re: Samba issue after last update

#3 Post by corsairetc »

Hello,
Problem solved, it is bug. I got answer from bug report:

Code: Select all

If you have "follow symlinks" in you smb.conf
Try removing it, or set it to "follow symlinks = yes"
And restart smbd of the complete server. 
After this samba sub folders start work again.

Post Reply