From 18f12f341f86f51a1729b19df2c0b86df8a6282d Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Sat, 10 May 2003 20:54:41 +0000 Subject: Completion of Stand-Alone server docs. (This used to be commit 44dbed231743b5caea319c448b2700bb02cc8303) --- docs/docbook/projdoc/StandAloneServer.xml | 113 ++++++++++++++++++++++++++++-- 1 file changed, 107 insertions(+), 6 deletions(-) (limited to 'docs/docbook') diff --git a/docs/docbook/projdoc/StandAloneServer.xml b/docs/docbook/projdoc/StandAloneServer.xml index 4646755b50..77d3174488 100644 --- a/docs/docbook/projdoc/StandAloneServer.xml +++ b/docs/docbook/projdoc/StandAloneServer.xml @@ -92,7 +92,37 @@ server and network design. Reference Documentation Server -Put one here! +Configuration of a read-only data server that EVERYONE can access is very simple. +Here is the smb.conf file that will do this. Assume that all the reference documents +are stored in the directory /export, that the documents are owned by a user other than +nobody. No home directories are shared, that are no users in the /etc/passwd +Unix system database. This is a very simple system to administer. + + + + + Share Mode Read Only Stand-Alone Server + # Global parameters + [global] + workgroup = MYGROUP + netbios name = REFDOCS + security = SHARE + passdb backend = guest + wins server = 192.168.1.1 + + [data] + comment = Data + path = /export + guest only = Yes + + + + +In the above example the machine name is set to REFDOCS, the workgroup is set to the name +of the local workgroup so that the machine will appear in with systems users are familiar +with. The only password backend required is the "guest" backend so as to allow default +unprivilidged account names to be used. Given that there is a WINS server on this network +we do use it. @@ -101,16 +131,87 @@ Put one here! Central Print Serving -Put one here! +Configuration of a simple print server is very simple if you have all the right tools +on your system. - + + Assumptions: + + The print server must require no administration + + + + The print spooling and processing system on our print server will be CUPS. + (Please refer to the chapter on printing for more information). + + + + All printers will that the print server will service will be network + printers. They will be correctly configured, by the administrator, + in the CUPS environment. + + + + All workstations will be installed using postscript drivers. The printer + of choice is the Apple Color LaserWriter. + + - -Legal Office Daily Work Server + +In this example our print server will spool all incoming print jobs to +/var/spool/samba until the job is ready to be submitted by +samba to the CUPS print processor. Since all incoming connections will be as +the anonymous (guest) user two things will be required: + + + +Enablement for Anonymous Printing + + The Unix/Linux system must have a guest account. + The default for this is usually the account nobody. + To find the correct name to use for your version of Samba do the + following: + + testparm -s -v | grep "guest account" + + Then make sure that this account exists in your system password + database (/etc/passwd). + + + + The directory into which Samba will spool the file must have write + access for the guest account. The following commands will ensure that + this directory is available for use: + + mkdir /var/spool/samba + chown nobody.nobody /var/spool/samba + chmod a+rwt /var/spool/samba + + + -Put one here! + + Simple Central Print Server + # Global parameters + [global] + workgroup = MYGROUP + netbios name = PTRSVR1 + security = SHARE + passdb backend = guest + wins server = 192.168.1.1 + + [printers] + comment = All Printers + path = /var/spool/samba + printer admin = root + guest ok = Yes + printable = Yes + printing = cups + use client driver = Yes + browseable = No + -- cgit