Skip to content
Snippets Groups Projects
Commit 087965dc authored by Thomas Schneider's avatar Thomas Schneider
Browse files

ad-auth: Allow overriding DC and syncing w/ Samba in renew_krb5

parent 34f78a9d
Branches
No related tags found
1 merge request!4ad-auth: Allow overriding DC and syncing w/ Samba in renew_krb5
Pipeline #3025 passed
...@@ -3,3 +3,7 @@ ...@@ -3,3 +3,7 @@
ad_admin_group: admin ad_admin_group: admin
ad_admin_password: samba-admin ad_admin_password: samba-admin
ad_admin_password_content: "{{ lookup('passwordstore', ad_admin_password) }}" ad_admin_password_content: "{{ lookup('passwordstore', ad_admin_password) }}"
# Set this to force a specific DC for the renew_krb5 cron job
# ad_auth_renew_force_dc: dc.example.org
# Sync client credentials with Samba (i.e., winbindd)
ad_auth_sync_samba: false
#!/bin/bash #!/bin/bash
/usr/sbin/adcli update -D {{ domain }} /usr/sbin/adcli update \
{% if ad_auth_renew_force_dc is defined %}
-S {{ ad_auth_renew_force_dc }} \
{% endif %}
{% if ad_auth_sync_samba %}
--add-samba-data \
{% endif %}
-D {{ domain }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment