1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Fix missing error check that caused crash when winbindd not running.

Jeremy.
This commit is contained in:
Jeremy Allison 2008-01-24 17:40:35 -08:00
parent c0d9732cf4
commit f5ca241e2c

View File

@ -355,6 +355,7 @@ wbcErr wbcLookupRids(struct wbcDomainSid *dom_sid,
&request,
&response);
talloc_free(ridlist);
BAIL_ON_WBC_ERROR(wbc_status);
domain_name = talloc_strdup(NULL, response.data.domain_name);
BAIL_ON_PTR_ERROR(domain_name, wbc_status);