[Samba] Bug with winbindd

Joffrey AUDIN jaudin at adista.fr
Thu Apr 3 02:24:04 MDT 2014


Hi,

I have a Windows 2012R2 Domain controller and a FreeBSD 10.0 domain member.
I can join the domain.
All this command are ok and have no error :
Wbinfo -u
Wbinfo -g
Wbinfo -t
Wbinfo -S
Wbinfo -n
Wbinfo -Y

But one fails :
wbinfo  -i administrator
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user administrator

I try to connect with ssh to the server with an domain account but it fails too.

I set the log level to 10 and I see that :

[2014/04/03 10:20:44.502210, 10, pid=1223, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/wb_sids2xids.c:95(wb_sids2xids_send)
  SID 0: S-1-5-21-504852097-2741213702-4166728410-500
[2014/04/03 10:20:44.502290, 10, pid=1223, effective(0, 0), real(0, 0)] ../source3/lib/idmap_cache.c:56(idmap_cache_find_sid2unixid)
  Parsing value for key [IDMAP/SID2XID/S-1-5-21-504852097-2741213702-4166728410-500]: value=[70003:U]
[2014/04/03 10:20:44.502335, 10, pid=1223, effective(0, 0), real(0, 0)] ../source3/lib/idmap_cache.c:75(idmap_cache_find_sid2unixid)
  Parsing value for key [IDMAP/SID2XID/S-1-5-21-504852097-2741213702-4166728410-500]: id=[70003], endptr=[:U]
[2014/04/03 10:20:44.502388, 10, pid=1223, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_util.c:791(find_lookup_domain_from_sid)
  find_lookup_domain_from_sid(S-0-0)


Why the SID change from S-1-5-21-504852097-2741213702-4166728410-500 to S-0-0 ???
The lookup_domain_from_sid fails with a NT_STATUS_INVALID_PARAMETER


Can I have some help ?

Thanks you
--
Joffrey 



More information about the samba mailing list