mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
another strequal() == 0 fix
(This used to be commit 464b410734c46bc55f2427e99ecf61bad7e3b244)
This commit is contained in:
parent
951e1aa851
commit
70e2f0944a
@ -292,7 +292,7 @@ BOOL map_name_to_wellknown_sid(DOM_SID *sid, enum SID_NAME_USE *use, const char
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (j=0; users[j].known_user_name != NULL; j++) {
|
for (j=0; users[j].known_user_name != NULL; j++) {
|
||||||
if (strequal(users[j].known_user_name, name) == 0) {
|
if ( strequal(users[j].known_user_name, name) ) {
|
||||||
sid_copy(sid, sid_name_map[i].sid);
|
sid_copy(sid, sid_name_map[i].sid);
|
||||||
sid_append_rid(sid, users[j].rid);
|
sid_append_rid(sid, users[j].rid);
|
||||||
*use = users[j].sid_name_use;
|
*use = users[j].sid_name_use;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user