[krbdev.mit.edu #6749] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Jul 1 23:23:22 EDT 2010


Add KRB5_KDB_API_VERSION to allow callers to adjust to incompatible
changes in libkdb; to be kept in sync with the libkdb major version,
which is bumped to 5 in anticipation of other changes.

Add KRB5_KDB_DAL_VERSION to allow database modules to detect when they
are mismatched with the KDB version.  Since KDB modules are often
developed concurrently with trunk code, this is defined to be the date
of the last incompatible DAL change.  The DAL version is passed to the
init_library DAL function; the module should check it against the value
of KRB5_KDB_DAL_VERSION it was compiled with and return
KRB5_KDB_DBTYPE_MISMATCH if it doesn't match.


http://src.mit.edu/fisheye/changelog/krb5/?cs=24157
Commit By: ghudson
Revision: 24157
Changed Files:
U   trunk/src/include/kdb.h
U   trunk/src/lib/kdb/Makefile.in
U   trunk/src/lib/kdb/kdb5.c
U   trunk/src/lib/krb5/error_tables/kdb5_err.et
U   trunk/src/plugins/kdb/db2/db2_exp.c
U   trunk/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
U   trunk/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c




More information about the krb5-bugs mailing list