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

fixed mapping of SIDs for local users

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 1aaa2091d5
commit df9e345366

View File

@ -631,7 +631,7 @@ BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype)
if (!winbind_sid_to_uid(puid, psid)) {
DEBUG(10,("sid_to_uid: winbind lookup for sid %s failed.\n",
sid_to_string(sid_str, psid) ));
return False;
return local_sid_to_uid(puid, psid, sidtype);
}
DEBUG(10,("sid_to_uid: winbindd %s -> %u\n",