1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r18938: fixed a group map bug reported by Jerry. The caller in mapping.c

relies on appending to this list. Unfortunately this can't be tested
using 'net groupmap'
This commit is contained in:
Andrew Tridgell 2006-09-27 03:29:38 +00:00 committed by Gerald (Jerry) Carter
parent a36de910d2
commit a8d398edf0

View File

@ -389,14 +389,11 @@ failed:
struct ldb_result *res=NULL;
fstring string_sid;
NTSTATUS status = NT_STATUS_INTERNAL_DB_CORRUPTION;
if (!init_group_mapping()) {
return NT_STATUS_ACCESS_DENIED;
}
*sids = NULL;
*num = 0;
if (!sid_to_string(string_sid, member)) {
return NT_STATUS_INVALID_PARAMETER;
}