[Samba] change user home

Marc Muehlfeld samba at marc-muehlfeld.de
Fri Nov 1 06:14:40 MDT 2013


Hello Louis,

Am 01.11.2013 13:06, schrieb L.P.H. van Belle:
> Im trying to change the userhome folder, but im still not getting the path i want.
>
> getent passwd
> Administrator:x:0:100::/home/MATWS/Administrator:/bin/bash
> and i want
> Administrator:x:0:100::/home/users/Administrator:/bin/bash
>
>
> I did change the following.
> logon path = /home/samba/profiles
> logon home = /home/users

Logon path you need for NT4-style domains and logon home for Win9x 
clients. I guess this is not what you want.



> My server is samba 4.0.10 DC as member of Win2008R2 domain.
> and i did setup the user settings with the windows ad manager.

How are you retrieving the account information from your AD? Through 
winbind? Then have a look at the manpage for "template homedir". If you 
configure winbind to retrieve the information from AD "winbind nss info 
= rfc2307", then can define the location for each user individual in 
his/her account.



Please give some more information about your environment (Domain and the 
Samba member server) for providing better help.



Regards,
Marc



More information about the samba mailing list