Use variable instead of group membership to install localhome
Use variable localhome to determines whether the localhome module is installed. Default: localhome=false Further changes: - Move pam-exec from common-auth to common-session - Move pam-mkhomedir before pam-mount to avoid double login on first use on localhome devices
This commit is contained in:
parent
3d01394820
commit
9f1c60eefd
8 changed files with 487 additions and 424 deletions
|
@ -17,6 +17,6 @@ ad_gpo_access_control = disabled
|
|||
ad_gpo_ignore_unreadable = True
|
||||
ad_maximum_machine_account_password_age = 0
|
||||
ignore_group_members = True
|
||||
{% if 'localhome' in group_names %}
|
||||
{% if localhome is defined and localhome %}
|
||||
override_homedir = /home/%u
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue