summaryrefslogtreecommitdiffstats
path: root/src/plugins/kdb/db2/ChangeLog
blob: c6461f9ad8fc1ec494e070477c03fc7e4587882d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
2006-01-25  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (DEFINES): New variable; define macro PLUGIN.
	* db2_exp.c (krb5_db2_mutex): New variable.
	(wrap_*): Lots of new functions; lock the mutex, call the real
	function, unlock the mutex.
	(WRAP, WRAP_K, WRAP_VOID): Quick and dirty macros for implementing
	the above.
	(hack_init, hack_cleanup): New functions.  Call the regular init
	or cleanup function, but also deal with the new mutex.
	(krb5_db_vftabl_db2): Use the hack/wrap functions.

	* kdb_db2.h (krb5_db2_get_policy): Delete duplicate declaration.

2005-12-16  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (myfulldir, RELDIR): Updated for directory rename.

2005-11-29  Ken Raeburn  <raeburn@mit.edu>

	* policy_db.h: Include db.h after gssrpc/types.h, to fix
	compilation on Tru64.

2005-11-17  Ken Raeburn  <raeburn@mit.edu>

	* policy_db.h: Include errno.h and krb5.h instead of k5-int.h.

2005-10-27  Ken Raeburn  <raeburn@mit.edu>

	* configure.in: Set build_dynobj=yes.

	* Makefile.in (DYNOBJ_LOADER_PROG, DYNOBJ_EXPLIBS_WITH_LOADER,
	DYNOBJ_EXPDEPS_WITH_LOADER): New variables.

2005-10-13  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (SHLIB_EXPLIBS): Revert 10-04 change; add support
	library.

2005-10-06  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (DBSHOBJLISTS): New variable.
	($(DBOBJLISTS-k5), $(DBSHOBJLISTS)): Depend on recursion step.

2005-10-04  Ken Raeburn  <raeburn@mit.edu>

	* libdb2: Directory moved from util/db2.
	* configure.in: Configure it, unless a system version is to be
	used.
	* Makefile.in (DBDIR): Updated.
	($(DB_DEPS)): Depend on all-recurse.
	(DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect,
	DB_LIB, KDB5_DB_LIB, DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys):
	Variable definitions moved here from config/pre.in.
	(.depend-verify-db, depend-verify-db-k5, depend-verify-db-sys):
	New targets, moved from config/post.in.
	(.d): Depend on .depend-verify-db.

	* Makefile.in (SHLIB_EXPLIBS): Only use gssrpc and KDB5_DB_LIB.
	* configure.in: Set enable_shared=yes.

	* kdb_xdr.c (krb5_dbe_create_key_data, krb5_dbe_update_tl_data,
	krb5_dbe_lookup_tl_data, krb5_dbe_update_last_pwd_change,
	krb5_dbe_lookup_last_pwd_change, krb5_dbe_update_mod_princ_data,
	krb5_dbe_lookup_mod_princ_data, krb5_dbe_search_enctype,
	krb5_dbe_find_enctype): Unused functions deleted.
	(safe_realloc): Unused macro deleted.

2005-09-22  Ken Raeburn  <raeburn@mit.edu>

	* Directory moved from lib/kdb/kdb_db2 to modules/kdb/db2.
	* Makefile.in (myfulldir, LOCALINCLUDES, RELDIR): Updated.
	* db2_exp.c, kdb_db2.c: Include kdb5.h instead of ../kdb5.h.

2005-08-20  Ken Raeburn  <raeburn@mit.edu>

	* configure.in: Use K5_AC_INIT instead of AC_INIT.

2005-08-19  Ken Raeburn  <raeburn@mit.edu>

	* kdb_db2.c (MAX_LOCK_TRIES): New macro.
	(krb5_db2_db_lock): Always make non-blocking attempts to acquire
	the lock.  Retry up to MAX_LOCK_TRIES times on failure.

2005-07-06  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in (LIBBASE): Change to db2.
	(LIBMAJOR): Change to 0.
	(all): Deleted explicit dependency.
	(all-unix): Added here, without "lib" prefix.
	(clean-unix): Drop clean-liblinks.
	* db2_exp.c: (krb5_db_vftabl_db2): Renamed from ..._kdb_db2.
	* db2.exports: Rename from libkdb_db2.exports, update for symbol
	name change.

2005-07-01  Ken Raeburn  <raeburn@mit.edu>

	* kdb_db2.c: Reindent.  Use ISO C function decl style.  Delete
	functions inside "#if 0".

2005-06-29  Ken Raeburn  <raeburn@mit.edu>

	* Makefile.in: Use libnover_frag.
	(LIB): Variable deleted, uses replaced with LIBBASE.
	(SHLIB_EXPDEPS, SHLIB_EXPLIBS): Add gssrpc library and
	depedencies.
	(all-unix): Don't depend on all-liblinks.
	(lib$(LIBBASE)$(SO_EXT)): Rule deleted.
	(t_kdb, check, clean): Delete t_kdb references.

2005-06-27  Ken Raeburn  <raeburn@mit.edu>

	* kdb_db2.c: Don't use C++-style comments.
	(krb5_db2_db_get_principal): Don't use variables named "try".

2005-06-20  Ken Raeburn  <raeburn@mit.edu>

	Novell merge.
	* Makefile.in:
	* adb_openclose.c: Moved from lib/kadm5/srv.  Include k5-int.h,
	policy_db.h, db.h; don't include adb.h.
	(osa_adb_create_db, osa_adb_destroy_db, osa_adb_rename_db,
	osa_adb_init_db, osa_adb_fini_db, osa_adb_get_lock,
	osa_adb_release_lock, osa_adb_open_and_lock,
	osa_adb_close_and_unlock): Return krb5_error_code instead of
	osa_adb_ret_t.
	(osa_adb_rename_db, osa_adb_fini_db, osa_adb_get_lock,
	osa_adb_release_lock): Change OSA_ADB_* lock flags to
	KRB5_DB_LOCKMODE_* flags.
	(osa_adb_get_lock): Initialize return variable.
	* adb_policy.c: Moved from lib/kadm5/srv.  Include policy_db.h;
	don't include adb.h.
	(osa_adb_create_policy_db, osa_adb_rename_policy_db,
	osa_adb_destroy_policy_db, osa_adb_open_policy,
	osa_adb_close_policy): Functions deleted.
	(osa_adb_create_policy, osa_adb_destroy_policy,
	osa_adb_get_policy, osa_adb_put_policy, osa_adb_iter_policy):
	Return krb5_error_code instead of osa_adb_ret_t.  Change OSA_ADB_*
	lock flags to KRB5_DB_LOCKMODE_* flags.
	(osa_adb_get_policy): Change policy name argument from
	kadm5_policy_t to char*.  Add int* argument for returning count of
	entries.  If no entries found, return success and zero count.
	(osa_free_policy_ent): Moved here from old
	lib/kadm5/srv/adb_free.c.
	* configure.in:
	* db2_exp.c:
	* kdb_compat.h:
	* kdb_db2.c:
	* kdb_db2.h:
	* kdb_xdr.c:
	* kdb_xdr.h:
	* libkdb_db2.exports: New file.  Export only the virtual function
	table.
	* pol_xdr.c:
	* policy_db.h: