mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
users: create home directories for newly created users
Test I made: Created a few users, then appied the changes and rebooted FreedomBox. After reboot I created another user whose home directory could now be listed. Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
12f157071b
commit
35b50a2c71
@ -262,6 +262,7 @@ def configure_ldapscripts():
|
||||
aug.set('/files' + LDAPSCRIPTS_CONF + '/USUFFIX', '"ou=Users"')
|
||||
aug.set('/files' + LDAPSCRIPTS_CONF + '/GSUFFIX', '"ou=Groups"')
|
||||
aug.set('/files' + LDAPSCRIPTS_CONF + '/PASSWORDGEN', '"true"')
|
||||
aug.set('/files' + LDAPSCRIPTS_CONF + '/CREATEHOMES', '"yes"')
|
||||
aug.save()
|
||||
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ class UsersApp(app_module.App):
|
||||
|
||||
app_id = 'users'
|
||||
|
||||
_version = 3
|
||||
_version = 4
|
||||
|
||||
can_be_disabled = False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user