smb_panic when adding printer

Posted on 2003-03-20
Medium Priority
Last Modified: 2010-03-18
Hi there,

I'm in the process of building up a new RedHat Linux Server for my
company, to be used as a file and print server. I've got most of the
way through it, but I'm having trouble setting up the printing share.
I can share the printer, and print from a windows client BUT, only if
I install the driver manually from the driver CD. I need to set it up
so that the user can just browse to the server, double-click on the
printer, and bang, it's all installed, so they need to be able to
download the driver from the server.
I've done a bit of searching, and found that I needed to set up a
[print$] share, which I have done. I get most of the way through
adding a printer driver (to the point where the files are copied to
the server), then it fails and returns the message: "Unable to install
Lexmark Optra C710 PS3, Windows NT 4.0 or 2000, Intel. Operation could
not be completed". It then just prompts me to do it all over again.
This same message happens for all printers I've tried (Different
driver name obviously). The log file is giving me smb_panic Internal
Server Error.

I'm stumped. I've been searching around for days trying to find
something on this, through docs, mailing list archives, anything, but
nothing has helped. Any help would be greatly appreciated. Included is
my smb.conf file, so you can see what I've got, as well as the extract
of the logs where I'm getting said error.


 workgroup = CMVHODOM
 netbios name = HTCLINUX1
 server string = HTC Linux File Server
 security = SHARE
 encrypt passwords = Yes
 map to guest = Bad User
 admin log = Yes
 log level = 10
 syslog only = Yes
 log file = /var/log/samba/%m.log
 printcap name = lpstat
 dns proxy = No
 printing = lprng
 printer admin = mmagin

 guest account =
 valid users = %S
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No

 path = /tmp
 printable = Yes
 postscript = Yes
 printer name = cmvlex720

 path = /usr/local/samba/printers
 write list = mmagin
 read only = No
 create mask = 0777
 directory mask = 0777
 guest ok = Yes
 writeable = Yes



[2003/03/06 10:29:09, 5]
  add_a_printer_driver_3: Adding driver with key
DRIVERS/W32X86/3/Lexmark Optra C710 PS3
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(38)
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 11 in pid 2411 (2.2.7a)
  Please read the file BUGS.txt in the distribution
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(41)
[2003/03/06 10:29:09, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
[2003/03/06 10:29:09, 6] param/loadparm.c:lp_file_list_changed(2297)
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf
last mod_time: Thu Mar  6 10:24:53 2003


Thanks people,
Matt Magin
Question by:matt4013
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 8215685
Surely somebody out there has come across something like this? Guess I'm just going to have to submit a bug report :(

Expert Comment

ID: 8580129
        comment = All Printers
        path = /var/spool/samba
        valid users = dina,lauren,matthew,mjdme
        create mask = 0700
        printable = Yes
        print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.
        lpq command = lpq -P %p
        lprm command = cancel %p-%j
        browseable = No

        path = /var/lib/samba/printers
        valid users = dina,lauren,matthew,mjdme
        write list = @adm root

set up a share with the drives and write a script to the directory, copy the drivers to the directory on the server where it looks for the drivers or just do it manually

Expert Comment

ID: 8580169
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.


Expert Comment

ID: 9077608
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Author Comment

ID: 9078353
the question was not answered. I would still like an answer if anybody knows, but if this is unacceptable, then please close the question.

Expert Comment

ID: 9080629

Accepted Solution

modulo earned 0 total points
ID: 13515770
PAQed with points refunded (475)

Community Support Moderator

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question