[Samba] winbind: homeDirectory being ignored

Rowland Penny rowlandpenny at googlemail.com
Tue Jun 24 08:50:14 MDT 2014


On 24/06/14 15:22, Brian Candler wrote:
> > Because you have not added:
> > gidNumber: 1008
> > to the Domain Users object!
>
> As I said later in the mail, I *did* add gidNumber, and then after 
> that objectClass: posixGroup, and neither made a difference.
>
> root at dc1:~# ldapsearch -b 
> "CN=users,DC=adtest,DC=int,DC=example,DC=net" "(gidNumber=1008)" cn 
> objectclass gidNumber
> # extended LDIF
> #
> # LDAPv3
> # base <CN=users,DC=adtest,DC=int,DC=example,DC=net> with scope subtree
> # filter: (gidNumber=1008)
> # requesting: cn objectclass gidNumber
> #
>
> # Domain Users, Users, adtest.int.example.net
> dn: CN=Domain Users,CN=Users,DC=adtest,DC=int,DC=example,DC=net
> cn: Domain Users
> gidNumber: 1008
> objectClass: top
> objectClass: posixGroup
> objectClass: group
>
> # user8, Users, adtest.int.example.net
> dn: CN=user8,CN=Users,DC=adtest,DC=int,DC=example,DC=net
> cn: user8
> gidNumber: 1008
> objectClass: top
> objectClass: posixAccount
> objectClass: person
> objectClass: organizationalPerson
> objectClass: user
>
> And yet on the client machine:
>
> root at adclient:~# service winbind restart
> winbind stop/waiting
> winbind start/running, process 29104
>
> root at adclient:~# getent passwd user8
> user8:*:1008:70001:user8:/home/ADTEST/user8:/bin/bash
>
> What next?
>
OK, try 'net cache flush' on the client and try getent again.

Rowland



More information about the samba mailing list