summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-03-13 00:19:40 +0000
committerAndrew Tridgell <tridge@samba.org>2002-03-13 00:19:40 +0000
commitdf9e345366078ccaa94df7c2f2e33b292605e88a (patch)
treef9a902119c3ab7770e41c390c09d900e80c5e552
parent1aaa2091d54e7e50cf75927d658e57776792d6ae (diff)
downloadsamba-df9e345366078ccaa94df7c2f2e33b292605e88a.tar.gz
samba-df9e345366078ccaa94df7c2f2e33b292605e88a.tar.xz
samba-df9e345366078ccaa94df7c2f2e33b292605e88a.zip
fixed mapping of SIDs for local users
-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",