>>> On Tue, May 15, 2007 at 2:48 PM, in message
<email@example.com>, Nikolai Tenev <firstname.lastname@example.org>
> Hi everyone,
> sorry if mu question is dump, but I can't find answer in documentation. I
> setup and running MIT Kerberos 1.6 with LDAP backend and can add principals
> with kadmin tool. Now I need a solution (if it's possible) to add principal
> directly to LDAP, but can't find info how to create ldif file, especially
> values of krbPrincipalKey and krbExtraData. Is anyone know how these fields
> are constructed ?
It is not possible to add the krbPrincipalKey attribute through a
LDIF file. The format of the value for this attribute is described in
in the schema file(kerberos.ldif)
krbExtraData is a multivalued octet string attribute. Each value
contains a type and value. Currently only a single value is stored.
First 16 bits has 0x0002 for the value type. Next 32 bits has the
entry creation/modification time (time since the Epoch
(00:00:00 UTC, January 1, 1970), measured in seconds)
in little endian format. This is followed by the name of the
principal modifying the entry.
Kerberos mailing list Kerberos@mit.edu