Koozali.org: home of the SME Server

smb.conf additions

Offline purvis

  • *****
  • 567
  • +0/-0
smb.conf additions
« on: March 01, 2012, 11:18:34 PM »
First. How do i see all samba configurations and not only what testparm shows me.
What all changes can be made to samba using the db command and it options.

I want to make some changes to the smb.conf like "read size = #####"
How do i do that. I have been somewhat successful with vetooplocks, socket options, and os level. But beyond that. My efforts to make other additions to smb.conf  have not been.
I looked hard through the fourm, but I was not able to find what i needed.

Thanks in advance.

Offline purvis

  • *****
  • 567
  • +0/-0
Re: smb.conf additions
« Reply #1 on: March 02, 2012, 07:21:39 AM »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: smb.conf additions
« Reply #2 on: March 02, 2012, 08:31:45 AM »
purvis

Also see
http://wiki.contribs.org/Template_Tutorial

and spend some time reading the many fine Howtos and Contrib wiki articles, as many of them contain good examples of how to go about making changes to the system using custom templates and so on.
eg
a basic one
http://wiki.contribs.org/Htaccess

Various forum posts also have some good gems re adding custom templates, so search and follow their examples.

Also read samba docs for the customisation possibilities (switches) and then work out how to incorporate those changes firstly into the appropriate samba.conf file and then into related custom templates (either with or without code to support db commands).

Read the existing (template) code to see what other db possibilities there are for any given service.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline purvis

  • *****
  • 567
  • +0/-0
Re: smb.conf additions
« Reply #3 on: March 07, 2012, 10:37:01 PM »
To vew the running samba setting
testparm -v -s
testparm -v -s | less