diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-28 19:55:31 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-28 23:38:45 +0200 |
commit | 5712e5199ec0231c241f0d0ca02f477d05892bb7 (patch) | |
tree | a2d21cff3c1b0d51d826c5ca1096502c70dea431 /source3/winbindd | |
parent | 4a28c6ca7cd97535596dd93741689ff17bb1c395 (diff) | |
download | samba-5712e5199ec0231c241f0d0ca02f477d05892bb7.tar.gz samba-5712e5199ec0231c241f0d0ca02f477d05892bb7.tar.bz2 samba-5712e5199ec0231c241f0d0ca02f477d05892bb7.zip |
s3: Remove a SMB_ASSERT
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sat Apr 28 23:38:45 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/wb_lookupsids.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/winbindd/wb_lookupsids.c b/source3/winbindd/wb_lookupsids.c index ae815ce067..b050bd0698 100644 --- a/source3/winbindd/wb_lookupsids.c +++ b/source3/winbindd/wb_lookupsids.c @@ -645,7 +645,11 @@ NTSTATUS wb_lookupsids_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, * if not we have a bug in the code! * */ - SMB_ASSERT(state->res_names->count == state->num_sids); + if (state->res_names->count != state->num_sids) { + DEBUG(0, ("res_names->count = %d, expected %d\n", + state->res_names->count, state->num_sids)); + return NT_STATUS_INTERNAL_ERROR; + } /* * Not strictly needed, but it might make debugging in the callers |