mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[SAMSRV] In SamrGetAliasMembership(), perform STATUS_OBJECT_NAME_NOT_FOUND status fixup in the assignment loop as done in the allocation loop.
This avoids this function returning failure while everything actually succeeded.
This commit is contained in:
parent
62384951c8
commit
cf56db2eb3
|
@ -3538,6 +3538,9 @@ TRACE("Open %S\n", MemberSidString);
|
|||
SampRegCloseKey(&MemberKeyHandle);
|
||||
}
|
||||
|
||||
if (Status == STATUS_OBJECT_NAME_NOT_FOUND)
|
||||
Status = STATUS_SUCCESS;
|
||||
|
||||
LocalFree(MemberSidString);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue