![](https://seccdn.libravatar.org/avatar/635925f78d297d62abe6ff757acb365c.jpg?s=120&d=mm&r=g)
Hallo, ich habe ein eigenartiges Verschwindeproblem mit einem Drucker in Samba. Der Drucker soll mir PDF-Dokumente erstellen. Wenn ich den Samba-Deamon starte und von einem Windows Client darauf zugreife, kann ich den Drucker sehen und z.B. die Eigenschaften aufrufen. Anschließend aktualisiere ich das Laufwerk in Windows und der Drucker ist verschwunden und erscheint nicht mehr. Erst nach einem Neustart des Deamon kann ich einmal darauf zugreifen. Ich verwende SEL 9 auf einer i86 Archtektur mit smbd 3.0.4-SUSE Die smb.conf sieht so aus: <------------------------- [global] workgroup = MyWorkgroup printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: security = user encrypt passwords = yes domain logons = no ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers local master = yes add machine script = preferred master = auto ldap suffix = dc=example,dc=com [pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600 browseable = yes guest ok = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no <---------------------------------- In der log.smbd steht nun der folgende Text: <------------------------------------- [2006/01/25 11:52:44, 0] smbd/server.c:main(757) smbd version 3.0.4-SUSE started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/25 11:52:44, 0] param/loadparm.c:map_parameter(2424) Unknown parameter encountered: "readable" [2006/01/25 11:52:44, 0] param/loadparm.c:lp_do_parameter(3114) Ignoring unknown parameter "readable" [2006/01/25 11:52:55, 0] smbd/service.c:make_connection(771) de-mun-l065161 (10.48.241.241) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} [2006/01/25 11:52:55, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2006/01/25 11:52:55, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:53:07, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:53:18, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:53:21, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2006/01/25 11:53:25, 1] smbd/service.c:make_connection_snum(619) de-mun-l065161 (10.48.241.241) connect to service muellerv initially as user muellerv (uid=1100, gid=100) (pid 10751) [2006/01/25 11:53:25, 0] smbd/service.c:make_connection(771) de-mun-l065161 (10.48.241.241) couldn't find service mueller [2006/01/25 11:53:29, 0] smbd/service.c:make_connection(771) de-mun-l065161 (10.48.241.241) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} [2006/01/25 11:53:29, 0] smbd/connection.c:register_message_flags(220) register_message_flags: tdb_fetch failed [2006/01/25 11:53:29, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:53:36, 1] smbd/service.c:close_cnum(801) de-mun-l065161 (10.48.241.241) closed connection to service muellerv [2006/01/25 11:53:41, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:53:59, 0] printing/print_cups.c:cups_queue_get(911) Unable to get jobs for ipp://localhost/printers/pdf - client-error-not-found [2006/01/25 11:54:04, 0] lib/fault.c:fault_report(36) =============================================================== [2006/01/25 11:54:04, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 10751 (3.0.4-SUSE) Please read the appendix Bugs of the Samba HOWTO collection [2006/01/25 11:54:04, 0] lib/fault.c:fault_report(39) =============================================================== [2006/01/25 11:54:04, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2006/01/25 11:54:04, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 18 stack frames: #0 /usr/sbin/smbd(smb_panic2+0x120) [0x8202870] #1 /usr/sbin/smbd(smb_panic+0x26) [0x8202a36] #2 /usr/sbin/smbd [0x81ee000] #3 [0xffffe420] <--- Der Backtrace geht an dieser Stelle noch weiter. Die File-Shares funktionieren auch weiterhin ohne Fehler. Vielen Dank für die Hilfe. Volker Müller This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
![](https://seccdn.libravatar.org/avatar/fbedb19be72cd4cdd0ff6060e67fd730.jpg?s=120&d=mm&r=g)
Hallo. * Mittwoch, 25. Januar 2006 um 12:14 (+0100) schrieb Müller, Volker:
[...] printing = cups [...] print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z [...]
Wenn samba gegen 'libcups' gelinkt wurde -- was auf die SUSE-Versionen im Allgmeinen zutrifft (Überprüfung mit "ldd `which smbd` |grep libcups") --, dann wird "print command" ignoriert. (Siehe auch 'man smb.conf'.) Gruß Andreas -- XMMS spielt gerade nichts... PGP-ID/Fingerprint: BD7C2E59/3E 11 E5 29 0C A8 2F 49 40 6C 2D 5F 12 9D E1 E3 PGP-Key on request or on public keyservers --
participants (2)
-
Andreas Koenecke
-
Müller, Volker