diff options
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 6ae08cc1ac..d0a59b0cbe 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -268,8 +268,13 @@ static void trustdom_recv(void *private_data, BOOL success) *q = '\0'; if (!string_to_sid(&sid, sidstr)) { - DEBUG(0, ("Got invalid trustdom response\n")); - break; + /* Allow NULL sid for sibling domains */ + if ( strcmp(sidstr,"S-0-0") == 0) { + sid_copy( &sid, &global_sid_NULL); + } else { + DEBUG(0, ("Got invalid trustdom response\n")); + break; + } } if (find_domain_from_name_noinit(p) == NULL) { |