[Samba] printer.tdb (tdb_oob len errors) and Quirkiness: Solaris 9,
Samba 3.0.0
Jeff Gardiner
gardiner at imaging.robarts.ca
Tue Nov 18 16:39:28 GMT 2003
I set up printing IAW:
http://us4.samba.org/samba/docs/man/printing.html
I've confirmed the drivers are being installed to /etc/samba/drivers/W32X86.
Yet I am unable to print even a test page. I get the following error:
"Test page failed to print. Would you like to view the print trouble shooter
for assistance? Access is denied."
And I get the following errors in my samba log file:
tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 1600941951
beyond eof at 67552
[2003/11/18 11:05:20, 0] tdb/tdbutil.c:tdb_log(724)
tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 858730825
beyond eof at 67552
[2003/11/18 11:05:20, 0] tdb/tdbutil.c:tdb_log(724)
tdb(/usr/local/samba/var/locks/printing/irl.tdb): tdb_oob len 1600941951
beyond eof at 67552
The following is my smb.conf file:
[global]
netbios name = SUPERSERVER
workgroup = WINZOMBIES
os level = 99
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%N\%u\profile
logon drive = H:
logon home = \\%L\%U
logon script = startup.bat
guest account = nobody
map to guest = bad user
time server = yes
admin users = root @sysgrp
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/log.%m
printing = lprng
load printers = yes
show add printer wizard = yes
printcap name = /etc/samba/lib/printcap
printer admin = @ntadmin root
lpq cache time = 20
use client driver = no
[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin
[profiles]
path = %H/profile
read only = no
create mask = 0600
directory mask = 0700
[homes]
comment = Home Directories
read only = No
browseable = No
[print$]
comment = Printer Driver Download Area
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
printable = yes
[printers]
comment = All Printers
browseable = no
printable = yes
public = yes
writable = no
guest ok = yes
create mode = 0700
path = /var/spool/samba
[irl]
path=/tmp
comment = Main Lab Lexmark Printer
browseable = yes
printable = yes
public = yes
create mode = 0700
lpq command = lpq -Plp-std
lprm command = lprm -Plp-std %j
print command = /irus/bin/lpr -r -h -Plp-std %s
--
Jeff Gardiner [ gardiner at imaging.robarts.ca ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089
~~~~~~~
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
~~~~~~
More information about the samba
mailing list