kadmin or keytab extraction

Gémes Géza geza at kzsdabas.hu
Tue Nov 29 13:36:53 MST 2011


2011-11-29 06:25 keltezéssel, Andrew Bartlett írta:
> On Sun, 2011-11-27 at 22:15 +0100, Gémes Géza wrote:
>
>> Hi,
>>
>> Unfortunately after a few days spent it still segfaults at
>> krb5_kt_get_entry.
>> The code is a shameless copy of the libnet_export_keytab, with some
>> modifications (I've created a struct libnet_ext_keytab with the in part
>> having a keytab, a principal a kvno and an enctype), the fprintf's are
>> to know where it does fail:
> I've written this up today, and the patch I've submitted to autobuild is attached.
>
> Try out the attached patch, and 'samba-tool domain
> exportkeytab /tmp/keytab --principal=cifs/foo' (or any other valid
> service principal name). 
>
> Andrew Bartlett
>
Thank you!

I've just git pulled and saw your patch already applied. Now I compile.
And test thereafter.

Thanks again!

Cheers

Geza


More information about the samba-technical mailing list