don't override configuration if there is one
This commit is contained in:
@@ -338,11 +338,12 @@ configure(krb5_context context, int argc, char **argv)
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
config->enable_pkinit = 1;
|
config->enable_pkinit = 1;
|
||||||
|
|
||||||
|
if (config->pkinit_kdc_identity == NULL) {
|
||||||
if (config->pkinit_kdc_friendly_name == NULL)
|
if (config->pkinit_kdc_friendly_name == NULL)
|
||||||
config->pkinit_kdc_friendly_name =
|
config->pkinit_kdc_friendly_name =
|
||||||
strdup("O=System Identity,CN=com.apple.kerberos.kdc");
|
strdup("O=System Identity,CN=com.apple.kerberos.kdc");
|
||||||
if (config->pkinit_kdc_identity == NULL)
|
|
||||||
config->pkinit_kdc_identity = strdup("KEYCHAIN:");
|
config->pkinit_kdc_identity = strdup("KEYCHAIN:");
|
||||||
|
}
|
||||||
if (config->pkinit_kdc_anchors == NULL)
|
if (config->pkinit_kdc_anchors == NULL)
|
||||||
config->pkinit_kdc_anchors = strdup("KEYCHAIN:");
|
config->pkinit_kdc_anchors = strdup("KEYCHAIN:");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user