Success! (was Re: [Samba] samba print server
Clayton Slaughter
71431.174 at compuserve.com
Fri Feb 21 03:49:17 GMT 2003
Hello ,
I guess I'm talking to myself but I finally got the printer to work
changing to security = share.
My home directories still require authentication. I guess security =
user doesn't permit printers to be active.
I'm headed to replace the redhat with gentoo so that I can have just
the right amount of software on the server and move my file server to
another box with a fat hard drive.
I would like to understand why security = user won't permit me to
secure the printers. I'm on a private home network of 7 computers so
it really doesn't matter with the firewall in place.
Here's my smb.conf:
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = SLAUGHTERHOUSE
# server string is the equivalent of the NT Description field
server string = UTILITY
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
; printcap name = /etc/printcap
; load printers = yes
# added from doc:
; printing = bsd
printcap name = /etc/printcap
load printers = yes
; log file = /var/log/samba-log.%m
; lock directory = /var/lock/samba
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 0
# Security mode. Most people will want user level security. See
# security_level.txt for details.
; security = user
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
smb passwd file = /etc/samba/smbpasswd
# 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
# 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 ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# 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/lpd/lp
path = /var/spool/samba
browseable = no
; public = yes
; create mode = 0700
; guest ok = yes
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
end smb.conf
I changed 2 things: I removed the socket line and changed security
to share.
--
See Ya,
Clayton mailto:71431.174 at compuserve.com
More information about the samba
mailing list