On 7 Feb 00 at 13:05, Brian Cowan wrote:
> Can someone point me to some troubleshooting resources for getting printing
> to Netware (NDS) and NT (SMB) printing to work? All I know is "it won't
> print," and need to know how I can chase the print job through a Linux
> system and see where the missing link is.
Hi,
I cannot comment on Samba, but for Netware you can, for example,
add
>>>>
nw:\
:lp=/dev/null:sd=/var/spool/lpd/netware:mx#0:\
:of=/usr/bin/print_to_netware:sh:sf:
<<<<
into /etc/printcap and create /usr/bin/print_to_netware with
following contents:
>>>>
#! /bin/sh
cat | nprint -S server -U user.fully.qualified.name -P "userpassword" \
-q queuename /dev/stdin
<<<<
If your queue is not available through bindery, you have to download
latest pre-release of ncpfs-2.2.0.18 from
ftp://platan.vc.cvut.cz/private/ncpfs.
'cat' is here because of /dev/stdin is opened by job creator, but
script runs under `lp' uid, so it will get EACCES without cat :-(
(I'll fix nprint behavior in next beta).
You should "chown lp print_to_netware; chmod 500 print_to_netware"
to hide password from users... Unfortunately, it will not hide it
from processlist, so it is good idea to create (password-less) station
restricted account for printing.
You can discuss more NDS questions/problems either with me or on
[EMAIL PROTECTED] ([EMAIL PROTECTED] is ctrl address).
Best regards,
Petr Vandrovec
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]