From 990b8e5f7fbf965e9905514ac4e96ecb4539d38e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 26 Jun 2000 17:41:06 +0000 Subject: Fixed display of "Everyone" in SD's. Jeremy. (This used to be commit 3c7fdaa576c09dab2e4de78ed353b1fa1d65a40d) --- source3/rpc_server/srv_lsa.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c index da8929bbc6..be617e071e 100644 --- a/source3/rpc_server/srv_lsa.c +++ b/source3/rpc_server/srv_lsa.c @@ -325,10 +325,14 @@ BOOL winbind_lookup_sid(DOM_SID *sid, fstring dom_name, fstring name, parse_domain_user(response.data.name.name, dom_name, name); *name_type = response.data.name.type; } else { + + DEBUG(10,("winbind_lookup_sid: winbind lookup for %s failed - trying builtin.\n", + sid_str)); + sid_copy(&tmp_sid, sid); sid_split_rid(&tmp_sid, &rid); return map_domain_sid_to_name(&tmp_sid, dom_name) && - lookup_local_rid(rid, name, name_type); + lookup_known_rid(&tmp_sid, rid, name, name_type); } return (result == WINBINDD_OK); -- cgit