[Samba] Winbind does not read uidNumber

Lars Hanke debian at lhanke.de
Mon Jun 30 01:56:45 MDT 2014

Working through the fresh checklist:

1. DC smb.conf:

my smb.conf also has "idmap_ldb:use rfc2307 = yes" and was provisioned 
with rfc2307. Is this a killer?

2. Client smb.conf:

looks good

3. Database check:

no gidNumber here, add gidNumber: 10000

retried on the client, still no users

4. check for local user

getent passwd | grep -i mgr has no hits on either machine. But to check 
for local entries probably

grep -i user /etc/passwd

is more appropriate.

5. uid and gid for the user entry

looks nice:

root at samba:/# ldbsearch -H /srv/files/private/sam.ldb sAMAccountName=mgr 
uid uidNumber gidNumber
# record 1
dn: CN=Lars LH. Hanke,CN=Users,DC=ad,DC=microsult,DC=de
uid: mgr
uidNumber: 1001
gidNumber: 1999

5. keytab (double numbering!)

klist -k doesn't work, since Heimdal klist has no option -k. This is MIT 
syntax, if I recall correctly.

Okay, gotta leave. Will proceed this afternoon.

  - lars.

More information about the samba mailing list