[Samba] change user home

Rowland Penny rowlandpenny at googlemail.com
Fri Nov 1 06:17:45 MDT 2013

On 01/11/13 12:06, L.P.H. van Belle wrote:
> Hai,
> 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
> 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.
> any hints?
> Louis
Is this on the server or a client? If it is the S4 server using winbind 
then you are stuck, the home directory path is hard coded and cannot be 
changed if you use winbind.

on the S4 server
getent passwd rowland
HOME\rowland:*:10000:100:Rowland Penny:/home/HOME/rowland:/bin/bash

on a Linux client using sssd


More information about the samba mailing list