Saturday, 27 February 2016

smb.conf worked from MAC to Kubuntu13...

works from MAC using samba password for user


chad@kubuntu13:/etc/samba$ cat smb.conf
[global]

        workgroup = KUBUNTUGRP
        server string = Samba server
        wins support = yes
        dns proxy = no
        name resolve order = Imhosts hosts wins bcast
# Networking
        interfaces = 192.168.0.101/24, eth0
        bind interfaces only = Yes
#       server role = standalone server

# Authentication
#       security = user
#       encrypt passwords = true
#       passdb backend = tdbsam
#       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
# logs
        syslog = 3
        log file = /var/log/samba/log.%m
        max log size = 1000
#       idmap config * : backend = tdb

#       usershare allow guests = yes

[homes]
        comment = Home Directories
        create mask = 0750

[tmp]
        comment = Temporary File Space
        path = /tmp
        read only = No
        guest ok = Yes

[chad]
        comment = chad
        path = /home/chad/
        read only = no
        browseable = yes
        valid users = chad
        # don't forget to add valid users in samba password file (smbpasswd -a user)

[Music]
        comment = Music
        read only = yes
        path = /home/chad/Music
        browseable = yes
        valid users = chad

[Downloads]
        comment = chad
        path = /home/chad/Downloads
        read only = no
        browseable = yes
        valid users = chad

chad@kubuntu13:/etc/samba$

No comments: