Linux Printer from Win98
Jim Kuzdrall
gnhlug at intrel.com
Wed Sep 14 15:56:00 EDT 2005
Greetings,
One side benefit I get from running Linux is humility. I was
certain that I could solve this small problem on my own. It is now the
4th day. Help!!!
I upgraded from SuSE 8.2 to SuSE 9.3. There is one Ethernet
connection to a Win98 computer. (Another on line is unpowered for the
moment.) The software versions between the updates is cups 1.1.18 ->
1.1.23 and samba 2.2.7a -> 3.0.13.
Under 8.2, I had no problem printing to the Linux printer. With the
Win98 configuration untouched:
1. I can print a test page to the Linux printer with no complaint,
but nothing comes out.
2. I can print from Linux to the Win98 printer.
3. Linux prints to its own printer.
4. Linux can write to shared Win98 directories.
5. Win98 can write to shared Linux directories.
6. Boot the old 8.2 setup (separate drive) and Win98 prints normally.
7. The 8.2 smb.conf is virtually the same as 9.3 smb.conf except for
"add machine script" needed by samba 3.0.
Listing everything I have tried would only make me cry, so in
summary: I followed the advice in the SuSE Administration Manual, in
the Samba-HOWTO-Collection section regard the 2.2 to 3.0 changes, and
in the cups chapters in various books.
The log files for cups and samba show no outright FAILURE or ERROR
reports. In particular, NT_STATUS_LOGON_FAILURE does not show up.
Advice on where to focus my attention would be keenly appreciated.
# from localhost.localdomain (127.0.0.1)
# Date: 2003/09/28 09:24:32
# Global parameters
[global]
workgroup = ISC_WINNERS
netbios name = ULB
server string = Samba Server
interfaces = 192.168.0.5/24
username map = /etc/samba/smbusers
log level = 3
log file = /var/log/samba/%m.log
max log size = 50
security = user
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
preferred master = Yes
domain master = Yes
os level = 2
dns proxy = No
wins proxy = Yes
wins support = Yes
remote announce = 192.168.0.255
hosts allow = 192.168.0. 127.
guest account = nobody
printing = cups
add machine script = /usr/sbin/useradd -c Machine \
-d /var/lib/nobody -s /bin/false %m$
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
# print command = lpr -P %p -o raw %s -r
# lpq command = lpstat -o %p
# lprm command = cancel %p-%j
browseable = yes
[winxfr]
comment = Temp file exchange space
path = /home/winxfr
read only = No
guest ok = Yes
[cdrom]
root preexec = mount /mnt/cdrom
comment = load windows CD from linux location
path = /media/cdrom
locking = No
guest ok = yes
read only = yes
browseable = yes
root postexec = umount /media/cdrom
More information about the gnhlug-discuss
mailing list