summaryrefslogtreecommitdiff
path: root/packaging/Caldera/OpenServer
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Caldera/OpenServer')
-rwxr-xr-xpackaging/Caldera/OpenServer/Clean22
-rwxr-xr-xpackaging/Caldera/OpenServer/Compile48
-rwxr-xr-xpackaging/Caldera/OpenServer/Configure73
-rwxr-xr-xpackaging/Caldera/OpenServer/Install156
-rwxr-xr-xpackaging/Caldera/OpenServer/Makevol10
-rwxr-xr-xpackaging/Caldera/OpenServer/Package13
-rw-r--r--packaging/Caldera/OpenServer/README44
-rwxr-xr-xpackaging/Caldera/OpenServer/findsmb141
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/Clean3
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/Install1
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/MakeSSO25
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/Packem15
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/Remove16
-rw-r--r--packaging/Caldera/OpenServer/pkg/cdmt.config34
-rwxr-xr-xpackaging/Caldera/OpenServer/pkg/cntl/ccs108
-rw-r--r--packaging/Caldera/OpenServer/pkg/input/Samba.cmpnt25
-rw-r--r--packaging/Caldera/OpenServer/pkg/input/Samba.pkg1905
-rw-r--r--packaging/Caldera/OpenServer/pkg/input/Samba.prd6
-rw-r--r--packaging/Caldera/OpenServer/samba-2.2-osr5.patch29
-rw-r--r--packaging/Caldera/OpenServer/smb.conf291
-rwxr-xr-xpackaging/Caldera/OpenServer/smb.init76
-rwxr-xr-xpackaging/Caldera/OpenServer/smbadduser73
-rwxr-xr-xpackaging/Caldera/OpenServer/smbprint77
-rw-r--r--packaging/Caldera/OpenServer/smbusers3
24 files changed, 3194 insertions, 0 deletions
diff --git a/packaging/Caldera/OpenServer/Clean b/packaging/Caldera/OpenServer/Clean
new file mode 100755
index 0000000000..fe4eed2527
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Clean
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# Cleanup after having configured, compiled, installed and packaged.
+# Careful - running this script attempts to restore this hierarchy to
+# freshly unpacked source
+#
+# Invoke as "./Clean -n" to get this script to tell you what it would do
+# without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+[ -d dist ] && $V rm -rf dist
+[ -f ../../../source/Makefile ] && {
+ $V cd ../../../source
+ $V rm -f bin/locktest bin/masktest bin/smbsh bin/debug2html \
+ bin/locktest2 bin/smbfilter bin/smbtorture
+ $V make clean
+ $V make distclean
+ $V rm -f mout*
+}
diff --git a/packaging/Caldera/OpenServer/Compile b/packaging/Caldera/OpenServer/Compile
new file mode 100755
index 0000000000..cba414ec74
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Compile
@@ -0,0 +1,48 @@
+#!/bin/ksh
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+CC="gcc -I/usr/local/include -L/usr/local/lib"
+CFLAGS="-O3 -I/usr/local/include -L/usr/local/lib"
+CXX="g++"
+CXXFLAGS="-O3 -I/usr/local/include/stl -I/usr/local/include -L/usr/local/lib"
+RANLIB=true
+MAKE=/usr/local/bin/make
+if [ "$V" = "echo" ]
+then
+ echo "exporting the following shell variables:"
+ echo "CC=$CC"
+ echo "CXX=$CXX"
+ echo "RANLIB=$RANLIB"
+ echo "MAKE=$MAKE"
+ echo "CFLAGS=$CFLAGS"
+ echo "CXXFLAGS=$CXXFLAGS"
+else
+ export CC CXX RANLIB MAKE CFLAGS CXXFLAGS
+fi
+
+if [ "$V" = "echo" ]
+then
+ echo "cd ../../../source"
+ echo "rm -f mout-1 mout-2 mout-3 mout-4"
+ echo "make all 2>&1 | tee mout-1"
+ echo "make smbfilter smbtorture debug2html 2>&1 | tee mout-2"
+ echo "make bin/smbspool smbwrapper bin/wbinfo 2>&1 | tee mout-3"
+ echo "make masktest locktest locktest2 2>&1 | tee mout-3"
+else
+ cd ../../../source
+ rm -f mout-1 mout-2 mout-3 mout-4
+ make all 2>&1 | tee mout-1
+ make smbfilter smbtorture debug2html 2>&1 | tee mout-2
+ make bin/smbspool smbwrapper bin/wbinfo 2>&1 | tee mout-3
+ make masktest locktest locktest2 2>&1 | tee mout-3
+fi
+#
+# Not building :
+# nsswitch - no <nss.h>
+# rpctorture - improper use of client_info struct, dunno
diff --git a/packaging/Caldera/OpenServer/Configure b/packaging/Caldera/OpenServer/Configure
new file mode 100755
index 0000000000..65a4f1186f
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Configure
@@ -0,0 +1,73 @@
+#!/bin/ksh
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+CC="gcc -I/usr/local/include -L/usr/local/lib"
+CFLAGS="-O3 -I/usr/local/include -L/usr/local/lib"
+CXX="g++"
+CXXFLAGS="-O3 -I/usr/local/include/stl -I/usr/local/include -L/usr/local/lib"
+RANLIB=true
+MAKE=/usr/local/bin/make
+PREFIX=/usr/local/samba
+if [ "$V" = "echo" ]
+then
+ echo "exporting the following shell variables:"
+ echo "CC=$CC"
+ echo "CXX=$CXX"
+ echo "RANLIB=$RANLIB"
+ echo "MAKE=$MAKE"
+ echo "CFLAGS=$CFLAGS"
+ echo "CXXFLAGS=$CXXFLAGS"
+ echo "PREFIX=$PREFIX"
+else
+ export CC CXX RANLIB MAKE CFLAGS CXXFLAGS PREFIX
+fi
+
+cd ../../../source
+[ -f mout-config ] && {
+ if [ "$V" = "echo" ]
+ then
+ echo "mv mout-config mout-config$$"
+ else
+ mv mout-config mout-config$$
+ fi
+}
+if [ "$V" = "echo" ]
+then
+ echo "./configure \
+ --prefix=${PREFIX} \
+ --with-profile \
+ --with-syslog \
+ --with-utmp \
+ --with-vfs \
+ --with-msdfs \
+ --with-netatalk \
+ --with-sambabook=${PREFIX}/swat/using_samba \
+ 2>&1 | tee mout-config"
+else
+ ./configure \
+ --prefix=${PREFIX} \
+ --with-profile \
+ --with-syslog \
+ --with-utmp \
+ --with-vfs \
+ --with-msdfs \
+ --with-netatalk \
+ --with-sambabook=${PREFIX}/swat/using_samba \
+ 2>&1 | tee mout-config
+fi
+
+cat >> include/config.h <<EOF
+#ifdef HAVE_LONGLONG
+#undef HAVE_LONGLONG
+#endif
+EOF
+
+sed -e "s/nobody/nouser/" include/local.h > /tmp/nouser$$
+cp /tmp/nouser$$ include/local.h
+rm -f /tmp/nouser$$
diff --git a/packaging/Caldera/OpenServer/Install b/packaging/Caldera/OpenServer/Install
new file mode 100755
index 0000000000..ab27b6f67f
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Install
@@ -0,0 +1,156 @@
+#!/bin/ksh
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+# Make sure we pick up the install binary from /usr/local/bin
+# rather than /etc/install
+PATH=/usr/local/bin:$PATH
+export PATH
+
+PREFIX=/usr/local/samba
+HERE=`pwd`
+PKGDIR=packaging/Caldera/OpenServer
+
+BUILD_ROOT=${HERE}/dist
+BLDFIX=${BUILD_ROOT}/${PREFIX}
+$V rm -rf $BUILD_ROOT
+$V mkdir -p $BUILD_ROOT/etc/init.d
+$V mkdir -p ${BLDFIX}/bin
+$V mkdir -p ${BLDFIX}/sbin
+$V mkdir -p ${BLDFIX}/swat/using_samba/gifs
+$V mkdir -p ${BLDFIX}/swat/using_samba/figs
+$V mkdir -p ${BLDFIX}/swat/images
+$V mkdir -p ${BLDFIX}/swat/help
+$V mkdir -p ${BLDFIX}/swat/include
+$V mkdir -p ${BLDFIX}/man/man.1
+$V mkdir -p ${BLDFIX}/man/man.5
+$V mkdir -p ${BLDFIX}/man/man.7
+$V mkdir -p ${BLDFIX}/man/man.8
+$V mkdir -p ${BLDFIX}/var/locks
+$V mkdir -p ${BLDFIX}/lib/codepages/src
+
+# Copy into the dist tree the custom data files
+for i in Clean Install MakeSSO Packem Remove cdmt.config
+do
+ $V cp pkg/$i ${BUILD_ROOT}
+done
+for i in cntl input
+do
+ $V rm -rf ${BUILD_ROOT}/$i
+ $V cp -r pkg/$i ${BUILD_ROOT}/$i
+done
+
+cd ../../..
+
+# Install standard binary files
+for i in nmblookup smbclient smbpasswd smbstatus testparm testprns \
+ make_smbcodepage make_unicodemap make_printerdef rpcclient smbspool \
+ smbsh
+do
+$V install -m755 -s source/bin/$i ${BLDFIX}/bin
+done
+for i in mksmbpasswd.sh smbtar
+do
+$V install -m755 source/script/$i ${BLDFIX}/bin
+done
+
+# Install secure binary files
+for i in smbd nmbd swat debug2html smbtorture smbfilter locktest2 masktest
+do
+$V install -m755 -s source/bin/$i ${BLDFIX}/sbin
+done
+
+
+# Install level 1 man pages
+for i in *.1
+do
+$V install -m644 docs/manpages/$i ${BLDFIX}/man/man.1
+done
+
+# Install codepage source files
+for i in 437 737 775 850 852 861 866 932 936 949 950 1251
+do
+$V install -m644 source/codepages/codepage_def.$i ${BLDFIX}/lib/codepages/src
+done
+for i in 437 737 850 852 861 866 932 936 949 950 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
+do
+$V install -m644 source/codepages/CP$i.TXT ${BLDFIX}/lib/codepages/src
+done
+
+# Install SWAT helper files
+for i in swat/help/*.html docs/htmldocs/*.html
+do
+$V install -m644 $i ${BLDFIX}/swat/help
+done
+for i in swat/images/*.gif
+do
+$V install -m644 $i ${BLDFIX}/swat/images
+done
+for i in swat/include/*.html
+do
+$V install -m644 $i ${BLDFIX}/swat/include
+done
+
+# This is the O'Reily Samba Book - on-line
+for i in docs/htmldocs/using_samba/*.html
+do
+$V install -m644 $i ${BLDFIX}/swat/using_samba
+done
+for i in docs/htmldocs/using_samba/figs/*.gif
+do
+$V install -m644 $i ${BLDFIX}/swat/using_samba/figs
+done
+for i in docs/htmldocs/using_samba/gifs/*.gif
+do
+$V install -m644 $i ${BLDFIX}/swat/using_samba/gifs
+done
+
+# Install the miscellany
+$V install -m644 swat/README ${BLDFIX}/swat
+$V install -m644 docs/manpages/smb.conf.5 ${BLDFIX}/man/man.5
+$V install -m644 docs/manpages/lmhosts.5 ${BLDFIX}/man/man.5
+$V install -m644 docs/manpages/smbpasswd.5 ${BLDFIX}/man/man.5
+$V install -m644 docs/manpages/samba.7 ${BLDFIX}/man/man.7
+$V install -m644 docs/manpages/smbd.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/nmbd.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/smbpasswd.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/swat.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/smbmount.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/smbmnt.8 ${BLDFIX}/man/man.8
+$V install -m644 docs/manpages/smbumount.8 ${BLDFIX}/man/man.8
+$V install -m644 ${PKGDIR}/smb.conf ${BLDFIX}/lib/smb.conf
+$V install -m644 ${PKGDIR}/smbusers $BUILD_ROOT/etc/smbusers
+$V install -m755 ${PKGDIR}/smbprint ${BLDFIX}/bin
+$V install -m755 ${PKGDIR}/findsmb ${BLDFIX}/bin
+$V install -m755 ${PKGDIR}/smbadduser ${BLDFIX}/bin
+$V install -m755 ${PKGDIR}/smb.init $BUILD_ROOT/etc/init.d/samba
+
+# The following is now done in the postinstall script
+#
+# if [ "$V" = "echo" ]
+# then
+# echo "echo 127.0.0.1 localhost > $BUILD_ROOT/etc/lmhosts"
+# else
+# echo 127.0.0.1 localhost > $BUILD_ROOT/etc/lmhosts
+# fi
+#
+# Build codepage load files
+# $V cd ${BLDFIX}/lib/codepages
+# for i in 437 737 775 850 852 861 866 932 936 949 950 1251
+# do
+# $V ${PREFIX}/bin/make_smbcodepage c $i \
+# ${BLDFIX}/lib/codepages/src/codepage_def.$i \
+# ${BLDFIX}/lib/codepages/codepage.$i
+# done
+# for i in 437 737 850 852 861 866 932 936 949 950 \
+# ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
+# do
+# $V ${PREFIX}/bin/make_unicodemap $i \
+# ${BLDFIX}/lib/codepages/src/CP$i.TXT \
+# ${BLDFIX}/lib/codepages/unicode_map.$i
+# done
diff --git a/packaging/Caldera/OpenServer/Makevol b/packaging/Caldera/OpenServer/Makevol
new file mode 100755
index 0000000000..dc57b246ef
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Makevol
@@ -0,0 +1,10 @@
+#!/bin/ksh
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+./Configure $*
+./Compile $*
+./Install $*
+./Package $*
diff --git a/packaging/Caldera/OpenServer/Package b/packaging/Caldera/OpenServer/Package
new file mode 100755
index 0000000000..c954e55e1e
--- /dev/null
+++ b/packaging/Caldera/OpenServer/Package
@@ -0,0 +1,13 @@
+#!/bin/ksh
+#
+# Now create the actual custom installable media images
+#
+# invoke with -n as the first argument to get this script to tell
+# you what it would do without doing anything
+#
+
+V=
+[ "$1" = "-n" ] && V=echo
+
+$V cd dist
+$V ./MakeSSO
diff --git a/packaging/Caldera/OpenServer/README b/packaging/Caldera/OpenServer/README
new file mode 100644
index 0000000000..794bf54604
--- /dev/null
+++ b/packaging/Caldera/OpenServer/README
@@ -0,0 +1,44 @@
+Preparation Date: April 13, 2001
+Preparer: Ronald Joe Record <rr@sco.com>
+
+Instructions: Preparing Samba Packages for SCO OpenServer
+===============================================================
+
+We provide support only for current versions of SCO OpenServer
+
+The file samba-2.2-osr5.patch is a patch file suitable for use
+with the patch command as follows:
+
+ # cd ../../../source
+ # patch -p 0 -i ../packaging/Caldera/OpenServer/samba-2.2-osr5.patch
+
+The files modified by this patch are:
+ utils/torture.c
+ utils/locktest.c
+ utils/locktest2.c
+
+This patch should only be necessary until these changes are accepted
+back into the 2.2 source tree. Until then, this patch must be applied
+prior to building Samba 2.2 on SCO OpenServer 5.
+
+To produce the custom installable media images simply type (in this directory):
+ # ./Makevol
+
+The resultant samba media images should reside in the ./dist subdirectory.
+To install from the media images, issue the command (as root):
+
+ # cd dist
+ # ./Install
+
+Alternately, each of the steps in building the media images may be performed
+individually by invoking each of the following:
+
+ # ./Configure
+ # ./Compile
+ # ./Install
+ # ./Package
+
+If files are added or deleted from the SCO OpenServer Samba distribution then
+the prototype file in the pkg directory should be appropriately modified.
+The files in the pkg subdirectory were initially created using the mkpkg
+package from SCO Skunkware (see http://www.sco.com/skunkware).
diff --git a/packaging/Caldera/OpenServer/findsmb b/packaging/Caldera/OpenServer/findsmb
new file mode 100755
index 0000000000..bb91c784b8
--- /dev/null
+++ b/packaging/Caldera/OpenServer/findsmb
@@ -0,0 +1,141 @@
+#!/usr/local/bin/perl
+#
+# Prints info on all smb responding machines on a subnet.
+# This script needs to be run on a machine without nmbd running and be
+# run as root to get correct info from WIN95 clients.
+#
+# syntax:
+# findsmb [subnet broadcast address]
+#
+# with no agrument it will list machines on the current subnet
+#
+# There will be a "+" in front of the workgroup name for machines that are
+# local master browsers for that workgroup. There will be an "*" in front
+# of the workgroup name for machines that are the domain master browser for
+# that workgroup.
+#
+
+$SAMBABIN = "/usr/local/samba/bin";
+
+for ($i = 0; $i < 2; $i++) { # test for -d option and broadcast address
+ $_ = shift;
+ if (m/-d|-D/) {
+ $DEBUG = 1;
+ } else {
+ if ($_) {
+ $BCAST = "-B $_";
+ }
+ }
+}
+
+sub ipsort # do numeric sort on last field of IP address
+{
+ @t1 = split(/\./,$a);
+ @t2 = split(/\./,$b);
+ @t1[3] <=> @t2[3];
+}
+
+# look for all machines that respond to a name lookup
+
+open(NMBLOOKUP,"$SAMBABIN/nmblookup $BCAST '*'|") ||
+ die("Can't run nmblookup '*'.\n");
+
+# get rid of all lines that are not a response IP address,
+# strip everything but IP address and sort by last field in address
+
+@ipaddrs = sort ipsort grep(s/ \*<00>.*$//,<NMBLOOKUP>);
+
+# print header info
+
+print "\nIP ADDR NETBIOS NAME WORKGROUP/OS/VERSION $BCAST\n";
+print "---------------------------------------------------------------------\n";
+
+foreach $ip (@ipaddrs) # loop through each IP address found
+{
+ $ip =~ s/\n//; # strip newline from IP address
+
+# find the netbios names registered by each machine
+
+ open(NMBLOOKUP,"$SAMBABIN/nmblookup -r -A $ip|") ||
+ die("Can't get nmb name list.\n");
+ @nmblookup = <NMBLOOKUP>;
+ close NMBLOOKUP;
+
+# get the first <00> name
+
+ @name = grep(/<00>/,@nmblookup);
+ $_ = @name[0];
+ if ($_) { # we have a netbios name
+ if (/GROUP/) { # is it a group name
+ ($name, $aliases, $type, $length, @addresses) =
+ gethostbyaddr(pack('C4',split('\.',$ip)),2);
+ if (! $name) { # could not get name
+ $name = "unknown nis name";
+ }
+ } else {
+ /(\S+)/;
+ $name = $1;
+ }
+
+# do an smbclient command on the netbios name.
+
+ open(SMB,"$SAMBABIN/smbclient -N -L $name -I $ip -U% |") ||
+ die("Can't do smbclient command.\n");
+ @smb = <SMB>;
+ close SMB;
+
+ if ($DEBUG) { # if -d flag print results of nmblookup and smbclient
+ print "===============================================================\n";
+ print @nmblookup;
+ print @smb;
+ }
+
+# look for the OS= string
+
+ @info = grep(/OS=/,@smb);
+ $_ = @info[0];
+ if ($_) { # we found response
+ s/Domain=|OS=|Server=|\n//g; # strip out descriptions to make line shorter
+
+ } else { # no OS= string in response (WIN95 client)
+
+# for WIN95 clients get workgroup name from nmblookup response
+ @name = grep(/<00> - <GROUP>/,@nmblookup);
+ $_ = @name[0];
+ if ($_) {
+ /(\S+)/;
+ $_ = "[$1]";
+ } else {
+ $_ = "Unknown Workgroup";
+ }
+ }
+
+# see if machine registered a local master browser name
+ if (grep(/<1d>/,@nmblookup)) {
+ $master = '+'; # indicate local master browser
+ if (grep(/<1b>/,@nmblookup)) { # how about domain master browser?
+ $master = '*'; # indicate domain master browser
+ }
+ } else {
+ $master = ' '; # not a browse master
+ }
+
+# line up info in 3 columns
+
+ print "$ip".' 'x(16-length($ip))."$name".' 'x(14-length($name))."$master"."$_\n";
+
+ } else { # no netbios name found
+# try getting the host name
+ ($name, $aliases, $type, $length, @addresses) =
+ gethostbyaddr(pack('C4',split('\.',$ip)),2);
+ if (! $name) { # could not get name
+ $name = "unknown nis name";
+ }
+ if ($DEBUG) { # if -d flag print results of nmblookup
+ print "===============================================================\n";
+ print @nmblookup;
+ }
+ print "$ip".' 'x(16-length($ip))."$name\n";
+ }
+}
+
diff --git a/packaging/Caldera/OpenServer/pkg/Clean b/packaging/Caldera/OpenServer/pkg/Clean
new file mode 100755
index 0000000000..fa68f18118
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/Clean
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rm -rf archives sso usr
diff --git a/packaging/Caldera/OpenServer/pkg/Install b/packaging/Caldera/OpenServer/pkg/Install
new file mode 100755
index 0000000000..ef0f61f33e
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/Install
@@ -0,0 +1 @@
+custom -p SKUNK2000:Samba -i -z `pwd`/archives/FLOPPY
diff --git a/packaging/Caldera/OpenServer/pkg/MakeSSO b/packaging/Caldera/OpenServer/pkg/MakeSSO
new file mode 100755
index 0000000000..538aaf58f7
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/MakeSSO
@@ -0,0 +1,25 @@
+:
+# MakeSSO
+#
+
+rm -rf archives sso
+
+ CDMT_DIR=`pwd`; export CDMT_DIR
+ Samba_DIR=`pwd`; export Samba_DIR
+ cdmtParse
+ if test $? != 0
+ then
+ exit 1
+ fi
+
+ cdmtCompress
+ if test $? != 0
+ then
+ exit 1
+ fi
+
+ cdmtArchive
+ if test $? != 0
+ then
+ exit 1
+ fi
diff --git a/packaging/Caldera/OpenServer/pkg/Packem b/packaging/Caldera/OpenServer/pkg/Packem
new file mode 100755
index 0000000000..a1b67e972d
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/Packem
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+P=`pwd`
+PKGTAR=`basename $P`-VOLS.tar
+PKGDIST=`basename $P`-dist.tar.gz
+
+DIRS=usr
+[ -d etc ] && DIRS="etc usr"
+cd archives/FLOPPY
+tar cf ../../$PKGTAR VOL*
+cd ../..
+tar cf - $DIRS | /usr/local/bin/gzip -9 > $PKGDIST
+[ -f $PKGTAR ] && rm -rf archives
+[ -f $PKGDIST ] && rm -rf $DIRS
+rm -rf sso
diff --git a/packaging/Caldera/OpenServer/pkg/Remove b/packaging/Caldera/OpenServer/pkg/Remove
new file mode 100755
index 0000000000..ea6102ac38
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/Remove
@@ -0,0 +1,16 @@
+#!/bin/sh
+#
+# Generic command-line Software Manger (custom) removal from
+# media images. Based on the installation script by Phil Hollenback
+# (philiph@sco.com) and Ron Record (rr@sco.com)
+#
+
+# Set this to be the full pathname to the directory
+# where your media images are:
+VDIR=`pwd`/archives/FLOPPY
+VOLS=$VDIR/VOL.000.000
+
+component=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f1`
+package=`grep "component" < $VOLS | head -1 | cut -d= -f2 | cut -d: -f2`
+
+custom -p $component:$package -r
diff --git a/packaging/Caldera/OpenServer/pkg/cdmt.config b/packaging/Caldera/OpenServer/pkg/cdmt.config
new file mode 100644
index 0000000000..e11c1961f2
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/cdmt.config
@@ -0,0 +1,34 @@
+MACROS:
+
+DEFAULT_EXEC_MODE = 0755
+
+DEFAULT_FILE_MODE = 0644
+DEFAULT_FILE_OWNER = bin
+DEFAULT_FILE_GROUP = bin
+
+DEFAULT_DIR_MODE = 0755
+DEFAULT_DIR_OWNER = bin
+DEFAULT_DIR_GROUP = bin
+
+DEFAULT_FIFO_MODE = 0644
+DEFAULT_FIFO_OWNER = bin
+DEFAULT_FIFO_GROUP = bin
+
+DEFAULT_DISTTREEROOT_SHARED = $CDMT_DIR
+DEFAULT_DISTTREEROOT_CLIENT = $CDMT_DIR
+
+CONFIG:
+ removeFiles = FALSE
+ removalPrompt = FALSE
+ archiveMedia = FLOPPY
+ compress = TRUE
+ ssoDir = sso
+
+FLOPPY_MEDIA:
+ device = /dev/rfd0
+ volumeSize = 8000
+ distVendor = SCO
+ distVersion = 2.2
+ distCode = SKUNK2000
+ paperLabel = "SCO Skunkware Samba 2.2"
+
diff --git a/packaging/Caldera/OpenServer/pkg/cntl/ccs b/packaging/Caldera/OpenServer/pkg/cntl/ccs
new file mode 100755
index 0000000000..0cb22490e4
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/cntl/ccs
@@ -0,0 +1,108 @@
+#!/bin/sh
+#
+# Postinstallscript written by Ron Record (rr@sco.com)
+#
+
+scriptname="$0"
+step="$1"
+keywords="$2"
+pkglist="$3"
+
+# Source in the standard functions library, ccsSetup.sh
+. ccsSetup.sh
+
+ccs_return_value=0
+
+SPOOL=/var/spool/samba
+SVCS=/etc/services
+INET=/etc/inetd.conf
+LMHOST=/etc/lmhosts
+PREFIX=/usr/local/samba
+
+#
+# Create /var/spool/samba, create an initial /etc/lmhosts, build the
+# codepages and setup swat to be run out of inetd on port 901
+#
+PostExport()
+{
+ [ -d $SPOOL ] || {
+ mkdir -p $SPOOL
+ chmod 1777 $SPOOL
+ }
+ if [ -f $LMHOST ]
+ then
+ grep localhost $LMHOST > /dev/null || {
+ echo 127.0.0.1 localhost >> $LMHOST
+ }
+ else
+ echo 127.0.0.1 localhost > $LMHOST
+ fi
+
+ cd ${PREFIX}/lib/codepages
+ for i in 437 737 775 850 852 861 866 932 936 949 950 1251
+ do
+ ${PREFIX}/bin/make_smbcodepage c $i \
+ ${PREFIX}/lib/codepages/src/codepage_def.$i \
+ ${PREFIX}/lib/codepages/codepage.$i
+ done
+ for i in 437 737 850 852 861 866 932 936 949 950 \
+ ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
+ do
+ ${PREFIX}/bin/make_unicodemap $i \
+ ${PREFIX}/lib/codepages/src/CP$i.TXT \
+ ${PREFIX}/lib/codepages/unicode_map.$i
+ done
+
+ grep swat $SVCS > /dev/null || {
+ echo "swat 901/tcp # Samba Web Administration Tool " >> $SVCS
+ }
+
+ grep swat $INET > /dev/null || {
+ echo "swat stream tcp nowait root /usr/local/samba/bin/swat swat " >> $INET
+ }
+
+ kill -1 `ps -e | grep inetd | awk ' { print $1 } '`
+}
+
+DisableStop()
+{
+ /etc/init.d/samba disable > /dev/null 2>&1
+ /etc/init.d/samba stop > /dev/null 2>&1
+}
+
+#
+# Remove /var/spool/samba and delete inetd entries for swat
+#
+PostUnexport()
+{
+ [ -d $SPOOL ] && {
+ rm -rf $SPOOL
+ }
+
+ grep swat $SVCS > /dev/null && {
+ B=`basename $SVCS`
+ T=$B$$
+ grep -v swat $SVCS > /tmp/$T
+ cp /tmp/$T $SVCS
+ rm -f /tmp/$T
+ }
+
+ grep swat $INET > /dev/null || {
+ B=`basename $INET`
+ T=$B$$
+ grep -v swat $INET > /tmp/$T
+ cp /tmp/$T $INET
+ rm -f /tmp/$T
+ }
+
+ kill -1 `ps -e | grep inetd | awk ' { print $1 } '`
+}
+
+case "$step" in
+ POST_EXPORT) PostExport ;;
+ PRE_UNEXPORT) DisableStop ;;
+ POST_UNEXPORT) PostUnexport ;;
+esac
+
+exit $ccs_return_value
+
diff --git a/packaging/Caldera/OpenServer/pkg/input/Samba.cmpnt b/packaging/Caldera/OpenServer/pkg/input/Samba.cmpnt
new file mode 100644
index 0000000000..245f6d12ce
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/input/Samba.cmpnt
@@ -0,0 +1,25 @@
+
+COMP:SKUNK2000:Samba:
+description = "Samba - A Windows SMB/CIFS fileserver for UNIX"
+version = 2.2
+subpackages = Samba
+required = Samba
+dependencies =
+distTreeRootSHARED = $Samba_DIR
+distTreeRootCLIENT = $Samba_DIR
+pkgFiles = $Samba_DIR/input/Samba.pkg
+
+FILE_DEFAULT:
+mode = $DEFAULT_FILE_MODE
+owner = $DEFAULT_FILE_OWNER
+group = $DEFAULT_FILE_GROUP
+
+DIR_DEFAULT:
+mode = $DEFAULT_DIR_MODE
+owner = $DEFAULT_DIR_OWNER
+group = $DEFAULT_DIR_GROUP
+
+FIFO_DEFAULT:
+mode = $DEFAULT_FIFO_MODE
+owner = $DEFAULT_FIFO_OWNER
+group = $DEFAULT_FIFO_GROUP
diff --git a/packaging/Caldera/OpenServer/pkg/input/Samba.pkg b/packaging/Caldera/OpenServer/pkg/input/Samba.pkg
new file mode 100644
index 0000000000..ea76e74a61
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/input/Samba.pkg
@@ -0,0 +1,1905 @@
+
+PKG:Control:
+description = "Control package"
+dependencies =
+distTreeRootSHARED = $Samba_DIR
+distTreeRootCLIENT = $Samba_DIR
+
+DIR:Control:SHARED:cntl:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Control:SHARED:cntl/ccs:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+PKG:Samba:
+description = "Samba - A Windows SMB/CIFS fileserver for UNIX"
+dependencies =
+distTreeRootSHARED = $Samba_DIR
+distTreeRootCLIENT = $Samba_DIR
+
+DIR:Samba:SHARED:etc:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:etc/init.d:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:etc/init.d/samba:
+mode = 0755
+owner = root
+group = sys
+flags =
+exportPath = /etc/init.d/samba
+
+FILE:Samba:SHARED:etc/smbusers:
+mode = 0644
+owner = root
+group = sys
+flags =
+exportPath = /etc/smbusers
+
+DIR:Samba:SHARED:usr:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba:
+mode = 0755
+owner = root
+group = sys
+flags =
+exportPath = /usr/local/samba
+
+DIR:Samba:SHARED:usr/local/samba/bin:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/nmblookup:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbclient:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbpasswd:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbstatus:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/testparm:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/testprns:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/make_smbcodepage:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/make_unicodemap:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/make_printerdef:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/rpcclient:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbspool:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbsh:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/mksmbpasswd.sh:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbtar:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbprint:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/findsmb:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/bin/smbadduser:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/sbin:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/smbd:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/nmbd:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/swat:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/debug2html:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/smbtorture:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/smbfilter:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/locktest2:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/sbin/masktest:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/using_samba:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/using_samba/gifs:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/gifs/index.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/gifs/samba.s.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/gifs/txthome.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/gifs/txtnexta.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/gifs/txtpreva.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/using_samba/figs:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0101.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0102.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0103.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0104.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0105.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0106.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0107.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0108.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0109.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0110.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0111.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0112.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0113.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0114.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0201.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0202.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0203.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0204.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0301.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0302.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0303.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0304.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0305.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0306.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0307.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0308.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0309.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0310.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0311.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0312.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0313.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0314.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0315.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0316.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0317.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0318.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0319.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0320.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0321.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0322.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0323.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0324.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0325.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0326.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0327.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0328.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0401.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0402.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0403.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0404.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0405.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0406.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0407.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0501.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0502.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0503.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0504.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0505.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0506.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0507.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0508.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0601.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0602.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0603.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0604.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0605.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0606.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0701.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0702.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0703.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0704.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0705.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0706.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0707.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0708.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0709.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0801.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0802.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0803.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0804.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0805.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0901.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0902.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0903.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0904.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.0905.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.aa01.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.ab01.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/figs/sam.ab02.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appa_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appa_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appa_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appa_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appa_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appb_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appb_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appb_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appc_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appd_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appe_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/appf_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_06.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_07.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch01_08.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch02_06.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch03_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch03_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch03_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_06.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_07.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch04_08.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch05_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch05_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch05_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch05_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch05_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch06_06.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch07_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch07_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch07_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_04.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_05.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_06.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch08_07.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch09_01.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch09_02.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/ch09_03.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/index.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/inx.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/licenseinfo.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/using_samba/this_edition.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/images:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/globals.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/home.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/passwd.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/printers.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/samba.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/shares.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/status.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/images/viewconfig.gif:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/help:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/welcome.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/DOMAIN_MEMBER.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/NT_Security.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/OS2-Client-HOWTO.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/Samba-HOWTO-Collection.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/UNIX_INSTALL.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/findsmb.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/lmhosts.5.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/make_smbcodepage.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/msdfs_setup.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/nmbd.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/nmblookup.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/printer_driver2.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/rpcclient.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/samba-pdc-faq.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/samba-pdc-howto.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/samba.7.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smb.conf.5.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbcacls.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbclient.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbcontrol.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbd.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbmnt.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbmount.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbpasswd.5.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbpasswd.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbrun.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbsh.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbspool.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbstatus.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbtar.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/smbumount.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/swat.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/testparm.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/testprns.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/wbinfo.1.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/winbind.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/help/winbindd.8.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/swat/include:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/include/footer.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/include/header.html:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/swat/README:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/man:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/man/man.1:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/findsmb.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/make_smbcodepage.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/make_unicodemap.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/nmblookup.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/rpcclient.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbcacls.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbclient.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbcontrol.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbrun.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbsh.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbstatus.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/smbtar.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/testparm.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/testprns.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.1/wbinfo.1:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/man/man.5:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.5/smb.conf.5:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.5/lmhosts.5:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.5/smbpasswd.5:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/man/man.7:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.7/samba.7:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/man/man.8:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/smbd.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/nmbd.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/smbpasswd.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/swat.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/smbmount.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/smbmnt.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/man/man.8/smbumount.8:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/var:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/var/locks:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/lib:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/lib/codepages:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+DIR:Samba:SHARED:usr/local/samba/lib/codepages/src:
+mode = 0755
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.437:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.737:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.775:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.850:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.852:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.861:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.866:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.932:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.936:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.949:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.950:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/codepage_def.1251:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP437.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP737.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP850.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP852.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP861.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP866.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP932.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP936.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP949.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CP950.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CPISO8859-1.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CPISO8859-2.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CPISO8859-5.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CPISO8859-7.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/codepages/src/CPKOI8-R.TXT:
+mode = 0644
+owner = root
+group = sys
+flags =
+
+FILE:Samba:SHARED:usr/local/samba/lib/smb.conf:
+mode = 0644
+owner = root
+group = sys
+flags =
diff --git a/packaging/Caldera/OpenServer/pkg/input/Samba.prd b/packaging/Caldera/OpenServer/pkg/input/Samba.prd
new file mode 100644
index 0000000000..e31c8bfe8e
--- /dev/null
+++ b/packaging/Caldera/OpenServer/pkg/input/Samba.prd
@@ -0,0 +1,6 @@
+PROD:SKUNK2000:Samba:
+description = "Samba - A Windows SMB/CIFS fileserver for UNIX"
+version = 2.2
+packages = SKUNK2000:Samba
+required = SKUNK2000:Samba
+cmpntFiles = Samba.cmpnt
diff --git a/packaging/Caldera/OpenServer/samba-2.2-osr5.patch b/packaging/Caldera/OpenServer/samba-2.2-osr5.patch
new file mode 100644
index 0000000000..fb71d9298b
--- /dev/null
+++ b/packaging/Caldera/OpenServer/samba-2.2-osr5.patch
@@ -0,0 +1,29 @@
+--- utils/torture.c.00 Fri Mar 30 13:53:26 2001
++++ utils/torture.c Fri Apr 13 15:06:04 2001
+@@ -2703,7 +2703,11 @@
+
+ dbf = stdout;
+
++#if defined(_SCO_DS) /* SCO OpenServer */
++ setvbuf(stdout, NULL, _IONBF, 0);
++#else
+ setbuffer(stdout, NULL, 0);
++#endif
+
+ charset_initialise();
+
+--- utils/locktest.c.00 Fri Sep 29 13:18:14 2000
++++ utils/locktest.c Fri Apr 13 17:54:11 2001
+@@ -384,8 +384,12 @@
+ recorded[n].conn = random() % NCONNECTIONS;
+ recorded[n].f = random() % NFILES;
+ recorded[n].start = LOCKBASE + ((unsigned)random() % (LOCKRANGE-1));
++#if defined(_SCO_DS) /* OpenServer */
++ recorded[n].len = 1;
++#else
+ recorded[n].len = 1 +
+ random() % (LOCKRANGE-(recorded[n].start-LOCKBASE));
++#endif
+ recorded[n].start *= RANGE_MULTIPLE;
+ recorded[n].len *= RANGE_MULTIPLE;
+ recorded[n].r1 = random() % 100;
diff --git a/packaging/Caldera/OpenServer/smb.conf b/packaging/Caldera/OpenServer/smb.conf
new file mode 100644
index 0000000000..717c4efb17
--- /dev/null
+++ b/packaging/Caldera/OpenServer/smb.conf
@@ -0,0 +1,291 @@
+# This is the main Samba configuration file. You should read the
+# smb.conf(5) manual page in order to understand the options listed
+# here. Samba has a huge number of configurable options (perhaps too
+# many!) most of which are not shown in this example
+#
+# Any line which starts with a ; (semi-colon) or a # (hash)
+# is a comment and is ignored. In this example we will use a #
+# for commentry and a ; for parts of the config file that you
+# may wish to enable
+#
+# NOTE: Whenever you modify this file you should run the command "testparm"
+# to check that you have not many any basic syntactic errors.
+#
+#======================= Global Settings =====================================
+[global]
+
+# workgroup = NT-Domain-Name or Workgroup-Name
+ workgroup = MYGROUP
+
+# server string is the equivalent of the NT Description field
+ server string = Samba Server
+
+# This option is important for security. It allows you to restrict
+# connections to machines which are on your local network. The
+# following example restricts access to two C class networks and
+# the "loopback" interface. For more examples of the syntax see
+# the smb.conf man page
+; hosts allow = 192.168.1. 192.168.2. 127.
+
+# if you want to automatically load your printer list rather
+# than setting them up individually then you'll need this
+ printcap name = lpstat
+ load printers = yes
+
+# It should not be necessary to spell out the print system type unless
+# yours is non-standard. Currently supported print systems include:
+# bsd, sysv, plp, lprng, aix, hpux, qnx
+ printing = sysv
+
+# Uncomment this if you want a guest account, you must add this to /etc/passwd
+# otherwise the user "nouser" is used
+; guest account = pcguest
+
+# this tells Samba to use a separate log file for each machine
+# that connects
+ log file = /usr/local/samba/var/log.%m
+
+# Put a capping on the size of the log files (in Kb).
+ max log size = 50
+
+# Security mode. Most people will want user level security. See
+# security_level.txt for details.
+ security = user
+# Use password server option only with security = server
+; password server = <NT-Server-Name>
+
+# Password Level allows matching of _n_ characters of the password for
+# all combinations of upper and lower case.
+; password level = 8
+; username level = 8
+
+# You may wish to use password encryption. Please read
+# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
+# Do not enable this option unless you have read those documents
+; encrypt passwords = yes
+; smb passwd file = /etc/smbpasswd
+
+# The following are needed to allow password changing from Windows to
+# update the Linux sytsem password also.
+# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
+# NOTE2: You do NOT need these to allow workstations to change only
+# the encrypted SMB passwords. They allow the Unix password
+# to be kept in sync with the SMB password.
+; unix password sync = Yes
+; passwd program = /usr/bin/passwd %u
+; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
+
+# Unix users can map to different SMB User names
+; username map = /etc/smbusers
+
+# Using the following line enables you to customise your configuration
+# on a per machine basis. The %m gets replaced with the netbios name
+# of the machine that is connecting
+; include = /etc/smb.conf.%m
+
+# Most people will find that this option gives better performance.
+# See speed.txt and the manual pages for details
+ socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
+
+# Configure Samba to use multiple interfaces
+# If you have multiple network interfaces then you must list them
+# here. See the man page for details.
+; interfaces = 192.168.12.2/24 192.168.13.2/24
+
+# Configure remote browse list synchronisation here
+# request announcement to, or browse list sync from:
+# a specific host or from / to a whole subnet (see below)
+; remote browse sync = 192.168.3.25 192.168.5.255
+# Cause this host to announce itself to local subnets here
+; remote announce = 192.168.1.255 192.168.2.44
+
+# Browser Control Options:
+# set local master to no if you don't want Samba to become a master
+# browser on your network. Otherwise the normal election rules apply
+; local master = no
+
+# OS Level determines the precedence of this server in master browser
+# elections. The default value should be reasonable
+; os level = 33
+
+# Domain Master specifies Samba to be the Domain Master Browser. This
+# allows Samba to collate browse lists between subnets. Don't use this
+# if you already have a Windows NT domain controller doing this job
+; domain master = yes
+
+# Preferred Master causes Samba to force a local browser election on startup
+# and gives it a slightly higher chance of winning the election
+; preferred master = yes
+
+# Use only if you have an NT server on your network that has been
+# configured at install time to be a primary domain controller.
+; domain controller = <NT-Domain-Controller-SMBName>
+
+# Enable this if you want Samba to be a domain logon server for
+# Windows95 workstations.
+; domain logons = yes
+
+# if you enable domain logons then you may want a per-machine or
+# per user logon script
+# run a specific logon batch file per workstation (machine)
+; logon script = %m.bat
+# run a specific logon batch file per username
+; logon script = %U.bat
+
+# Where to store roving profiles (only for Win95 and WinNT)
+# %L substitutes for this servers netbios name, %U is username
+# You must uncomment the [Profiles] share below
+; logon path = \\%L\Profiles\%U
+
+# All NetBIOS names must be resolved to IP Addresses
+# 'Name Resolve Order' allows the named resolution mechanism to be specified
+# the default order is "host lmhosts wins bcast". "host" means use the unix
+# system gethostbyname() function call that will use either /etc/hosts OR
+# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
+# and the /etc/resolv.conf file. "host" therefore is system configuration
+# dependant. This parameter is most often of use to prevent DNS lookups
+# in order to resolve NetBIOS names to IP Addresses. Use with care!
+# The example below excludes use of name resolution for machines that are NOT
+# on the local network segment
+# - OR - are not deliberately to be known via lmhosts or via WINS.
+; name resolve order = wins lmhosts bcast
+
+# Windows Internet Name Serving Support Section:
+# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
+; wins support = yes
+
+# WINS Server - Tells the NMBD components of Samba to be a WINS Client
+# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
+; wins server = w.x.y.z
+
+# WINS Proxy - Tells Samba to answer name resolution queries on
+# behalf of a non WINS capable client, for this to work there must be
+# at least one WINS Server on the network. The default is NO.
+; wins proxy = yes
+
+# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
+# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
+# this has been changed in version 1.9.18 to no.
+ dns proxy = no
+
+# Case Preservation can be handy - system default is _no_
+# NOTE: These can be set on a per share basis
+; preserve case = no
+; short preserve case = no
+# Default case is normally upper case for all DOS files
+; default case = lower
+# Be very careful with case sensitivity - it can break things!
+; case sensitive = no
+
+#============================ Share Definitions ==============================
+[homes]
+ comment = Home Directories
+ browseable = no
+ writable = yes
+
+# Un-comment the following and create the netlogon directory for Domain Logons
+; [netlogon]
+; comment = Network Logon Service
+; path = /home/netlogon
+; guest ok = yes
+; writable = no
+; share modes = no
+
+
+# Un-comment the following to provide a specific roving profile share
+# the default is to use the user's home directory
+;[Profiles]
+; path = /home/profiles
+; browseable = no
+; guest ok = yes
+
+
+# NOTE: If you have a BSD-style print system there is no need to
+# specifically define each individual printer
+[printers]
+ comment = All Printers
+ path = /var/spool/samba
+ browseable = no
+# Set public = yes to allow user 'guest account' to print
+ guest ok = no
+ writable = no
+ printable = yes
+
+# This one is useful for people to share files
+;[tmp]
+; comment = Temporary file space
+; path = /tmp
+; read only = no
+; public = yes
+
+# A publicly accessible directory, but read only, except for people in
+# the "staff" group
+;[public]
+; comment = Public Stuff
+; path = /home/samba
+; public = yes
+; writable = yes
+; printable = no
+; write list = @staff
+
+# Other examples.
+#
+# A private printer, usable only by fred. Spool data will be placed in fred's
+# home directory. Note that fred must have write access to the spool directory,
+# wherever it is.
+;[fredsprn]
+; comment = Fred's Printer
+; valid users = fred
+; path = /homes/fred
+; printer = freds_printer
+; public = no
+; writable = no
+; printable = yes
+
+# A private directory, usable only by fred. Note that fred requires write
+# access to the directory.
+;[fredsdir]
+; comment = Fred's Service
+; path = /usr/somewhere/private
+; valid users = fred
+; public = no
+; writable = yes
+; printable = no
+
+# a service which has a different directory for each machine that connects
+# this allows you to tailor configurations to incoming machines. You could
+# also use the %u option to tailor it by user name.
+# The %m gets replaced with the machine name that is connecting.
+;[pchome]
+; comment = PC Directories
+; path = /usr/pc/%m
+; public = no
+; writable = yes
+
+# A publicly accessible directory, read/write to all users. Note that all files
+# created in the directory by users will be owned by the default user, so
+# any user with access can delete any other user's files. Obviously this
+# directory must be writable by the default user. Another user could of course
+# be specified, in which case all files would be owned by that user instead.
+;[public]
+; path = /usr/somewhere/else/public
+; public = yes
+; only guest = yes
+; writable = yes
+; printable = no
+
+# The following two entries demonstrate how to share a directory so that two
+# users can place files there that will be owned by the specific users. In this
+# setup, the directory should be writable by both users and should have the
+# sticky bit set on it to prevent abuse. Obviously this could be extended to
+# as many users as required.
+;[myshare]
+; comment = Mary's and Fred's stuff
+; path = /usr/somewhere/shared
+; valid users = mary fred
+; public = no
+; writable = yes
+; printable = no
+; create mask = 0765
+
+
diff --git a/packaging/Caldera/OpenServer/smb.init b/packaging/Caldera/OpenServer/smb.init
new file mode 100755
index 0000000000..ce6c6fa4b3
--- /dev/null
+++ b/packaging/Caldera/OpenServer/smb.init
@@ -0,0 +1,76 @@
+#!/bin/sh
+#ident "@(#)samba.server 1.0 96/06/19 TK" /* SVr4.0 1.1.13.1*/
+#
+# Please send info on modifications to knuutila@cs.utu.fi
+#
+# This file should have uid root, gid sys and chmod 744
+#
+# Modified 17-Jul-99 by Ron Record (rr@sco.com) for use in SCO Skunkware
+#
+
+SAMBADIR=/usr/local/samba
+RCSCRIPT=/etc/rc2.d/S99samba
+
+if [ ! -d /usr/bin ]
+then # /usr not mounted
+ exit
+fi
+
+killproc() { # kill the named process(es)
+ if [ -f $SAMBADIR/var/locks/$1.pid ]
+ then
+ kill `cat $SAMBADIR/var/locks/$1.pid`
+ else
+ pid=`/usr/bin/ps -e |
+ /usr/bin/grep $1 |
+ /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
+ [ "$pid" != "" ] && kill $pid
+ fi
+}
+
+start() {
+#
+# Edit these lines to suit your installation (paths, workgroup, host)
+#
+ $SAMBADIR/sbin/smbd -D -s $SAMBADIR/lib/smb.conf
+ $SAMBADIR/sbin/nmbd -D -s $SAMBADIR/lib/smb.conf
+}
+
+stop() {
+ killproc nmbd
+ killproc smbd
+}
+
+# Start/stop processes required for samba server
+
+case "$1" in
+
+'start')
+ start
+ ;;
+'stop')
+ stop
+ ;;
+'restart')
+ stop
+ start
+ ;;
+'enable')
+ if [ -h $RCSCRIPT ] ; then
+ echo "Samba is already enabled."
+ else
+ echo "Enabling Samba ... \c"
+ rm -f $RCSCRIPT
+ ln -s /etc/init.d/samba $RCSCRIPT
+ echo "Done"
+ fi
+ ;;
+'disable')
+ echo "Disabling Samba ... \c"
+ rm -f $RCSCRIPT
+ echo "Done"
+ ;;
+*)
+ echo "Usage: /etc/init.d/samba { start | stop | restart | enable | disable }"
+ ;;
+esac
diff --git a/packaging/Caldera/OpenServer/smbadduser b/packaging/Caldera/OpenServer/smbadduser
new file mode 100755
index 0000000000..2f38bf28f1
--- /dev/null
+++ b/packaging/Caldera/OpenServer/smbadduser
@@ -0,0 +1,73 @@
+#!/bin/csh
+#
+# smbadduser - Written by Mike Zakharoff
+#
+unalias *
+set path = ($path)
+
+set smbpasswd = /etc/smbpasswd
+set user_map = /etc/smbusers
+#
+# Set to site specific passwd command
+#
+set passwd = "cat /etc/passwd"
+#set passwd = "niscat passwd.org_dir"
+#set passwd = "ypcat passwd"
+
+set line = "----------------------------------------------------------"
+if ($#argv == 0) then
+ echo $line
+ echo "Written: Mike Zakharoff email: michael.j.zakharoff@boeing.com"
+ echo ""
+ echo " 1) Updates $smbpasswd"
+ echo " 2) Updates $user_map"
+ echo " 3) Executes smbpasswd for each new user"
+ echo ""
+ echo "smbadduser unixid:ntid unixid:ntid ..."
+ echo ""
+ echo "Example: smbadduser zak:zakharoffm johns:smithj"
+ echo $line
+ exit 1
+endif
+
+touch $smbpasswd $user_map
+set new = ()
+foreach one ($argv)
+ echo $one | grep ':' >& /dev/null
+ if ($status != 0) then
+ echo "ERROR: Must use unixid:ntid like -> zak:zakharoffm"
+ continue
+ endif
+ set unix = `echo $one | awk -F: '{print $1}'`
+ set ntid = `echo $one | awk -F: '{print $2}'`
+
+ set usr = `eval $passwd | awk -F: '$1==USR {print $1}' USR=$unix`
+ if ($#usr != 1) then
+ echo "ERROR: $unix Not in passwd database SKIPPING..."
+ continue
+ endif
+ set tmp = `cat $smbpasswd | awk -F: '$1==USR {print $1}' USR=$unix`
+ if ($#tmp != 0) then
+ echo "ERROR: $unix is already in $smbpasswd SKIPPING..."
+ continue
+ endif
+
+ echo "Adding: $unix to $smbpasswd"
+ eval $passwd | \
+ awk -F: '$1==USR { \
+ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }' USR=$unix >> $smbpasswd
+ if ($unix != $ntid) then
+ echo "Adding: {$unix = $ntid} to $user_map"
+ echo "$unix = $ntid" >> $user_map
+ endif
+ set new = ($new $unix)
+end
+
+#
+# Enter password for new users
+#
+foreach one ($new)
+ echo $line
+ echo "ENTER password for $one"
+ smbpasswd $one
+end
diff --git a/packaging/Caldera/OpenServer/smbprint b/packaging/Caldera/OpenServer/smbprint
new file mode 100755
index 0000000000..ec083eede6
--- /dev/null
+++ b/packaging/Caldera/OpenServer/smbprint
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# This script is an input filter for printcap printing on a unix machine. It
+# uses the smbclient program to print the file to the specified smb-based
+# server and service.
+# For example you could have a printcap entry like this
+#
+# smb:lp=/dev/null:sd=/usr/spool/smb:sh:if=/usr/local/samba/smbprint
+#
+# which would create a unix printer called "smb" that will print via this
+# script. You will need to create the spool directory /usr/spool/smb with
+# appropriate permissions and ownerships for your system.
+
+# Set these to the server and service you wish to print to
+# In this example I have a WfWg PC called "lapland" that has a printer
+# exported called "printer" with no password.
+
+#
+# Script further altered by hamiltom@ecnz.co.nz (Michael Hamilton)
+# so that the server, service, and password can be read from
+# a /var/spool/lpd/PRINTNAME/.config file.
+#
+# In order for this to work the /etc/printcap entry must include an
+# accounting file (af=...):
+#
+# cdcolour:\
+# :cm=CD IBM Colorjet on 6th:\
+# :sd=/var/spool/lpd/cdcolour:\
+# :af=/var/spool/lpd/cdcolour/acct:\
+# :if=/usr/local/etc/smbprint:\
+# :mx=0:\
+# :lp=/dev/null:
+#
+# The /usr/var/spool/lpd/PRINTNAME/.config file should contain:
+# server=PC_SERVER
+# service=PR_SHARENAME
+# password="password"
+#
+# E.g.
+# server=PAULS_PC
+# service=CJET_371
+# password=""
+
+#
+# Debugging log file, change to /dev/null if you like.
+#
+# logfile=/tmp/smb-print.log
+logfile=/dev/null
+
+
+#
+# The last parameter to the filter is the accounting file name.
+# Extract the directory name from the file name.
+# Concat this with /.config to get the config file.
+#
+eval acct_file=\${$#}
+spool_dir=`dirname $acct_file`
+config_file=$spool_dir/.config
+
+# Should read the following variables set in the config file:
+# server
+# service
+# password
+eval `cat $config_file`
+
+#
+# Some debugging help, change the >> to > if you want to same space.
+#
+echo "server $server, service $service" >> $logfile
+
+(
+# NOTE You may wish to add the line `echo translate' if you want automatic
+# CR/LF translation when printing.
+# echo translate
+ echo "print -"
+ cat
+) | /usr/bin/smbclient "\\\\$server\\$service" $password -U $server -N -P >> $logfile
diff --git a/packaging/Caldera/OpenServer/smbusers b/packaging/Caldera/OpenServer/smbusers
new file mode 100644
index 0000000000..08f611826a
--- /dev/null
+++ b/packaging/Caldera/OpenServer/smbusers
@@ -0,0 +1,3 @@
+# Unix_name = SMB_name1 SMB_name2 ...
+root = administrator admin
+nouser = guest pcguest smbguest