(main): only set admin_server if explicitly given
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4279 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -183,8 +183,10 @@ main(int argc, char **argv)
|
|||||||
conf.mask |= KADM5_CONFIG_REALM;
|
conf.mask |= KADM5_CONFIG_REALM;
|
||||||
}
|
}
|
||||||
|
|
||||||
conf.admin_server = admin_server;
|
if (admin_server) {
|
||||||
conf.mask |= KADM5_CONFIG_ADMIN_SERVER;
|
conf.admin_server = admin_server;
|
||||||
|
conf.mask |= KADM5_CONFIG_ADMIN_SERVER;
|
||||||
|
}
|
||||||
|
|
||||||
if(local_flag){
|
if(local_flag){
|
||||||
ret = kadm5_s_init_with_password_ctx(context,
|
ret = kadm5_s_init_with_password_ctx(context,
|
||||||
|
Reference in New Issue
Block a user