diff --git a/roles/ipaclient/library/ipanss.py b/roles/ipaclient/library/ipanss.py index 41ff894e8f310f4da40e26ac1110c5849e301bf1..46a7caac439936f67978af84be3b4e038552a86d 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)