[Samba] Linux Mint 19.1, Samba 4.7.6 & WIndows 10

Rowland Penny rpenny at samba.org
Sat Feb 9 20:59:38 UTC 2019


On Sat, 9 Feb 2019 20:22:33 +0000 (UTC)
Thomas Rieff via samba <samba at lists.samba.org> wrote:

> root at GC55:~# cat /etc/samba/smb.conf 

After removing all the commented, default lines etc, we have this:

[global] 
    workgroup = CLS 
    name resolve order = bcast host lmhosts wins 
    netbios name = GC55 
    server string = %h server (Samba, Ubuntu) 
    wins support = yes 
    dns proxy = no 
    log file = /var/log/samba/log.%m 
    max log size = 1000 
    syslog = 0 
    panic action = /usr/share/samba/panic-action %d 
    server role = standalone server 
    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 
    read only = yes 

[gc55_data2] 
    comment = GreenCare Data Files 
    path = /media/gc55_data2 
    valid users = @gc55_data2 
    force group = @gc55_data2 
    create mask = 0775 
    directory mask = 0775 
    writable = yes 

Which shows you are running as a standalone server.
You should remove the '@' from the 'valid user'.
Does the user 'gc55_data2' exist on the Linux Mint machine & on the
Windows Computer ?
I know that the group 'gc55_data2' will not exist on the Windows
machine, but does it exist on the Linux Mint machine ?

Rowland



More information about the samba mailing list