summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/uid.c b/source/smbd/uid.c
index c3156b7b14c..1946078d6e1 100644
--- a/source/smbd/uid.c
+++ b/source/smbd/uid.c
@@ -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",