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:
nbenedek authored and Sunil Mohan Adapa committed 2022-06-30 09:07:52 -07:00
1 parent 12f157071b
commit 35b50a2c71
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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()
+1 -1
View File
@@ -45,7 +45,7 @@ class UsersApp(app_module.App):
app_id = 'users'
_version = 3
_version = 4
can_be_disabled = False