[17313] 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 (Greg Hudson)
Tue Oct 18 12:12:34 2011

Message-ID: <4E9DA56C.6090504@mit.edu>
Date: Tue, 18 Oct 2011 12:12:28 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Alejandro Perez Mendez <alex@um.es>
In-Reply-To: <4E9D6F37.7000801@um.es>
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?

> 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

_______________________________________________
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