Actually the problem appears to have been file permissions. The Redhat
printtool (which I ran as root -- something that makes sense if you're
setting up the system, IMO) had created the .config file (which contains the
user account information for printing) as owned by user and group root with
file permissions of 640. I ran "chown lp .config and viola! I can print!

I did the same thing to the SMB printer, and it came up perfectly. (OK,
there are some form mapping issues, but I'm happy that I _can_ print.)

Now, all I have to do is determine if I can post changes to the printer from
a "normal" user account and have them work.

Should I "set group id" printtool and change the group on the file to 'lp'?

Brian

-----Original Message-----
From: Brian Cowan 
Sent: Tuesday, February 08, 2000 7:22 AM
To: 'Petr Vandrovec'; Brian Cowan
Cc: [EMAIL PROTECTED]
Subject: RE: HELP! What am I missing getting printing to Netware and


Thank you. Thank You! THANK YOU! I'll try this and get back to you. Since
the printer just down the cube from me is a Netware printer, this will give
me access to the printer I really want. Then I can work on the SMB printing
later...

Brian

-----Original Message-----
From: Petr Vandrovec [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 07, 2000 3:02 PM
To: Brian Cowan
Cc: [EMAIL PROTECTED]
Subject: Re: HELP! What am I missing getting printing to Netware and


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]

Reply via email to