[Samba] Bug with winbindd

L.P.H. van Belle belle at bazuin.nl
Thu Apr 3 02:52:38 MDT 2014


Since i was already testing with winbind also.  

I experiance the same on the MEMBER server. 

wbinfo -D DOMAIN gives nice all info. 
wbinfo -i Administrator 
or 
wbinfo -i DOMAIN\Administrator 
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND

Did not work, BUT on my DC. ... 

i get :
wbinfo -i Administrator
INTERNAL\Administrator:*:0:100::/home/INTERNAL/Administrator:/bin/false

( the GID 100 is correct here i did modify that in my AD ) 


Greetz, 

louis

>-----Oorspronkelijk bericht-----
>Van: jaudin at adista.fr [mailto:samba-bounces at lists.samba.org] 
>Namens Joffrey AUDIN
>Verzonden: donderdag 3 april 2014 10:24
>Aan: 'samba at lists.samba.org'
>Onderwerp: [Samba] Bug with winbindd
>
>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 
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list