[Samba] Winbind troubles

Matthew Daubenspeck matt at oddprocess.org
Mon Jul 22 13:52:38 MDT 2013


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