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. :)