Samba

Back       

  "Configuration File Options" lists the types of lines you can put in your Samba configuration file, usually named smb.conf.   You will need to login as a Superuser to modify the said smb.conf(terminal session or related).


  "Samba Daemons" lists command-line options and related information for running the Samba daemons, and "Samba Distribution Programs" lists various commands included in the Samba distribution that you can run from the Unix shell on the System hosting Samba.



Sample Script

 

  location could be in any of the following folder :


  • /etc/samba/smb.conf
  • /etc/smb.conf
  • /usr/local/samba/lib/smb.conf

  • [global]
    • workgroup = ISAP
    • server string = Samba Server
    • log file = /var/log/samba/%m.log
    • max log size = 0
    • security = share
    • encrypt passwords = yes
    • smb passwd file = /etc/samba/smbpasswd
    • socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    • dns proxy = no
  • [homes]
    • comment = Home Directories
    • browseable = no
    • writable = yes
    • valid users = %s
    • create mode = 0664
    • directory mode = 0775