From 99bde6889d3d8b7a9e950c86c30e82662e1dacdd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 9 Sep 2003 02:58:53 +0000 Subject: syncing files from 3.0 into HEAD again (This used to be commit bca0bba209255d0effbae6a3d3b6d298f0952c3a) --- docs/docbook/projdoc/StandAloneServer.xml | 92 ++++++++++++++++--------------- 1 file changed, 47 insertions(+), 45 deletions(-) (limited to 'docs/docbook/projdoc/StandAloneServer.xml') diff --git a/docs/docbook/projdoc/StandAloneServer.xml b/docs/docbook/projdoc/StandAloneServer.xml index 206b2f88ce..ec4f9f2693 100644 --- a/docs/docbook/projdoc/StandAloneServer.xml +++ b/docs/docbook/projdoc/StandAloneServer.xml @@ -69,9 +69,9 @@ the Samba server is NOT a member of a domain security context. Through the use of PAM (Pluggable Authentication Modules) and nsswitch -(the name service switcher) the source of authentication may reside on +(the name service switcher, which maintains the unix user database) the source of authentication may reside on another server. We would be inclined to call this the authentication server. -This means that the Samba server may use the local Unix/Linux system password database +This means that the Samba server may use the local UNIX/Linux system password database (/etc/passwd or /etc/shadow), may use a local smbpasswd file, or may use an LDAP back end, or even via PAM and Winbind another CIFS/SMB server @@ -89,7 +89,7 @@ attempt a high level of creativity and to introduce too much complexity in server and network design. - + Reference Documentation Server @@ -97,23 +97,23 @@ 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. +UNIX system database. This is a very simple system to administer. - - # 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 - + +smb.conf for Reference Documentation Server + Global parameters +[global] +workgroup&example.workgroup; +netbios name&example.server.samba; +securitySHARE +passdb backendguest +wins server192.168.1.1 +[data] +commentData +path/export +guest onlyYes + In the above example the machine name is set to REFDOCS, the workgroup is set to the name @@ -125,7 +125,7 @@ we do use it. - + Central Print Serving @@ -141,7 +141,7 @@ on your system. The print spooling and processing system on our print server will be CUPS. - (Please refer to the CUPS Printing chapter for more information). + (Please refer to the chapter about CUPS for more information). @@ -166,13 +166,13 @@ the anonymous (guest) user, two things will be required: Enabling Anonymous Printing - The Unix/Linux system must have a guest account. + 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" - + +&prompt;testparm -s -v | grep "guest account" + Then make sure that this account exists in your system password database (/etc/passwd). @@ -181,34 +181,36 @@ the anonymous (guest) user, two things will be required: 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: - + &rootprompt;mkdir /var/spool/samba &rootprompt;chown nobody.nobody /var/spool/samba &rootprompt;chmod a+rwt /var/spool/samba - + - - # 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 - + + smb.conf for anonymous printing + Global parameters +[global] +workgroup&example.workgroup; +netbios name&example.server.samba; +securitySHARE +passdb backendguest +wins server&example.server.wins; +printingcups +printcap namecups + +[printers] +commentAll Printers +path/var/spool/samba +printer adminroot +guest okYes +printableYes +use client driverYes +browseableNo + -- cgit