Hi
O/S: Ubuntu 9.4.0-1ubuntu1~20.04.1
Zentyal: 7.0.5
I've seen a number of posts about this topic but haven't found one that answers the question yet? It seems to me it would be a fairly common requirement and therefore worth tackling.
My Zentyal server has a second drive; that second drive is mounted at /data and has a /shares subdirectory i.e. /data/shares. The shares directory is where I store my shared files (which are shared out to Windows clients). End-users will variously get an N, P, S, X and/or Z drive on their PC and for consistency's sake I would like to also put their home directories, 'H', in the /data/shares/ folder.
I've tried editing many .conf files plus useradd / adduser routines etc etc and, by amending shares.conf.mas, I have managed to persuade Windows clients to map H: to the /data/shares/username folders. However, I have to manually create those home directories (i.e. /data/shares/username) because no matter how I try, when adding new users using Zentyal webadmin the home folders are still added as /home/username !
Anyone any idea how I would force Zentyal to create new users' home folders as /data/shares/username?
Thanks