Sunday, December 22, 2013

Passwordless login Samba Share access


The below configuration enables password less access to the Share location


[root@Server-DOC ~]# cat /etc/samba/smb.conf
[global]
netbios name = Server-DOC
workgroup = WORKGROUP
guest account = admin
security = share
host allow = 192.168 0.33 127.
encrypt passwords = yes
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
restrict anonymous = 2
###########SFTP with path /home/test/home
[home]
comment = Samba Share
path = /home/admin
writeable = yes
browseable = yes
guest only = yes
public = no
force create mode = 0770
locking = yes

No comments:

Post a Comment