Don't include empty v4 instances.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2612 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -425,7 +425,11 @@ krb5_425_conv_principal(krb5_context context,
|
|||||||
if(!strcmp(name, "rcmd"))
|
if(!strcmp(name, "rcmd"))
|
||||||
name = "host";
|
name = "host";
|
||||||
return krb5_build_principal(context, princ,
|
return krb5_build_principal(context, princ,
|
||||||
strlen(realm), realm, name, instance, 0);
|
strlen(realm),
|
||||||
|
realm,
|
||||||
|
name,
|
||||||
|
(instance && instance[0]) ? instance : NULL,
|
||||||
|
0);
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_error_code
|
krb5_error_code
|
||||||
|
Reference in New Issue
Block a user