On Mon, 2010-05-24 at 20:33 +0100, Lukasz Zalewski wrote: > 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?
The code is in param/loadparm.c. The % subs are rather different in Samba4 at the moment, because we don't support them generally, rather in specific places. For some things that are now stored in the directory, the sub is done on the client side (ie, the standard windows way), while for those that must be resolved on the server (such as template homedir) these are hard coded in their particular uses. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Cisco Inc.
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
