Prev: SOLVED! Samba PDC [3.5.3], Windows 7 Pro 64 bit, Temporary local profile for a specific user
Next: [Samba] Upgrading Samba
From: Lukasz Zalewski on 24 May 2010 15:40 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Jeremy Allison on 24 May 2010 19:40 On Mon, May 24, 2010 at 08:33:30PM +0100, Lukasz Zalewski wrote: > 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? As the merge proceeds we will start merging the parameter lists so all the old % variables should still be supported. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Andrew Bartlett on 25 May 2010 19:20
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. |