[cups] /var/spool/samba or /var/spool/cups/tmp
Bill Schoolcraft
bill at wiliweld.com
Fri Dec 28 07:40:05 GMT 2001
Hello Family, (smd.conf file attached)
Having had great success with 2.2.2 and my Linux box and
Windows-2000 machines I switched to CUPS and now can't print again
having made some slight edits in my smb.conf file (attached) for the
change to CUPS.
[1] I have to reloaded all the Windows drivers again on the
Windows-2000 machines and still get the "Startdoc..." error.
[2] The printer share shows up fine in Windows-2000 printer panel,
no connection/permission issues.
[3] I could only trace CUPS spool directory to /var/spool/cups/tmp
Does anyone have a working Samba-2.2.2 setup using cups that can
send me their smb.conf file ?
TIA
--
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
"UNIX, A Way Of Life." _\_v
http://forwardslashunix.com
-------------- next part --------------
# 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, eg: REDHAT4
workgroup = WORKGROUP
##################################################################
passwd program = /usr/bin/passwd
log level = 3
use client driver = yes
disable spoolss = yes
#################################################################
# 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.7. 127.
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# you may wish to override the location of the printcap file
printcap name = /etc/printcap
# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
printcap name = lpstat
# 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 = share
# 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
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY
# 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
#============================ Share Definitions ==============================
printing = cups
[homes]
comment = Home Directories
browseable = yes
writable = yes
[printers]
use client driver = yes
comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = yes
printable = yes
More information about the samba
mailing list