Skip to content

Commit

Permalink
Funciona igual ao do IME
Browse files Browse the repository at this point in the history
  • Loading branch information
sybgroff committed Mar 27, 2024
1 parent 11a9d79 commit 6df3165
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@

- name: realm join
expect:
command: realm join "{{ sssd_ad_realm }}" -U "{{ sssd_ad_admin_user }}"%"{{ sssd_ad_admin_password }}" --do-not-touch-config
command: realm join "{{ sssd_ad_realm|upper }}" -U "{{ sssd_ad_admin_user }}" --do-not-touch-config
responses:
Password for *: "{{ sssd_ad_admin_password }}"
Senha para *: "{{ sssd_ad_admin_password }}"
creates: /etc/krb5.keytab

- name: configura krb5.conf
Expand Down
4 changes: 2 additions & 2 deletions templates/sssd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[sssd]
domains = {{ ssshd_ad_realm }}
domains = {{ sssd_ad_realm }}
config_file_version = 2
services = nss, pam

Expand All @@ -10,7 +10,7 @@ cache_credentials = True
krb5_realm = {{ sssd_ad_realm|upper }}
realmd_tags = manages-system joined-with-adcli
id_provider = ad
fallback_homedir = /home/%u@%d
fallback_homedir = /home/%u
ad_domain = {{ sssd_ad_realm }}
use_fully_qualified_names = False
ldap_id_mapping = True
Expand Down

0 comments on commit 6df3165

Please sign in to comment.