[Samba] Samba 4 Create User Home Dir??

Rowland Penny rowlandpenny at googlemail.com
Wed Nov 26 02:23:35 MST 2014


On 25/11/14 22:38, Greg Zartman wrote:
> On Tue, Nov 25, 2014 at 1:28 AM, Rowland Penny 
> <rowlandpenny at googlemail.com <mailto:rowlandpenny at googlemail.com>> wrote:
>
>     There is no mechanism to do what you want (as far as I know), you
>     need to create the user first, then create the users homedir. Only
>     potential problem that I can see, you want to do this on the AD DC
>     but winbind at the moment will not pull the users Unix homedir
>     from AD. You can either accept the default setting
>     '/home/%WORKGROUP%/%ACCOUNTNAME%' or set your own template in
>     smb.conf, but this will be the same for ALL users, you cannot have
>     different settings per user.
>
>
> This doesn't work anymore?  path = /home/e-smith/files/users/%S/home
>
> Greg

It does, but only on a member server or client, just **NOT** on the AD 
DC, I have a bug opened on 4.2rc2 (which has moved to winbindd instead 
of winbind) about this.

Rowland


More information about the samba mailing list