Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-27-2007, 07:46 PM   #1
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
improvements/suggestions for smb.conf

I have implemented samba as a PDC and file server, seems to be working good, except for a slight delay (3-5 secs) when a folder is first browsed(after this it works fine).

I am looking for some sugestions to improve my configuration, the most important one is to specify the smb port and block everything else on the system.

To those that read this, reply to the post with your thoughts!

   workgroup = local
   netbios name = servidor
   server string = CRUX
   passdb backend = tdbsam
   security = user
   username map = /etc/samba/smbusers
   name resolve order = wins bcast hosts
   domain logons = yes
   preferred master = yes
   domain master = yes
   local master = yes
   wins support = yes
   os level = 100
   logon drive = Z:
   add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
   idmap uid = 15000-20000
   idmap gid = 15000-20000
   template shell = /bin/bash
   log level = 3
   socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   hide unreadable = yes
   hide dot files = yes

   comment = directorio do utilizador
   valid users = %S
   read only = no
   browsable = no
   veto files = /*.exe/

   comment = Network Logon Service
   path = /home/samba/netlogon/
   admin users = Administrador
   valid users = %U
   read only = no
   guest ok = yes
   writable = no
   share modes = no
   browsable = no

  comment = directorio da producao
  path = /pub/tecnico/producao
  public = yes
  valid users = @users
  force group = users 
  create mask = 0660
  directory mask = 0771
  writable = yes
  veto files = /*.mp3/*.wma/*.wmv/*.avi/*.mpg/*.wav/*.exe/*.bak/
  case sensitive = no
  preserve case = no


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
smb.conf example xox Linux - Networking 7 10-09-2010 02:04 AM
SMB.conf SBN Linux - Networking 2 01-26-2007 02:42 AM
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 09:43 AM
Help with smb.conf TomalakBORG Linux - Networking 5 03-07-2006 08:51 PM
samba conf smb.conf regnier Mandriva 5 02-17-2005 04:27 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration