[Samba] Window Protection Fault With Samba 3.0.10

Jimmy James smcallis182 at hotmail.com
Sat Feb 5 04:10:34 GMT 2005


Hey guys, I'm trying to get Samba running to share some stuff out over my 
network.  My main box is running gentoo, but I've got two more machines that 
run windows (for work, ugh, I hate it, don't think I'm a microsoft lover)   
Anyhoo.  I got it setup and got cups installed and setup my smb.conf 
(included below).  I can connect to the shares and copy/rename/move/etc, 
works PERFECTLY.  I even got  PDF Printer setup in cups and shared out.  
However, my actual printer, an HP Deskjet 5550 has a little glitch.  I got 
it to share out and I uploaded new drivers for it.   I can install it in any 
of my machines, but when I try to print, whatever program I'm using just 
crashes.  If I try to view the properties of it, I get a protection fault.  
It seems to be a problem others have had, but I can't find any solutions to 
it.  I played around with renaming the printer under the print$ share (so it 
matched the CUPS queue name) and now it seems to work on my laptop, but it's 
still giving me the protection fault on the other machine.  I have a feeling 
if I delete it and reinstall it, it'll start misbehaving again on my laptop. 
  Can ANYONE help me with this?  I'm pulling my hair out, my smb.conf is 
below, edited to remove usernames =)

#======================= Global Settings 
=====================================
[global]
   # Basic Computer Descriptions
   workgroup     = WORKGROUP
   netbios name  = RAIN-DESKTOP
   server string = "Desktop Machine"

   # Basic Printer Settings
   printcap name = cups
   load printers = yes
   printing      = cups
   printer admin = ####, ####

   # Logging Settings, Log File Won't Go Over 50KB
   log file = /var/log/samba3/log.%m
   max log size = 50

   # Only Allow Hosts From The Local Network, Deny ALL Others
   hosts allow = 192.168.1. 127.
   hosts deny  = ALL

   # Sets up the guest account, just uses nobody
   # Allows Anonymous Printing
   guest account = nobody
   guest ok = yes

   #passdb backend = tdbsam

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

   encrypt passwords = yes
   smb passwd file = /etc/samba/private/smbpasswd

   #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   interfaces = lo eth0
   bind interfaces only = yes

# This sets up on access virus scanning
#  vfs object = vscan-clamav
#  vscan-clamav: config-file = /etc/samba/vscan-clamav.conf


#============================ Share Definitions 
==============================
[HD-2]
  comment = Second Hard Drive
  path = /mnt/win_c2
  valid users = ####
  public = no
  writable = yes
  printable = no

[Home]
  comment = #### Home Directory
  path    = /home/####
  valid users = ####
  public = no
  writable = yes
  printable = no

#=============================== Printers 
====================================

[HP_Deskjet_5550]
  comment = HP Deskjet 5550
  printable = yes
  path = /var/spool/samba
  public = yes
  guest ok = yes
  printer admin = ####, ####

[PDFs]
  comment = PDF Printer Output
  guest ok = yes
  path = /usr/PDFs
  read only = no

[PDF_Printer]
comment = PDF Printer
path = /tmp
printable = yes
guest ok = yes
lpq command =
lprm command =

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   public = yes
   printer admin = ####, ####
   create mode = 0700
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer 
drivers.

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = ####, ####
   guest ok = no




More information about the samba mailing list