Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Printing across the network
@ 1992-01-03 20:41 Shaheen Tonse
  0 siblings, 0 replies; only message in thread
From: Shaheen Tonse @ 1992-01-03 20:41 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-01-03 20:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-01-03 20:41 Printing across the network Shaheen Tonse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox