can't get "idmap backend = hash" to work with 3.3.0-rc1

erik sornes eriksornes at
Sat Dec 13 20:39:04 GMT 2008


We where planning on going in production with samba-3.3.0-rc1 on a fileserver next monday (!). We were relying on the new "idmap backend = hash" -feature, but we cannot get it to work.

I have in my smb.conf:

        idmap backend = hash
        idmap gid = 10000-4000000000
        idmap uid = 10000-4000000000

I join domain OK with "net ads join". (windows 2003R2 domain)
wbinfo -u/-g returns all users and  groups succesfully.

wbinfo -n <some ad-username> returns a SID successfully, but:
wbinfo -S <sid from above> returns:

Could not convert sid S-1-5-21-1100344877-3013322779-101495848-12755 to uid

Debuglevel 10 from log.windindd shows: 

[2008/12/13 21:32:13.101703, 10, pid=25866] winbindd/winbindd.c:process_request(403)
  process_request: request fn SID_TO_UID
[2008/12/13 21:32:13.101742,  3, pid=25866] winbindd/winbindd_sid.c:winbindd_sid_to_uid(229)
  [10745]: sid to uid S-1-5-21-1100344877-3013322779-101495848-12755
[2008/12/13 21:32:13.101812, 10, pid=25866] lib/gencache.c:gencache_get(208)
  Returning valid cache entry: key = IDMAP/SID2UID/S-1-5-21-1100344877-3013322779-101495848-12755, value = -1, timeout = Sat Dec 13 21:33:10 2008
[2008/12/13 21:32:13.101862, 10, pid=25866] winbindd/winbindd_sid.c:winbindd_sid_to_uid(240)
  idmap_cache_find_sid2uid found -1
[2008/12/13 21:32:13.101898, 10, pid=25866] winbindd/winbindd_sid.c:winbindd_sid_to_uid(246)
  Returning negative cache entry

I didn't post a bug report, because I couldn't find samba-3.3 on the drop-downlist when entering a bug. Is this a bug or have I misunderstood the smb.conf-entries for idmap_hash?

-kind regards

Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og

More information about the samba-technical mailing list