Extracted list of smb.conf options

Herb Lewis hlewis at panasas.com
Thu May 25 19:23:26 GMT 2006

There is also a perl script in the samba sources

that gives you a list of all the options in loadparm.c and
indicates where they are used by swat. Aliases for parameter
names are also shown (indented under the primary name). A
small snippet of output follows. You might be able to modify
that to give you what you want.

Option Name                     Global Page  Share Page  Printer Page
dos charset                      ADVANCED    no          no
unix charset                     ADVANCED    no          no
display charset                  ADVANCED    no          no
comment                          no          BASIC       BASIC
path                             no          BASIC       BASIC
workgroup                        BASIC       no          no

Lars Müller wrote:
> On Thu, May 18, 2006 at 04:11:45AM -0700, Andras Atzel wrote:
>>It would be a great help in this tool to offer the possible options in
> a scrollable list.
> Please have a look at
> ftp://ftp.suse.com/pub/projects/samba/2.2/src/getSambaOptions
>>They are present in a very 'processable' format in the source file
> param/loadparm.c, but
>>a source code cannot be part of a user distribution, that's why i
> could rather imagine an
>>automated extract of the file, creating a much simpler list file. It
> would also be
>>advantageous if an extra flag could be defined to the 'struct
> parm_struct parm_table[]'
>>structure (loadparm.c) to help the selection of the most often used
> options.
> There are already FLAG_BASIC and FLAG_ADVANCED for the options.  Do you
> need a finer graduation?
> Lars

More information about the samba-technical mailing list