Re: pcnfs patches for scotty-2.0.2

Doug Hughes (Doug.Hughes@Eng.Auburn.EDU)
Thu, 16 Nov 1995 17:52:48 -0600

>
>Hi!
>
>Doug Hughes <Doug.Hughes@Eng.Auburn.EDU> said:
>
>Doug> Well, I finally got around to getting the 2.0.2 patches
>Doug> installed and making my list of patches so that you can do
>Doug> pcnfs with scotty. I've added a subset of PCNFS
>Doug> functionality. But it should be easily modifiable to add more
>Doug> functionality following the examples given in sunrpcextra.c.
>
>Thank you very much for the sources. I like the idea to look at print
>queues via pcnfs RPC calls so I folded your patches into my sources.
>However, they look quite different now. I did not include the nfsnull
>command (because you can do it in two lines of Tcl) and I did not
>include the pcnfs auth command (is it useful for anything else than
>cracking? :-). I fixed some minor bugs and made the Tcl interface more
>consistent with the existing sunrpc commands. Here are my results:

be forewarned, the status command doesn't give truthful information
at times. This is not the fault of the RPC code itself, but of the pcnfsd
daemon usually found on FTP sites. It could be fixed without too much
trouble.

I pity the person who tried to crack with pcnfs RPC's. it would be
REALLY slow. :) Anyway it does have a useful purpose for us here. It
allows us to make sure that authentication routines are still working,
rather than having to walk all the way down to the PC lab if somebody
says they can't login. I don't blame you for leaving it out though, I
probably would too. (we have all failed authentications logged anyway,
so I'm not worried about anybody using it for cracking).

>
> sunrpc pcnfs <host> info ?<array>? -> id_string
> sunrpc pcnfs <host> printer ?<array>? -> printer_name_list
> sunrpc pcnfs <host> queue <printer> ?<array>? -> queue_length
> sunrpc pcnfs <host> status <printer> <array>
>
Excellent!! much better for distribution! I basically used it as
a check to see it was all working, but I like this idea a lot!

>I wrote a simple scwish script to look at printer queue via pcnfs. It
>will be included in the examples directory of the next patch.
>
> Juergen
>
I'm sure there are many who will find it useful. :)