[4831] in Kerberos
Re: Using Kerberos Authentification in C program
daemon@ATHENA.MIT.EDU (Axel-Stiphane C. Smxrgrav)
Fri Mar 17 10:11:32 1995
To: kerberos@MIT.EDU
Date: 17 Mar 1995 10:00:50 +0100
From: axelstep@ifi.uio.no (Axel-Stiphane C. Smxrgrav)
In article <3k7bbn$hsi@sunset.backbone.olemiss.edu>, douglas@sunset.backbone.olemiss.edu (Douglas L Stewart) writes:
> I would like the use kinit (or at least do what kinit does)
> within a C program. Basically I'd like to be able to do
> something like kinit(char *login), have the person enter their
> password, and have it return an int to show whether or not
> the authentification was successful or not.
>
> Is there a library full of kerb functions? Or does anyone
> have a suggestion on the best way to accomplish this?
> --
> Douglas L. Stewart Assistant System Administrator
> - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * -
> 1802 W Jackson Avenue douglas@mail.olemiss.edu
> Oxford, MS 38655 http://www.olemiss.edu/homepages/douglas
The section 3 manual pages for kerberos is a good place to start.
For coding examples you could look at the sample client-server pair
included in the Kerberos distribution, or the kerberized login code
(available form ftp.uu.net). If you have Ultrix, the Ultrix Network
manual includes a programming example using kerberos library functions,
although some of these functions are specific to the Ultrix Kerberos
implementation.
-ascs