[Samba] Winbind troubles

Rowland Penny rowlandpenny at googlemail.com
Mon Jul 22 13:59:47 MDT 2013


/etc/nsswitch.conf setup correctly?


On 22 July 2013 20:52, Matthew Daubenspeck <matt at oddprocess.org> wrote:

> On Mon, Jul 22, 2013 at 08:41:09PM +0100, Rowland Penny wrote:
> >    Have you tried 'getent passwd username'
> >    Rowland
>
> root at srv2:~# getent passwd Administrator
> root at srv2:~# getent passwd user1
> root at srv2:~# getent passwd user2
> root at srv2:~# getent passwd user3
>
> No results. They are all there though:
>
> root at srv2:~# wbinfo -u
> administrator
> krbtgt
> guest
> user1
> user2
> user3
>
> Verified the uidNumber was set as well on the DC:
>
> # ldbsearch --url=/var/lib/samba/private/sam.ldb cn=user1|grep uidNumber
> uidNumber: 10000
> # ldbsearch --url=/var/lib/samba/private/sam.ldb cn=user1|grep gid
> gidNumber: 10000
>
>
> # ldbsearch --url=/var/lib/samba/private/sam.ldb cn=user2|grep uidNumber
> uidNumber: 10001
> # ldbsearch --url=/var/lib/samba/private/sam.ldb cn=user2|grep gid
> gidNumber: 10000
>
> etc.
>


More information about the samba mailing list