Samba

From Wiki

(Difference between revisions)
Jump to: navigation, search
(adding samba command to check user database list)
 
Line 17: Line 17:
Info found at this page: http://www.aboutdebian.com/lan.htm
Info found at this page: http://www.aboutdebian.com/lan.htm
 +
 +
== Check User Database list ==
 +
pdbedit -L
 +
#reads from /var/lib/samba/passdb.tdb
 +
 +
== reset samba password from remote machine ==
 +
smbpasswd -r samba.servername

Current revision as of 22:55, 4 April 2013

To Setup Samba File Server - Simple

apt-get install samba

chose a workgroup
default setup is good

To setup user acc (mst be in passwd) with Samba passwd:

smbpasswd -a user

Thats it. Config file is /etc/samba/smb.conf
Config options:

writable = yes

Other Config options are:
Default File and Directory Permissions

Info found at this page: http://www.aboutdebian.com/lan.htm

Check User Database list

pdbedit -L
#reads from /var/lib/samba/passdb.tdb

reset samba password from remote machine

smbpasswd -r samba.servername
Personal tools