aa3f10c was not complete in the sense that it did not fully cover some
conditions that led to invalid domains in the winbind parent
#include "includes.h"
#include "winbindd.h"
+#include "libcli/security/dom_sid.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
if (trusts.array[i].sid == NULL) {
continue;
}
+ if (dom_sid_equal(trusts.array[i].sid, &global_sid_NULL)) {
+ continue;
+ }
extra_data = talloc_asprintf_append_buffer(
extra_data, "%s\\%s\\%s\n",