This can and does cause crashes as multiple conflicting sets of callbacks run on
memory that may have been destroyed.
Andrew Bartlett
- we're looking for only one at the moment */
if (s->lookup.out.rids->count == 0) {
composite_error(c, NT_STATUS_NO_SUCH_USER);
+ return;
}
/* TODO: find proper status code for more than one rid found */
/* did everything go fine ? */
if (!NT_STATUS_IS_OK(s->samrclose.out.result)) {
composite_error(c, s->samrclose.out.result);
+ return;
}
composite_done(c);
- we're looking for only one at the moment */
if (s->lookup.out.rids->count == 0) {
composite_error(c, NT_STATUS_NO_SUCH_USER);
+ return;
}
/* TODO: find proper status code for more than one rid found */