diff --git a/imageroot/actions/configure-module/50start_provisioning b/imageroot/actions/configure-module/50start_provisioning index c072e1e..5e56ae5 100755 --- a/imageroot/actions/configure-module/50start_provisioning +++ b/imageroot/actions/configure-module/50start_provisioning @@ -60,6 +60,10 @@ if provision_type == 'join-domain': endpoints.append(f"ldap://{provider['host']}:{provider['port']}") podman_cmd.append("join-domain") podman_cmd.append(','.join(endpoints)) + # Set the bind password for the provider + if domains[domain]["bind_password"]: + agent.set_env('LDAP_SVCPASS', domains[domain]["bind_password"]) + agent.set_env('LDAP_SVCUSER', 'ldapservice') elif provision_type == 'new-domain': podman_cmd.append("new-domain")