Click to See Complete Forum and Search --> : samba printing- aaargh!


linowes
09-30-2002, 11:33 PM
Hi,
I'm proud to have samba up and running, more or less.
There's some final issues. I have tried all kinds of combinations and permutations.
This mixture of Windows and Linux is REALLY aggravating!!!
Pleeeeeease, if someone could give me a clue what's going one.
Thanks!

Here's my configuration:

I have 4 machines:
a "linuxsrv" server, has a laserjet attached
a "w98" windows, has an epson attached
a "w2k" windows machines. and
a "linuxwks" linux workstation

w2k and w98 can see and access shared folders on each other, and shares on linuxsrv, so the file sharing is working.

w2k can print to laserjet on linuxsrv, BUT, its Printers box reports "Access denied, unable to connect" in the Status column (I can still print).

w2k can print to the epson on w98

w98 tries to print to laserjet on linuxsrv, but the Printer status shows the job is Paused, and I don't have permission to unpause it.

linuxwks can print to laserjet on linuxsrv, but not to the epson

on linuxsrv, lpq shows nothing in the queue. (it also reports "Server: no server active". Is this normal?)

I know samba is running ok (basically) because file sharing works, and it does almost print.

Here's my smb.conf:

--------------
[global]
netbios name = LINUXSRV
server string = Samba Server
workgroup = WORKGROUP

interfaces = 192.168.0.1/255.255.255.0 127.0.0.1/255.255.255.0
#socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384
SO_RCVBUF=16384

security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

log level = 2
log file = /var/log/samba/%m.log
max log size = 0

# if I comment out the next 3 lines, no difference
os level = 65
preferred master = yes
local master = yes

dns proxy = No
hosts allow = 192.168.0. 127.

printcap name = /etc/printcap
load printers = yes
printing = lprng

[homes]
read only = No
browseable = no

[public]
comment = Public Directory
path = /public
read only = no
browseable = yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = yes
browseable = no
guest ok = yes
------------------



--jonathan
"Linux: Just learn it!"