[Samba] Unable to set up home share correctly

Rowland Penny rpenny at samba.org
Thu Oct 13 14:53:46 UTC 2016


On Thu, 13 Oct 2016 16:22:47 +0200
Udo Willke via samba <samba at lists.samba.org> wrote:

> Hello Rowland,
> 
> I have removed the rfc2307-IDs now. I guess going to the "Unix 
> Attributes" tab in ADUC and setting "NIS Domain" to "none" is
> sufficient?

No, it should show your domain name.

> 
> Checking the getent commands:
> 
> root at fileserver:/var/log/samba# getent passwd | grep ^MYDOMAIN
> MYDOMAIN\kbanre:*:10003:10001:XXXXXXXXXX:/var/share/samba/homes/kbanre:/bin/sh
> MYDOMAIN\kbmamu:*:10004:10001:Max 
> Mustermann:/var/share/samba//homes/kbmamu:/bin/sh
> MYDOMAIN\kbudwi:*:10002:10001:Udo 
> Willke:/var/share/samba/homes/kbudwi:/bin/sh
> 
> root at fileserver:/var/log/samba# getent group | grep ^MYDOMAIN
> MYDOMAIN\domain admins:x:10000:
> MYDOMAIN\domain users:x:10001:
> MYDOMAIN\workgroup-1:x:10010:
> 
> Does this look good?

Yes

> 
> Should I recreate the /var/share/samba/homes directory? The owner
> with UID 10000 is not known to Linux now:

Probably easiest, as long as the old dirs don't contain anything you
need.

> 
> root at fileserver:~# getfacl /var/share/samba/homes/
> getfacl: Removing leading '/' from absolute path names
> # file: var/share/samba/homes/
> # owner: 10000
> # group: MYDOMAIN\134domain\040admins
> 
> ....
> 
> Apart from that: Still no home folders, even not able to create them 
> manually. All the initial symptoms persist :-(
>

Altering the PAM config should create the home dirs as the users
connect, but why are you putting them in /var ??
What is wrong with /home/DOMAIN/%U

Rowland
 



More information about the samba mailing list