mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +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:
@@ -3538,6 +3538,9 @@ TRACE("Open %S\n", MemberSidString);
|
||||
SampRegCloseKey(&MemberKeyHandle);
|
||||
}
|
||||
|
||||
if (Status == STATUS_OBJECT_NAME_NOT_FOUND)
|
||||
Status = STATUS_SUCCESS;
|
||||
|
||||
LocalFree(MemberSidString);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user