From: tonse@csa2.lbl.gov (Shaheen Tonse)
Subject: Printing across the network
Date: 3 Jan 92 20:41:08 GMT [thread overview]
Message-ID: <20447@dog.ee.lbl.gov> (raw)
We have a VMS microvax 2 and a Decstation 5000, connected by
decnet. When a user on the 5000 wishes to print a file (file1), the following
shell script "lnprint" is executed (on the 5000), copying file1
over to the microvax with dcp (decnet copy). It also sends over a command file
to do the print and remotely submits it with dcp -S
Other people in my group have no trouble printing this way, but I appear to
have some kind of a password problem.
1) My account name and password are identical on both machines.
2) The directory [scratch] on the microvax is open for write from the world.
Below are (a) the content of the script on the 5000 which takes care of copying
things over and submitting them, and (b) the error message I get back. Pagoda
is the name of the microvax. tonse is my username.
a)
%cat lnprint
#!/bin/csh -f
pr $* > /tmp/$$
dcp -v /tmp/$$ pagoda/$USER/::'pagoda$dua1:[scratch]'$$.prn
cat << ENDINPUT > /tmp/$$
print/delete/noflag/queue=sys\$print pagoda\$dua1:[scratch]$$.prn
ENDINPUT
dcp -S /tmp/$$ pagoda/$USER/::'pagoda$dua1:[scratch]'
rm /tmp/$$
b)
%lnprint default.DECterm
dcp: can't create "pagoda/tonse/password::pagoda$dua1:[scratch]6511.prn",
Connect failed, access control rejected
dcp: can't create "pagoda/tonse/password::pagoda$dua1:[scratch]", Connect
failed, access control rejected
Any ideas please..
S.Tonse
reply other threads:[~1992-01-03 20:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox