[NETAPI32]

NetUserDel: Return the proper error code if no user could be found.

svn path=/trunk/; revision=60182
This commit is contained in:
Eric Kohl 2013-09-17 19:55:19 +00:00
parent 86ec9a3cc3
commit e44be02d25

View file

@ -2350,7 +2350,7 @@ NetUserDel(LPCWSTR servername,
{
ERR("OpenUserByName failed (ApiStatus %lu)\n", ApiStatus);
if (ApiStatus == ERROR_NONE_MAPPED)
ApiStatus = NERR_GroupNotFound;
ApiStatus = NERR_UserNotFound;
goto done;
}
}