[Samba] User home directory UID:GID incorrect on VM Samba 4 AD client

steve steve at steve-ss.com
Tue Oct 22 03:28:28 MDT 2013


On Tue, 2013-10-22 at 10:24 +0200, steve wrote:

Sorry. Cancel that. I just realised that the VM is the DC:(

> 
> smb.conf
> remove:
> idmap_ldb:use rfc2307 = yes
> 
> and you need a keytab, so add:
> kerberos method = system keytab
> 
> before you do the rejoin below.
> 
> The rid db is wrong after the upgrade. Leave the domain, then delete all
> the tdb's (I think they're in /var/lib/samba on CentOS). Then rejoin.
> 
> I would _strongly_ advise switching to the ad backend and storing
> everything in the same place: AD. Problems like this then just go away.
> 
> If you really must use nfs then ignore the following:
> Now export using cifs:
> auto.home
> * -fstype=cifs,sec=krb5,multiuser,username=VMMACHINEKEY
> $ ://the.share.for.home/&
> 
> HTH
> Steve
> 
> 




More information about the samba mailing list