[Samba] smb panic when adding printer with apw

Thorsten Leiser t.leiser at synchron-is.de
Fri Jun 24 00:13:54 MDT 2011


Hi,

I'm using samba 3.3.15 as domain member in an w2k8 ad. We're using the 
w2k3/xp add printer wizard to add a printer to the server. Since the 
update from 3.2.15 to 3.3.15 the apw fails when clicking on the "finish" 
button. At the same time a smb panic occurs and fills the smbd log with 
the lines below.

[2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
   Unable to open new log file /var/log/samba/log.smbd: Permission denied
[2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
   Unable to open new log file /var/log/samba/log.smbd: Permission denied
[2011/06/24 07:47:56,  0] lib/debug.c:reopen_logs(663)
   Unable to open new log file /var/log/samba/log.smbd: Permission denied
[2011/06/24 07:47:56,  0] lib/fault.c:fault_report(40)
   ===============================================================
[2011/06/24 07:47:56,  0] lib/fault.c:fault_report(41)
   INTERNAL ERROR: Signal 11 in pid 18756 (3.3.15-SerNet-Debian)
   Please read the Trouble-Shooting section of the Samba3-HOWTO
[2011/06/24 07:47:56,  0] lib/fault.c:fault_report(43)

   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2011/06/24 07:47:56,  0] lib/fault.c:fault_report(44)
   ===============================================================
[2011/06/24 07:47:56,  0] lib/util.c:smb_panic(1673)
   PANIC (pid 18756): internal error
[2011/06/24 07:47:56,  0] lib/util.c:log_stack_trace(1777)
   BACKTRACE: 19 stack frames:
    #0 /usr/sbin/smbd(log_stack_trace+0x1c) [0x7fa7a05959dd]
    #1 /usr/sbin/smbd(smb_panic+0x5b) [0x7fa7a0595aeb]
    #2 /usr/sbin/smbd [0x7fa7a0582027]
    #3 /lib/libpthread.so.0 [0x7fa79ea36a80]
    #4 /usr/sbin/smbd(print_access_check+0x53) [0x7fa7a05b9852]
    #5 /usr/sbin/smbd [0x7fa7a04e87f1]
    #6 /usr/sbin/smbd(_spoolss_addprinterex+0x3a) [0x7fa7a04e899e]
    #7 /usr/sbin/smbd [0x7fa7a04d4685]
    #8 /usr/sbin/smbd(api_pipe_request+0x3a2) [0x7fa7a050f78d]
    #9 /usr/sbin/smbd(write_to_internal_pipe+0xe9a) [0x7fa7a05095ec]
    #10 /usr/sbin/smbd(write_to_pipe+0x115) [0x7fa7a0509db2]
    #11 /usr/sbin/smbd [0x7fa7a0374267]
    #12 /usr/sbin/smbd [0x7fa7a037491d]
    #13 /usr/sbin/smbd(reply_trans+0x73e) [0x7fa7a03755de]
    #14 /usr/sbin/smbd [0x7fa7a03cc21e]
    #15 /usr/sbin/smbd(smbd_process+0xdb7) [0x7fa7a03ce615]
    #16 /usr/sbin/smbd(main+0x2365) [0x7fa7a07ac499]
    #17 /lib/libc.so.6(__libc_start_main+0xe6) [0x7fa79cdc91a6]
    #18 /usr/sbin/smbd [0x7fa7a0359ef9]

Here is our smb.conf
[global]
	workgroup = SCHARRNET
	realm = SCHARRNET.DE
	interfaces = 127.0.0.1, eth0
	bind interfaces only = Yes
	security = ADS
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	printcap name = /var/run/cups/printcap
	addprinter command = /usr/local/bin/smbaddprinter.pl
	deleteprinter command = /usr/local/bin/smbdelprinter.pl
	panic action = /usr/share/samba/panic-action %d
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	winbind enum users = Yes
	winbind enum groups = Yes
	winbind use default domain = Yes

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = SCHARRNET\Administrator
	force user = root
	force group = root
	guest ok = Yes

[printers]
	comment = All Printers
	path = /var/tmp
	valid users = @SCHARRNET\Domänen-Benutzer
	create mask = 0700
	printable = Yes
	browseable = No

Does anybody know what's wrong?
Thanks for your assistance.

Thorsten


More information about the samba mailing list