1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r17462: Fix a cut&paste bug that caused us to return a null SID on some error conditions

This commit is contained in:
Simo Sorce 2006-08-08 18:38:33 +00:00 committed by Gerald (Jerry) Carter
parent f8584a4758
commit 954593bd41

View File

@ -1595,6 +1595,12 @@ static void winbindd_gid2sid_recv(TALLOC_CTX *mem_ctx, BOOL success,
return;
}
if (response->result != WINBINDD_OK) {
DEBUG(5, ("gid2sid returned an error\n"));
cont(private_data, False, NULL);
return;
}
cont(private_data, True, response->data.sid.sid);
}