[17312] in Kerberos_V5_Development

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

Inserting opaque data into the DB

daemon@ATHENA.MIT.EDU (Alejandro Perez Mendez)
Tue Oct 18 08:21:19 2011

Message-ID: <4E9D6F37.7000801@um.es>
Date: Tue, 18 Oct 2011 14:21:11 +0200
From: Alejandro Perez Mendez <alex@um.es>
MIME-Version: 1.0
To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

Hello,

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. It seems that the krb5_tl_data field may serve the 
purpose. Hence, I have modified the kadmin program to accept the -X 
option where a new TL_DATA with type 1000 and the indicated value is 
included into the new entry (in a similar way as it is done with the -x 
option).

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.

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