Hi - I'm using the mk_homedir.so module to create user directories using samba 3.0.1 in a Windows 2000 PDC environment. The samba server is acting as a domain member. I'm wondering if there is a way to specify the location of the user's home directories other than under /home. I'd really like the user directories to be created under /home/users. Thanks.
On Wed, 2004-01-21 at 20:11, Geoff wrote:> Hi - I'm using the mk_homedir.so module to create user directories using > samba 3.0.1 in a Windows 2000 PDC environment. The samba server is > acting as a domain member. I'm wondering if there is a way to specify > the location of the user's home directories other than under /home. I'd > really like the user directories to be created under /home/users. >--- on most redhat systems... /etc/default/useradd can deal with this YMMV - your system, the scripts that you use to create a new user might not even look there if your system has a 'there' Craig
On Wed, 21 Jan 2004, Geoff wrote:> Hi - I'm using the mk_homedir.so module to create user directories using > samba 3.0.1 in a Windows 2000 PDC environment. The samba server is > acting as a domain member. I'm wondering if there is a way to specify > the location of the user's home directories other than under /home. I'd > really like the user directories to be created under /home/users. >If you're using Winbind (you don't say), just edit 'template homedi' (at least, that's what it is on 2.2.x, can't remember now if it has changed. pam_mkhomedir will just make the directory returned with 'getent passwd username'. Regards, Buchan