Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: purvis on March 01, 2012, 11:18:34 PM

Title: smb.conf additions
Post by: purvis 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.
Title: Re: smb.conf additions
Post by: purvis on March 02, 2012, 07:21:39 AM
OK found this for db commands
http://wiki.contribs.org/DB_Variables_Configuration
Title: Re: smb.conf additions
Post by: janet 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.
Title: Re: smb.conf additions
Post by: purvis on March 07, 2012, 10:37:01 PM
To vew the running samba setting
testparm -v -s
testparm -v -s | less