[28086] in Kerberos

home help back first fref pref prev next nref lref last post

Re: query kerberos with C?

daemon@ATHENA.MIT.EDU (Sensei)
Sun Jul 22 04:00:25 2007

From: Sensei <senseiwa.at.Apple's.mac.dot.com@pch.MIT.EDU>
Date: Sun, 22 Jul 2007 10:04:25 +0200
Message-ID: <46a30e75$0$37198$4fafbaef@reader3.news.tin.it>
MIME-Version: 1.0
X-Complaints-To: Please send abuse reports to abuse@tin.it
To: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On 2007-07-21 17:12:15 +0200, Rainer Sigl <sigl@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)

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post