query kerberos with C?

Sensei senseiwaatApple'smacdotcom
Sun Jul 22 04:04:25 EDT 2007


On 2007-07-21 17:12:15 +0200, Rainer Sigl <sigl at mpe.mpg.de> said:

> Hi all,
> I'm rel. new with kerberos beside using it with afs.
> My question: are there easy c-interfaces to ask a kerberos server for 
> username, password or setting up new users on keberos?
> In my special case I have user database on postgresql. the stored 
> usernames, passwords which are till now used for authorizing by our 
> email server. Now I wish to have the same passwords on my postgresql 
> database and our afs server. This could work for example by writing 
> c-functions on postgresql that fetches the corresponding password for a 
> username and can create new user entries on kerberos.
> Is there any way to this?
> 
> Many thanks
> Rainer Sigl

You can look at the Kerberos APIs directly, SASL and GSSAPI (which 
include a Kerberos interface among others).

-- 
Sensei <senseiwa at Apple's mac dot com>

Beware of bugs in the above code; I have only proved it correct, not tried it.
(Donald Knuth)




More information about the Kerberos mailing list