Samba Tips
Starting and Stopping
/etc/init.d/samba restart
/etc/init.d/samba start
/etc/init.d/samba stop
Configuration File
smb.conf
smbstatus
smbpasswd
Common Tasks
Mounting a samba share from a linux box
mount -t smbfs -o
username=<username>,password=<password>,workgroup=<workgroup
or domain> //server/share /<full path to mount point>
Hello World Samba Server configuration
1. Simple /etc/smb.conf
2. /etc/init.d/samba restart
3. adduser pcguest
4. smbpasswd -a pcguest
5. On a windows machine \\<ipaddress>
6. Enter the proper credentials
Troubleshooting Samba Client
Check the client logs - /var/log/samba
Check manual access to the remote filesystems
smbclient -L <host> -U <user> -W <workgroup/domain>
Manually mount the filesystem
mount -t smbfs -o
username=<user>,workgroup=<workgroup/domain>
//<server>/<share> /<mount point>