* fakeka.c (main): Pass extra null-pointer argument to kadm5_init_with_password
authorKen Raeburn <raeburn@mit.edu>
Fri, 18 Nov 2005 01:37:56 +0000 (01:37 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 18 Nov 2005 01:37:56 +0000 (01:37 +0000)
for new db_args argument added by DAL changes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17496 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/fakeka.c

index f66bf6fa372083255308b6ccaa582d4f22d8a846..5d39b02aecf70775694c3adbeca06781374317f0 100644 (file)
@@ -1,6 +1,9 @@
 2005-11-17  Ken Raeburn  <raeburn@mit.edu>
 
        * fakeka.c: Include errno.h.
+       (main): Pass extra null-pointer argument to
+       kadm5_init_with_password for new db_args argument added by DAL
+       changes.
 
 2005-10-13  Tom Yu  <tlyu@mit.edu>
 
index 08ad43318c577fae2672519a5b2a1cd6afc6d11a..5d098dc5c05914342e9539a05f9248883e457f44 100644 (file)
@@ -1254,7 +1254,9 @@ char **argv;
 
     if ((code = kadm5_init_with_password(progname, NULL, KADM5_ADMIN_SERVICE,
                                         NULL, KADM5_STRUCT_VERSION,
-                                        KADM5_API_VERSION_2, &handle))) {
+                                        KADM5_API_VERSION_2,
+                                        (char **) NULL, /* db_args */
+                                        &handle))) {
        com_err(argv[0], code, "while initializing Kadm5");
        exit(1);
     }