Skip to content

Commit

Permalink
Merge pull request #39 from NethServer/dev6885
Browse files Browse the repository at this point in the history
Initialize ldapservice credentials in join-domain NethServer/dev#6885
  • Loading branch information
stephdl authored Mar 8, 2024
2 parents 6ef9027 + 274bda0 commit c99d9cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imageroot/actions/configure-module/50start_provisioning
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ if provision_type == 'join-domain':
endpoints.append(f"ldap://{provider['host']}:{provider['port']}")
podman_cmd.append("join-domain")
podman_cmd.append(','.join(endpoints))
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")
Expand Down

0 comments on commit c99d9cc

Please sign in to comment.