Comments

  1. I finally remember to set the passwords after installing samba one too many times and being frustrated as to why its not working. As for making shares, I edit my /etc/samba/smb.conf file, and look up the docs (like at https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html ). Mine is something liek:

    [global]
    #workgroup = MSHOME # if needed for compatibility
    netbios name = servers_name
    server string = servers_name, alpha's server
    dns proxy = no
    log file = /var/log/samba/log.%m
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    max open files = 65535
    max protocol = SMB2
    
    hosts allow = 127.0.0.1 192.168.1.0/16 # local + lan addresses
    hosts deny = 0.0.0.0/0
    
    # auth
    security = user # solves UAC issues
    encrypt passwords = true
    passdb backend = tdbsam
    obey pam restrictions = yes
    map to guest = bad user
    guest account = nobody
    
    # tuning, ymmv
    max xmit = 65535   
    read size = 65536
    load printers = no 
    
    # misc
    deadtime = 100 
    usershare allow guests = yes
    
    # shares...
    [alpha] # private share for user 'alpha'
    path = /share/alpha
    writable = yes
    valid users = alpha
    create mask = 0777
    directory mask = 0777
    
    [pub] # public share
    path = /share/pub
    writable = yes
    guest ok = yes
    create mask = 0777
    directory mask = 0777
    
    [rho] # public read only share
    path = /share/rho
    writable = no
    guest ok = yes
    directory mask = 0777
    

    May 1, 2013 at 12:00 pm |

Leave a Reply

You must be logged in to post a comment.