[Samba] Can't access files on Debian

Rowland Penny rpenny at samba.org
Tue Oct 19 18:24:19 UTC 2021


On Tue, 2021-10-19 at 14:16 -0400, Clement Martin wrote:
> On 10/19/21 2:10 PM, Rowland Penny via samba wrote:
> > On Tue, 2021-10-19 at 13:22 -0400, Clement Martin wrote:
> > > You're right, it's 4.9.5
> > > [global]
> > > workgroup = WORKGROUP
> > > netbios name = Debian Files
> > >     
> > > server string = Samba file server on Debian
> > >     
> > >     
> > > hosts allow = 192.168.1.102, 192.168.1.103
> > > 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
> > > security = domain
> > Is this computer a member of an NT4-style domain or is it a
> > standalone 
> > server ? It cannot be both. Rowland 
> > standalone server--I'll fix that and try again. I must have messed 
> > that up trying to troubleshoot....

OK, try this smb.conf:

[global]
    workgroup = WORKGROUP
    netbios name = Debian Files
    server string = Samba file server on Debian
    server role = standalone server

    hosts allow = 192.168.1.102, 192.168.1.103
    log file = /var/log/samba/log.%m
    max log size = 1000
    logging = file
    panic action = /usr/share/samba/panic-action %d
    obey pam restrictions = yes
    unix password sync = yes
    pam password change = no
    usershare allow guests = yes

[Debian]
    path = /home/clement
    comment = clement
    read only = no
    locking = no
    strict locking = no

Create Samba users with 'smbpasswd -a <username>' , where <username> is
an existing Unix user.

Rowland





More information about the samba mailing list