LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-08-2013, 10:55 AM   #1
russh
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Suse 10.1
Posts: 16

Rep: Reputation: 0
Question Ancient samba config still optimal?


I've got a truely ancient samba config for a shared drive in a small office.. is it still the optimal config? It certainly works!


[global]
workgroup = work
netbios name = MAILER
server string = Server
interfaces = 192.168.16.254/24
guest account = user
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *
passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
smb ports = 139
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
domain logons = Yes
os level = 33
domain master = Yes
dns proxy = No
wins support = Yes
preload = public
guest ok = yes
printing = lprng
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
; security = user
; encrypt passwords = yes

[homes]
comment = Home Directories
writeable = yes
; guest ok = No
browseable = No

[public]
comment = Public Files
path = /home/public
force user = user
force group = users
writeable = yes
create mask = 0775
 
Old 02-08-2013, 08:59 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,230

Rep: Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552Reputation: 1552
I'm still using the same basic smb.conf file (with small variations from machine to machine) that I came up with six years ago, with the help of Samba by Example.

I don't have Samba 4 installed yet, so I don't know if whether the version change will affect it.
 
  


Reply

Tags
samba


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
Configuring kernel file by script that scan machine to create optimal .config Farrukhjon Linux - Kernel 3 02-19-2012 10:37 AM
Zacate Users: What is the optimal config for HD video? Ion Silverbolt Linux - Laptop and Netbook 3 01-17-2012 10:48 AM
Dell D600 Optimal Config? M.Brice Linux - Laptop and Netbook 6 07-08-2005 04:04 PM
optimal networking config... dunkyb Linux - Networking 0 02-14-2003 05:45 AM
Optimal Hardware Config for Media Ripping bkeating General 1 01-17-2003 01:33 PM


All times are GMT -5. The time now is 07:20 AM.

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