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:
parent
f8584a4758
commit
954593bd41
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user