diff options
48 files changed, 58 insertions, 0 deletions
diff --git a/docs/docbook/projdoc/imagefiles/.cvsignore b/docs/docbook/projdoc/imagefiles/.cvsignore new file mode 100644 index 0000000000..f7b5423899 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/.cvsignore @@ -0,0 +1 @@ +*.eps diff --git a/docs/docbook/projdoc/imagefiles/10small.png b/docs/docbook/projdoc/imagefiles/10small.png Binary files differnew file mode 100644 index 0000000000..56a9b0cd67 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/10small.png diff --git a/docs/docbook/projdoc/imagefiles/11small.png b/docs/docbook/projdoc/imagefiles/11small.png Binary files differnew file mode 100644 index 0000000000..18f5d9e4dd --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/11small.png diff --git a/docs/docbook/projdoc/imagefiles/12small.png b/docs/docbook/projdoc/imagefiles/12small.png Binary files differnew file mode 100644 index 0000000000..5bdf809c1b --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/12small.png diff --git a/docs/docbook/projdoc/imagefiles/13small.png b/docs/docbook/projdoc/imagefiles/13small.png Binary files differnew file mode 100644 index 0000000000..536b2fc2c2 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/13small.png diff --git a/docs/docbook/projdoc/imagefiles/14small.png b/docs/docbook/projdoc/imagefiles/14small.png Binary files differnew file mode 100644 index 0000000000..89054249c0 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/14small.png diff --git a/docs/docbook/projdoc/imagefiles/1small.png b/docs/docbook/projdoc/imagefiles/1small.png Binary files differnew file mode 100644 index 0000000000..c4905163c9 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/1small.png diff --git a/docs/docbook/projdoc/imagefiles/2small.png b/docs/docbook/projdoc/imagefiles/2small.png Binary files differnew file mode 100644 index 0000000000..5fd9071349 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/2small.png diff --git a/docs/docbook/projdoc/imagefiles/3small.png b/docs/docbook/projdoc/imagefiles/3small.png Binary files differnew file mode 100644 index 0000000000..22a39bae52 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/3small.png diff --git a/docs/docbook/projdoc/imagefiles/4small.png b/docs/docbook/projdoc/imagefiles/4small.png Binary files differnew file mode 100644 index 0000000000..6b7f1b1fd4 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/4small.png diff --git a/docs/docbook/projdoc/imagefiles/5small.png b/docs/docbook/projdoc/imagefiles/5small.png Binary files differnew file mode 100644 index 0000000000..b23e1fc2c7 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/5small.png diff --git a/docs/docbook/projdoc/imagefiles/6small.png b/docs/docbook/projdoc/imagefiles/6small.png Binary files differnew file mode 100644 index 0000000000..35a646d826 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/6small.png diff --git a/docs/docbook/projdoc/imagefiles/7small.png b/docs/docbook/projdoc/imagefiles/7small.png Binary files differnew file mode 100644 index 0000000000..d182677510 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/7small.png diff --git a/docs/docbook/projdoc/imagefiles/8small.png b/docs/docbook/projdoc/imagefiles/8small.png Binary files differnew file mode 100644 index 0000000000..08aca66386 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/8small.png diff --git a/docs/docbook/projdoc/imagefiles/9small.png b/docs/docbook/projdoc/imagefiles/9small.png Binary files differnew file mode 100644 index 0000000000..90c2cde327 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/9small.png diff --git a/docs/docbook/projdoc/imagefiles/a_small.png b/docs/docbook/projdoc/imagefiles/a_small.png Binary files differnew file mode 100644 index 0000000000..a6622ef6cf --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/a_small.png diff --git a/docs/docbook/projdoc/imagefiles/access1 b/docs/docbook/projdoc/imagefiles/access1 Binary files differnew file mode 100644 index 0000000000..7fd2673800 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/access1 diff --git a/docs/docbook/projdoc/imagefiles/access1.png b/docs/docbook/projdoc/imagefiles/access1.png Binary files differnew file mode 100644 index 0000000000..0d070a6109 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/access1.png diff --git a/docs/docbook/projdoc/imagefiles/browsing1 b/docs/docbook/projdoc/imagefiles/browsing1 Binary files differnew file mode 100644 index 0000000000..8235df45f6 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/browsing1 diff --git a/docs/docbook/projdoc/imagefiles/browsing1.png b/docs/docbook/projdoc/imagefiles/browsing1.png Binary files differnew file mode 100644 index 0000000000..bfe76dcb63 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/browsing1.png diff --git a/docs/docbook/projdoc/imagefiles/cups1 b/docs/docbook/projdoc/imagefiles/cups1 Binary files differnew file mode 100644 index 0000000000..e4cd3b1239 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/cups1 diff --git a/docs/docbook/projdoc/imagefiles/cups1.png b/docs/docbook/projdoc/imagefiles/cups1.png Binary files differnew file mode 100644 index 0000000000..cbe646a5fa --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/cups1.png diff --git a/docs/docbook/projdoc/imagefiles/cups2 b/docs/docbook/projdoc/imagefiles/cups2 Binary files differnew file mode 100644 index 0000000000..9dfb60f335 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/cups2 diff --git a/docs/docbook/projdoc/imagefiles/cups2.png b/docs/docbook/projdoc/imagefiles/cups2.png Binary files differnew file mode 100644 index 0000000000..d0713c07ca --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/cups2.png diff --git a/docs/docbook/projdoc/imagefiles/domain b/docs/docbook/projdoc/imagefiles/domain Binary files differnew file mode 100644 index 0000000000..a994d423e2 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/domain diff --git a/docs/docbook/projdoc/imagefiles/domain.png b/docs/docbook/projdoc/imagefiles/domain.png Binary files differnew file mode 100644 index 0000000000..82d299b086 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/domain.png diff --git a/docs/docbook/projdoc/imagefiles/idmap b/docs/docbook/projdoc/imagefiles/idmap Binary files differnew file mode 100644 index 0000000000..555933978b --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap diff --git a/docs/docbook/projdoc/imagefiles/idmap-gid2sid.dia b/docs/docbook/projdoc/imagefiles/idmap-gid2sid.dia Binary files differnew file mode 100644 index 0000000000..b3b1d88c50 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-gid2sid.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-gid2sid.png b/docs/docbook/projdoc/imagefiles/idmap-gid2sid.png Binary files differnew file mode 100644 index 0000000000..b8cf5d2257 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-gid2sid.png diff --git a/docs/docbook/projdoc/imagefiles/idmap-groups.dia b/docs/docbook/projdoc/imagefiles/idmap-groups.dia Binary files differnew file mode 100755 index 0000000000..04da158c53 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-groups.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-groups.png b/docs/docbook/projdoc/imagefiles/idmap-groups.png Binary files differnew file mode 100755 index 0000000000..e5c214574f --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-groups.png diff --git a/docs/docbook/projdoc/imagefiles/idmap-sid2gid.dia b/docs/docbook/projdoc/imagefiles/idmap-sid2gid.dia Binary files differnew file mode 100644 index 0000000000..e6e5107698 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-sid2gid.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-sid2gid.png b/docs/docbook/projdoc/imagefiles/idmap-sid2gid.png Binary files differnew file mode 100644 index 0000000000..daadfc1f90 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-sid2gid.png diff --git a/docs/docbook/projdoc/imagefiles/idmap-sid2uid.dia b/docs/docbook/projdoc/imagefiles/idmap-sid2uid.dia Binary files differnew file mode 100644 index 0000000000..91e00530a6 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-sid2uid.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-sid2uid.png b/docs/docbook/projdoc/imagefiles/idmap-sid2uid.png Binary files differnew file mode 100644 index 0000000000..3acc07bd11 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-sid2uid.png diff --git a/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.dia b/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.dia Binary files differnew file mode 100644 index 0000000000..957613b6f3 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.png b/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.png Binary files differnew file mode 100644 index 0000000000..911c996329 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-store-gid2sid.png diff --git a/docs/docbook/projdoc/imagefiles/idmap-uid2sid.dia b/docs/docbook/projdoc/imagefiles/idmap-uid2sid.dia Binary files differnew file mode 100644 index 0000000000..de6ccaacb3 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-uid2sid.dia diff --git a/docs/docbook/projdoc/imagefiles/idmap-uid2sid.png b/docs/docbook/projdoc/imagefiles/idmap-uid2sid.png Binary files differnew file mode 100644 index 0000000000..f30c632500 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap-uid2sid.png diff --git a/docs/docbook/projdoc/imagefiles/idmap.png b/docs/docbook/projdoc/imagefiles/idmap.png Binary files differnew file mode 100644 index 0000000000..b090ced632 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap.png diff --git a/docs/docbook/projdoc/imagefiles/idmap_winbind_no_loop.png b/docs/docbook/projdoc/imagefiles/idmap_winbind_no_loop.png Binary files differnew file mode 100755 index 0000000000..5393f6a192 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/idmap_winbind_no_loop.png diff --git a/docs/docbook/projdoc/imagefiles/pdftoepsonusb b/docs/docbook/projdoc/imagefiles/pdftoepsonusb Binary files differnew file mode 100644 index 0000000000..2f846ee8d4 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/pdftoepsonusb diff --git a/docs/docbook/projdoc/imagefiles/pdftoepsonusb.png b/docs/docbook/projdoc/imagefiles/pdftoepsonusb.png Binary files differnew file mode 100644 index 0000000000..b80efe9f16 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/pdftoepsonusb.png diff --git a/docs/docbook/projdoc/imagefiles/pdftosocket b/docs/docbook/projdoc/imagefiles/pdftosocket Binary files differnew file mode 100644 index 0000000000..53b6b7117c --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/pdftosocket diff --git a/docs/docbook/projdoc/imagefiles/pdftosocket.png b/docs/docbook/projdoc/imagefiles/pdftosocket.png Binary files differnew file mode 100644 index 0000000000..ea4a9dae93 --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/pdftosocket.png diff --git a/docs/docbook/projdoc/imagefiles/trusts1 b/docs/docbook/projdoc/imagefiles/trusts1 Binary files differnew file mode 100644 index 0000000000..95cbbaa42f --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/trusts1 diff --git a/docs/docbook/projdoc/imagefiles/trusts1.png b/docs/docbook/projdoc/imagefiles/trusts1.png Binary files differnew file mode 100644 index 0000000000..72aa60d4cc --- /dev/null +++ b/docs/docbook/projdoc/imagefiles/trusts1.png diff --git a/docs/docbook/scripts/find_missing_doc.pl b/docs/docbook/scripts/find_missing_doc.pl new file mode 100755 index 0000000000..2875cf77b8 --- /dev/null +++ b/docs/docbook/scripts/find_missing_doc.pl @@ -0,0 +1,57 @@ +#!/usr/bin/perl + +my %doc; + +$topdir = (shift @ARGV) or $topdir = "."; + +################################################## +# Reading links from manpage + +$curdir = $ENV{PWD}; + +chdir($topdir."/docs/docbook/smbdotconf"); + +open(IN,"xsltproc --xinclude --param smb.context ALL generate-context.xsl parameters.all.xml|"); + +while(<IN>) { + if( /<listitem><para><link linkend="([^"]*)"><parameter moreinfo="none">([^<]*)<\/parameter><\/link><\/para><\/listitem>/g ){ + $doc{$2} = $1; + } +} + +close(IN); + +chdir($curdir); + +################################################# +# Reading entries from source code + + +open(SOURCE,"$topdir/source/param/loadparm.c") or die("Can't open $topdir/source/param/loadparm.c: $!"); + +while ($ln = <SOURCE>) { + last if $ln =~ m/^static\ struct\ parm_struct\ parm_table.*/; +} #burn through the preceding lines + +while ($ln = <SOURCE>) { + last if $ln =~ m/^\s*\}\;\s*$/; + #pull in the param names only + next if $ln =~ m/.*P_SEPARATOR.*/; + next unless $ln =~ /\s*\{\"(.*)\".*/; + + if($doc{lc($1)}) { + $doc{lc($1)} = "FOUND"; + } else { + print "$1 is not documented!\n"; + } +} +close SOURCE; + +################################################## +# Trying to find missing references + +foreach (keys %doc) { + if($doc{$_} cmp "FOUND") { + print "$_ is documented but is not a configuration option!\n"; + } +} |