use kadm5_s_init_with_password_ctx
authorLove Hörnquist Åstrand <lha@kth.se>
Fri, 30 Jan 2009 16:48:55 +0000 (16:48 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Fri, 30 Jan 2009 16:48:55 +0000 (16:48 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24549 ec53bebd-3082-4978-b11e-865c3cabbd6b

kadmin/rpc.c

index 238493bbce39455473148528c670024190d0776d..fcc228c92ec9f22090a3aaf08aef89acc7dd5e24 100644 (file)
@@ -979,13 +979,13 @@ process_stream(krb5_context context,
 
                krb5_warnx(context, "%s connected", client);
 
-               ret = kadm5_init_with_password_ctx(context,
-                                                  client,
-                                                  NULL,
-                                                  KADM5_ADMIN_SERVICE,
-                                                  &realm_params,
-                                                  0, 0,
-                                                  &server_handle);
+               ret = kadm5_s_init_with_password_ctx(context,
+                                                    client,
+                                                    NULL,
+                                                    KADM5_ADMIN_SERVICE,
+                                                    &realm_params,
+                                                    0, 0,
+                                                    &server_handle);
                INSIST(ret == 0);
            }