summaryrefslogtreecommitdiff
path: root/examples/misc
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-08-28 18:58:46 +0000
committerHerb Lewis <herb@samba.org>2000-08-28 18:58:46 +0000
commit0c5bbb3bbdaa634361d2abbc4d705343df448caa (patch)
treefc1f91dee6cc4a7268a49fb3235ed7084a8c4f92 /examples/misc
parentfda1cf6a761cd44dcec0b8438dfd9e4132ab0454 (diff)
downloadsamba-0c5bbb3bbdaa634361d2abbc4d705343df448caa.tar.gz
added a little description of useage and output format since this gives
more info than just what parameters are not supported by SWAT. (This used to be commit 7db533cb47a0d9bc88219dbe48e96ceed45a65a1)
Diffstat (limited to 'examples/misc')
-rw-r--r--examples/misc/swat.pl28
1 files changed, 27 insertions, 1 deletions
diff --git a/examples/misc/swat.pl b/examples/misc/swat.pl
index f43aea029a8..f6414b63497 100644
--- a/examples/misc/swat.pl
+++ b/examples/misc/swat.pl
@@ -1,10 +1,36 @@
#! /usr/bin/perl5
##
## This is a simple script written by Herb Lewis @ SGI <herb@samba.org>
-## for reporting which parameters where supported by loadparm.c but
+## for reporting which parameters are supported by loadparm.c but
## not by SWAT I just thought it looked fun and might be of interest to others
## --jerry@samba.org
##
+## Here is a little info on the usage and output format so you don't have
+## to dig through the code to understand what is printed.
+##
+## Useage: swat.pl [path_to_loadparm.c]
+##
+## The output consists of 4 columns of information
+## Option Name, Global Page, Share Page, Printer Page
+## The section separaters will also be printed (preceded by 16 *) to show
+## which options are grouped in the various sections.
+##
+## If the option name is preceded by an * it means this is a deprecated option.
+## If the option name is preceded by 5 spaces it means this is an alias for the
+## previous option.
+##
+## Under the Global Page, Share Page, and Printer Page columns there will be
+## one of 3 entries, BASIC, ADVANCED, or no. "BASIC" indicates this option will
+## show in the Basic View of that page in SWAT. "ADVANCED" indicates this
+## option will show in the Advanced View of that page in SWAT. "No" indicates
+## that this option is not available on that page in SWAT.
+##
+## Under the Global Page column, if an entry begins with an * it indicates that
+## this is actually specified in Samba as a "service parameter" not a "global
+## parameter" but you can set a default value for this on the Global Page in
+## SWAT.
+##
+## --herb@samba.org
$lastone = "nothing";