Re: Anyone implemented des authentication for Demo/rpc/rpc.py??

Kenneth Manheimer (klm@nist.gov)
Wed, 17 Aug 1994 04:17:42 GMT

Guido responded to a question of mine:
> >[...]
> > Has anyone out there messed with the python rpc stuff? In particular,
> > have you produced the routines for interacting at the level of DES
> > authentication? I would drop a line to ask the author, but there is
> >[...]
> I must admit I have no idea how to use DES authentication with Sun RPC
> -- some C example code would be a good idea. It does look like
> RFC1057 specifies how to do it -- maybe all that is needed is access
> to DES encryption. This is probably in the C library (isn't DES used
> for Unix password verification?) so a wrapper for Python around the C
> library functions should be sufficient...

Yep, both rfc1057 and the solaris 2.3 network programming manual
describe the authdes_cred structure, and <rpc/auth_des.h> and
<rpc/auth.h> give the exact structure. The manual even gives some
code examples, more or less. Cool.

Ken
ken.manheimer@nist.gov, 301 975-3539