[17314] in Kerberos_V5_Development

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

Re: Inserting opaque data into the DB

daemon@ATHENA.MIT.EDU (Alejandro Perez Mendez)
Tue Oct 18 13:17:18 2011

Message-ID: <4E9DB494.5030007@um.es>
Date: Tue, 18 Oct 2011 19:17:08 +0200
From: Alejandro Perez Mendez <alex@um.es>
MIME-Version: 1.0
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <4E9DA56C.6090504@mit.edu>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu


> On 10/18/2011 08:21 AM, Alejandro Perez Mendez wrote:
>> I have been looking through the code to see a point where I can add
>> random data to a principal entry in the user database during creation or
>> modification.
> Do you really mean "random data" in the sense of PRNG-generated data here?

No, I expressed myself badly :). What I meant is to include opaque data. 
Something that I could recover later from an preauth or authdata plugin.

>
>> The problem is that when I retrieve the principal (i.e. using getprinc),
>> this TL_DATA does not seem to be recovered. Does anyone have some hints
>> on this? Thanks in advance.
> I don't know why you'd be having this problem; I suspect you'll need to
> do some probing with a debugger.  But I did want to note that MIT krb5
> 1.10 will have a string attributes feature with kadmin support:
>
> http://k5wiki.kerberos.org/wiki/Projects/Principal_entry_string_mapping

I could try, but I just realized that the string attributes feature is 
exactly what I was looking for, so the effort wouldn't be worthy.
When do you plan to release krb5 1.10?

Regards,
Alejandro



_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

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