summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-join.c
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-05-03 15:15:43 -0400
committerJason Gerard DeRose <jderose@redhat.com>2010-05-03 13:40:14 -0600
commitcef30893ecc7aa7b6cdcef0092b5ba4245af20a2 (patch)
tree302f7970d48ad1b9b524371a8f6fba40779541ed /ipa-client/ipa-join.c
parent244870932cecb11791cdbe27e46c0973589e9929 (diff)
downloadfreeipa-cef30893ecc7aa7b6cdcef0092b5ba4245af20a2.tar.gz
freeipa-cef30893ecc7aa7b6cdcef0092b5ba4245af20a2.tar.xz
freeipa-cef30893ecc7aa7b6cdcef0092b5ba4245af20a2.zip
client installation fixes: nscd, sssd min version, bogus join error
- Don't run nscd if using sssd, the caching of nscd conflicts with sssd - Set the minimum version of sssd to 1.1.1 to pick up needed hbac fixes - only try to read the file configuration if the server isn't passed in
Diffstat (limited to 'ipa-client/ipa-join.c')
-rw-r--r--ipa-client/ipa-join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/ipa-join.c b/ipa-client/ipa-join.c
index 094bc948e..16d8604e7 100644
--- a/ipa-client/ipa-join.c
+++ b/ipa-client/ipa-join.c
@@ -596,10 +596,10 @@ join(const char *server, const char *hostname, const char *bindpw, const char *k
krb5_principal uprinc = NULL;
krb5_error_code krberr;
- conf_data = read_config_file(IPA_CONFIG);
if (server) {
ipaserver = strdup(server);
} else if ((ipaserver = getIPAserver(conf_data)) == NULL) {
+ conf_data = read_config_file(IPA_CONFIG);
fprintf(stderr, "Unable to determine IPA server from %s\n", IPA_CONFIG);
exit(1);
}