[Samba] [EXTERNAL]:Re: A disconnected network can, for all practical purposes, hang your system.

Rowland Penny rpenny at samba.org
Thu Apr 7 09:06:43 UTC 2022


On Thu, 2022-04-07 at 08:30 +0000, Jaideep Shankar wrote:
> Yes, SMB version on Windows 10 is given.

OK, but you called it 'Samba' :-)

> 
> Contents of the smb config file:

Without all the comments and defaults (aka the output of 'testparm -s):

[global]
   workgroup = WORKGROUP
   server string = %h server (Samba, Ubuntu)
   log file = /var/log/samba/log.%m
   max log size = 1000
   logging = file
   panic action = /usr/share/samba/panic-action %d
   server role = standalone server
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   usershare allow guests = yes

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers

[sambasharero]
    comment = Samba on Ubuntu ro
    path = /home/ubuntu/smbro

[sambasharero1]
    comment = Samba on Ubuntu ro
    path = /home/ubuntu/smbro

[sambasharero2]
    comment = Samba on Ubuntu ro
    path = /home/ubuntu/smbro
    read only = no

[sambasharero3]
        comment = Samba on Ubuntu ro
        path = /home/ubuntu/smbro

[sambasharerw]
    comment = Samba on Ubuntu ro
    path = /home/ubuntu/smbro
    read only = no

[sambashare]
    comment = Samba on Ubuntu
    path = /home/ubuntu/smb
    read only = no

Have you tried connecting from two Linux machines ? If so, do you get
the same result ? It is possible that the Win10 machine is not
releasing the lock.

Rowland
 




More information about the samba mailing list