summaryrefslogtreecommitdiff
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
commit85d7e70d1fd5c69252310c22c60f9974cd392142 (patch)
treeb0d647c0c8325c5081231b296aafbe3767aecc0b
parent08a0230855602f47b7403e30ba36d74d3e595118 (diff)
downloadsamba-85d7e70d1fd5c69252310c22c60f9974cd392142.tar.gz
samba-85d7e70d1fd5c69252310c22c60f9974cd392142.tar.bz2
samba-85d7e70d1fd5c69252310c22c60f9974cd392142.zip
fixed mapping of SIDs for local users
(This used to be commit df9e345366078ccaa94df7c2f2e33b292605e88a)
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index c3156b7b14..1946078d6e 100644
--- a/source3/smbd/uid.c
+++ b/source3/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",