[Samba] Samba4 - List of options for smb.conf

Lukasz Zalewski lukas at dcs.qmul.ac.uk
Mon May 24 13:33:30 MDT 2010


On 22/04/2010 12:14, Andrew Bartlett wrote:
> On Tue, 2010-04-20 at 12:44 -0400, Stuart Wehrly wrote:
>> Is there a list of options for smb.conf?
>
> Sadly Samba4 does lack documentation.  But testparm -v from Samba4
> should get you what you want.
>
> Andrew Bartlett
>
>

Hi Andrew,
This seems to show some of the default parameters, but what about 
non-default/optional ones (like share permissions) and % variables?
Seems like %U and %G are not honoured, and have been replaced by longer 
version, i.e. testparam -v shows two of them
template homedir = /home/%WORKGROUP%/%ACCOUNTNAME%

Can one assume that %G will be %GROUPNAME%?
Is there a validation schema/definition file for those parameters? 
Alternatively which bit of code is responsible for parsing and 
validating them?

Many Thanks

Luk


More information about the samba mailing list