diff --git a/imageroot/update-module.d/50bind_user_domain b/imageroot/update-module.d/50bind_user_domain index 3dbd392..1f46939 100755 --- a/imageroot/update-module.d/50bind_user_domain +++ b/imageroot/update-module.d/50bind_user_domain @@ -19,6 +19,9 @@ except: if not user_ldap_domain: sys.exit(0) +if not hasattr(agent, 'get_bound_domain_list'): + sys.exit(0) # core version too old, skip and try on next update + rdb = agent.redis_connect(use_replica=True) if not agent.get_bound_domain_list(rdb): agent.bind_user_domains([user_ldap_domain])