diff options
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-install | 5 |
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 ce7fadee..280edd79 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: |