From 4deb895119e15b423c637d96c7fac4f15d2c4f1c Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 25 Jul 1997 19:39:54 +0000 Subject: [PATCH] * server_init.c: Change a few calls to align with the new kdb API. * Makefile.in: Bump version. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10131 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/srv/ChangeLog | 7 +++++++ src/lib/kadm5/srv/Makefile.in | 2 +- src/lib/kadm5/srv/server_init.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 238fc8fcb..8ad1c58c3 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,10 @@ +Fri Jul 25 15:37:08 1997 Tom Yu + + * server_init.c: Change a few calls to align with the new kdb + API. + + * Makefile.in: Bump version. + Tue Jul 1 02:32:49 1997 Tom Yu * server_acl.h: Fix ACL_ALL_MASK to include ACL_SETKEY. diff --git a/src/lib/kadm5/srv/Makefile.in b/src/lib/kadm5/srv/Makefile.in index 9a76e131e..df88e9ee7 100644 --- a/src/lib/kadm5/srv/Makefile.in +++ b/src/lib/kadm5/srv/Makefile.in @@ -5,7 +5,7 @@ CFLAGS = $(CCOPTS) $(DEFS) -I$(BUILDTOP)/include/kadm5 LIB=kadm5srv LIBMAJOR=1 -LIBMINOR=0 +LIBMINOR=1 STOBJLISTS=../OBJS.ST OBJS.ST SHLIB_EXPDEPS=\ $(TOPLIBD)/libgssrpc$(SHLIBEXT) \ diff --git a/src/lib/kadm5/srv/server_init.c b/src/lib/kadm5/srv/server_init.c index a0356c4e4..3f35d3521 100644 --- a/src/lib/kadm5/srv/server_init.c +++ b/src/lib/kadm5/srv/server_init.c @@ -184,7 +184,7 @@ kadm5_ret_t kadm5_init(char *client_name, char *pass, * Set the db_name based on configuration before calling * krb5_db_init, so it will get used. */ - if (ret = krb5_dbm_db_set_name(handle->context, + if (ret = krb5_db_set_name(handle->context, handle->params.dbname)) { free(handle); return(ret); @@ -311,7 +311,7 @@ kadm5_ret_t kadm5_flush(void *server_handle) * Set the db_name based on configuration before calling * krb5_db_init, so it will get used. */ - (ret = krb5_dbm_db_set_name(handle->context, + (ret = krb5_db_set_name(handle->context, handle->params.dbname)) || (ret = krb5_db_init(handle->context)) || (ret = adb_policy_close(handle)) || -- 2.26.2