summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install/ipa-client-install
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-07-18 19:51:22 +0200
committerMartin Kosek <mkosek@redhat.com>2013-07-19 12:37:43 +0200
commit8a22bce24233ddd4ec9764cecf410c159284f370 (patch)
tree513282b2b98a7c2ff575948513b93789c57b0721 /ipa-client/ipa-install/ipa-client-install
parentefb7a2d54d4d7498d60e5e212ef4d53fa5fe39d4 (diff)
downloadfreeipa-8a22bce24233ddd4ec9764cecf410c159284f370.tar.gz
freeipa-8a22bce24233ddd4ec9764cecf410c159284f370.tar.xz
freeipa-8a22bce24233ddd4ec9764cecf410c159284f370.zip
Use admin@REALM when testing if SSSD is ready
https://fedorahosted.org/freeipa/ticket/3771
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-xipa-client/ipa-install/ipa-client-install5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index ce7fadee7..280edd793 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -2476,7 +2476,7 @@ def install(options, env, fstore, statestore):
# Particulary, SSSD might take longer than 6-8 seconds.
while n < 10 and not found:
try:
- ipautil.run(["getent", "passwd", "admin"])
+ ipautil.run(["getent", "passwd", "admin@%s" % cli_realm])
found = True
except Exception, e:
time.sleep(1)
@@ -2484,7 +2484,8 @@ def install(options, env, fstore, statestore):
if not found:
root_logger.error(
- "Unable to find 'admin' user with 'getent passwd admin'!")
+ "Unable to find 'admin' user with "
+ "'getent passwd admin@%s'!" % cli_realm)
if conf:
root_logger.info("Recognized configuration: %s", conf)
else: