[2103] in Kerberos
AFS calls from C code
daemon@ATHENA.MIT.EDU (Gonzalo Diethelm)
Tue Aug 18 21:27:05 1992
Date: 19 Aug 92 00:55:10 GMT
From: gonzalod@amex-trs.com (Gonzalo Diethelm)
To: kerberos@shelby.Stanford.EDU
Distribution: world
Hello everyone,
This might be a FAQ, or maybe I should RTFM, but in this case
TFM is about 400 pages and I need this done REALLY SOON. So,
here it goes:
Does anybody know how to have AFS-like functionality in your
C code? Pipes or system() is not acceptable. For example,
how would you implement a function like:
int klog(char *username, char *password)
/*
* Same thing as the Kerberos klog utility.
*/
but without opening a pipe and actually executing the program
in /usr/afs/bin/klog?
What I'm looking for specifically is a way of checking the
AFS information for a user given his/her login id, uid, etc.
The .h files in my /usr/afs/include directory don't even have
ANSI prototypes, and the manuals are VERY long and terse.
I haven't found any examples either. Can anybody lend a hand?
Please answer by e-mail. Thanks in advance and regards.
P.S. Just in case, I'm using AIX 3.2 and AFS 3.2b
gonzalod@amexphx.amex-trs.com
Gonzalo A. Diethelm (602)375-8410 home
16220 N 7th St Ap 1314 (602)492-3536 office
Phoenix, AZ 85022 (602)492-4248 FAX