diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-24 17:40:35 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-24 17:40:35 -0800 |
commit | 4ee9d715a01b3770707b11561cc10798aba790ca (patch) | |
tree | ed17ffc7cf36ec68a7cbe7eb013d42f96e19474c /source3/nsswitch/libwbclient/wbc_sid.c | |
parent | 76e5c1f79a5dba8d2b4234f603e562cdd522ffde (diff) | |
download | samba-4ee9d715a01b3770707b11561cc10798aba790ca.tar.gz samba-4ee9d715a01b3770707b11561cc10798aba790ca.tar.bz2 samba-4ee9d715a01b3770707b11561cc10798aba790ca.zip |
Fix missing error check that caused crash when winbindd not running.
Jeremy.
(This used to be commit f5ca241e2c1adf2ae836fae33a4adac916f46416)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbc_sid.c')
-rw-r--r-- | source3/nsswitch/libwbclient/wbc_sid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_sid.c b/source3/nsswitch/libwbclient/wbc_sid.c index abe1457cc1..f5f553c4c6 100644 --- a/source3/nsswitch/libwbclient/wbc_sid.c +++ b/source3/nsswitch/libwbclient/wbc_sid.c @@ -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); |