Skip to content

Commit 831139d

Browse files
authored
Merge pull request #5 from hellofresh/add-override-gid
Add sssd override_gid variable
2 parents ec66174 + 4553bba commit 831139d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ services:
44
- docker
55
install:
66
- pip install molecule
7-
- pip install docker
7+
- pip install docker-py
88
script:
99
- molecule test

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)