[Samba] Re: Problems with Smaba STILL

WinXperts soler_s at hotmail.com
Wed Jul 9 05:24:51 GMT 2003


Try this SMB.CONF.  Hope it does not get cut again. :)

[global]
   ;basic server settings
   workgroup = smis
   netbios name = Linux_Server
   server string = Samba PDC running %v
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

   ;PDC and master browser settings
   os level = 64
   preferred master = yes
   local master = yes
   domain master = yes

   ;security and logging settings
   security = user
   encrypt passwords = yes
   domain admin group = root
   log file = /var/log/samba/log.%m
   log level = 2
   max log size = 50
   hosts allow = 127.0.0.1 192.168.1.0/24

   ;user profiles and home directory
   logon home = \\%L\%U\
   logon drive = H:
   logon path = \\%L\profiles\%U

   ;print seetings
   printing = lprng
   printcap = /etc/printcap
   use client driver = yes

# ==== shares ====
[printers]
comment = All Printers
path = /var/spool/samba
browsable = yes
public = yes
writable = no
printable = yes

[public]
comment = A public share for vendor docs, etc.
path = /usr/public
public = yes
create mask = 0755
force directory mode = 0755
writable = yes

[temp]
comment = A place to drop off temporary files
path = /tmp
public = yes
create mask = 0755
force directory mode = 0755
writable = yes

[docs]
comment = Main Document Share for important Corporate Documents
path = /doc
public = yes
create mask = 0755
force directory mode = 0755
writable = yes

[home]
comment = Home directory for %U
path = %H
browsable = yes
public = no
hide dot files = yes
writeable = yes
create mask = 0755
directory mask = 0755


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Santos Soler
MCP, Network+, A+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=






More information about the samba mailing list