Pass NULL password to kadm5_*_init_with_password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4909 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -239,7 +239,7 @@ main(int argc, char **argv)
|
||||
if(local_flag){
|
||||
ret = kadm5_s_init_with_password_ctx(context,
|
||||
KADM5_ADMIN_SERVICE,
|
||||
"password",
|
||||
NULL,
|
||||
KADM5_ADMIN_SERVICE,
|
||||
&conf, 0, 0,
|
||||
&kadm_handle);
|
||||
@@ -247,7 +247,7 @@ main(int argc, char **argv)
|
||||
} else {
|
||||
ret = kadm5_c_init_with_password_ctx(context,
|
||||
client_name,
|
||||
"password",
|
||||
NULL,
|
||||
KADM5_ADMIN_SERVICE,
|
||||
&conf, 0, 0,
|
||||
&kadm_handle);
|
||||
|
Reference in New Issue
Block a user