From 34fe6103db792df2d5ba01f9452a70e953b7a9f2 Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Thu, 28 Jun 2018 17:32:07 +0200 Subject: [PATCH] ipaclient/library/ipanss.py: Fixed wrong name in paths.GETENT compat check The paths.GETENT compat check was using "KDESTROY" instead of "GETENT". --- roles/ipaclient/library/ipanss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ipaclient/library/ipanss.py b/roles/ipaclient/library/ipanss.py index 41ff894e..46a7caac 100644 --- a/roles/ipaclient/library/ipanss.py +++ b/roles/ipaclient/library/ipanss.py @@ -288,7 +288,7 @@ def main(): # Particulary, SSSD might take longer than 6-8 seconds. while n < 10 and not found: try: - ipautil.run([paths.GETENT if hasattr(paths, "KDESTROY") else "getent", "passwd", user]) + ipautil.run([paths.GETENT if hasattr(paths, "GETENT") else "getent", "passwd", user]) found = True except Exception as e: time.sleep(1) -- GitLab