Skip to content

Commit 84a85b5

Browse files
author
Anton Ustyuzhanin
committed
Add sssd override_gid variable
1 parent ec66174 commit 84a85b5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ sssd_ldap_uri: ldap://example.org
44
sssd_ldap_default_bind_dn: cn=manager,dc=example,dc=org
55
sssd_ldap_default_authtok: bind_password
66
sssd_ldap_user_ssh_public_key: sshPublicKey
7+
# If you need to override user's primary group you can use `sssd_ldap_override_gid` variable
8+
# sssd_ldap_override_gid: 500

templates/sssd.conf.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ ldap_default_bind_dn = {{ sssd_ldap_default_bind_dn }}
1818
ldap_default_authtok_type = password
1919
ldap_default_authtok = {{ sssd_ldap_default_authtok }}
2020
ldap_user_ssh_public_key = {{ sssd_ldap_user_ssh_public_key }}
21+
{% if sssd_ldap_override_gid is defined %}
22+
override_gid = {{ sssd_ldap_override_gid }}
23+
{% endif %}

0 commit comments

Comments
 (0)