/etc/opt/samba/smb.conf
This's the main configuration file.
/var/opt/samba/logs/
Log dir
/etc/rc.config.d/samba
Edit this file seting RUN_SAMBA to a non-zero value to enable the samba start with the server boot
/opt/samba/bin/smbstatus
It shows who is logged and locked files.
/opt/samba/bin/smbstatus -L
Show just he locked files.
/opt/samba/bin/smbstatus -u USERNAME
Show infos about the specified user.
/etc/init.d/smb restart/start/stop
This is the startup script, you can use it to restart, start or stop the samba server.
/opt/samba/bin/smbpasswd -a user
To add a new user
/opt/samba/bin/smbpasswd -ma $computer
To add a new machine in the domain
/opt/samba/bin/smbpasswd -e user
To enable a user
/opt/samba/bin/smbpasswd -x user
To remove a user
/opt/samba/bin/smbpasswd use
Change the password
/opt/samba/bin/testparms
It's used to validate the configuration files
CIFS (Samba) - Quick Reference
sábado, 14 de janeiro de 2012
Labels: CIFS (samba), Quick References