[Samba] Home directory on linux client of Samba4 domain

Rowland Penny rowlandpenny at googlemail.com
Tue Oct 14 12:07:07 MDT 2014


On 14/10/14 18:40, steve wrote:
> On 14/10/14 19:19, dnl wrote:
>> Hi
>>
>> I have been trying to allow all domain users to log onto a Ubuntu client
>> that is joined to a Samba 4 domain, and have that basic functionality.
>> However, this does not give each domain user their own home directory,
>> even when using pam_mkhomedir.so, because the home directory, returned
>> by getpwnam, is the root directory.
>>
>> I am now stuck, so would be grateful for any guidance. I have used the
>> realm package, rather than PBIS (likewise-open).
>>
> Hi
> Un-join the domain with Likewise, add the unixHomeDirectory attribute 
> to your domain users wherever you want their home directory to reside.
> If all your users have a folder in a certain pattern, it may be 
> possible to use one configuration for them all. Join the domain with a 
> correctly configured smb.conf. Then there's a choice of how to 
> retrieve the nss information. We can then help you.
> Needinfo.
> HTH,
> Steve
>
Hi Steve, the OP ****didn't** use likewiseopen, but I agree with you, he 
needs to set samba up correctly, use the rfc2307 attributes and un-join 
& re-join the domain.

Rowland



More information about the samba mailing list