add generation number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10162 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -5,9 +5,9 @@ include $(top_srcdir)/Makefile.am.common
|
|||||||
INCLUDES += -I../asn1 -I$(srcdir)/../asn1
|
INCLUDES += -I../asn1 -I$(srcdir)/../asn1
|
||||||
|
|
||||||
BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
|
BUILT_SOURCES = asn1_Key.c asn1_Event.c asn1_HDBFlags.c asn1_hdb_entry.c \
|
||||||
asn1_Salt.c hdb_err.c hdb_err.h
|
asn1_Salt.c hdb_err.c hdb_err.h asn1_GENERATION.c
|
||||||
|
|
||||||
foo = asn1_Key.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
|
foo = asn1_Key.x asn1_GENERATION.x asn1_Event.x asn1_HDBFlags.x asn1_hdb_entry.x asn1_Salt.x
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
|
CLEANFILES = $(BUILT_SOURCES) $(foo) hdb_asn1.h asn1_files
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ IMPORTS EncryptionKey, KerberosTime, Principal FROM krb5;
|
|||||||
HDB_DB_FORMAT INTEGER ::= 2 -- format of database,
|
HDB_DB_FORMAT INTEGER ::= 2 -- format of database,
|
||||||
-- update when making changes
|
-- update when making changes
|
||||||
|
|
||||||
-- these should have the same value as the pa-* counterparts
|
-- these must have the same value as the pa-* counterparts
|
||||||
hdb-pw-salt INTEGER ::= 3
|
hdb-pw-salt INTEGER ::= 3
|
||||||
hdb-afs3-salt INTEGER ::= 10
|
hdb-afs3-salt INTEGER ::= 10
|
||||||
|
|
||||||
@@ -44,6 +44,12 @@ HDBFlags ::= BIT STRING {
|
|||||||
immutable(13) -- may not be deleted
|
immutable(13) -- may not be deleted
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GENERATION ::= SEQUENCE {
|
||||||
|
time[0] KerberosTime, -- timestamp
|
||||||
|
usec[1] INTEGER, -- microseconds
|
||||||
|
gen[2] INTEGER -- generation number
|
||||||
|
}
|
||||||
|
|
||||||
hdb_entry ::= SEQUENCE {
|
hdb_entry ::= SEQUENCE {
|
||||||
principal[0] Principal OPTIONAL, -- this is optional only
|
principal[0] Principal OPTIONAL, -- this is optional only
|
||||||
-- for compatibility with libkrb5
|
-- for compatibility with libkrb5
|
||||||
@@ -57,7 +63,8 @@ hdb_entry ::= SEQUENCE {
|
|||||||
max-life[8] INTEGER OPTIONAL,
|
max-life[8] INTEGER OPTIONAL,
|
||||||
max-renew[9] INTEGER OPTIONAL,
|
max-renew[9] INTEGER OPTIONAL,
|
||||||
flags[10] HDBFlags,
|
flags[10] HDBFlags,
|
||||||
etypes[11] SEQUENCE OF INTEGER OPTIONAL
|
etypes[11] SEQUENCE OF INTEGER OPTIONAL,
|
||||||
|
generation[12] GENERATION OPTIONAL
|
||||||
}
|
}
|
||||||
|
|
||||||
END
|
END
|
||||||
|
Reference in New Issue
Block a user