diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-26 17:41:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-26 17:41:06 +0000 |
commit | 990b8e5f7fbf965e9905514ac4e96ecb4539d38e (patch) | |
tree | 5ea2bbea0f71ee6348bfda23d3f52c1c0452a243 /source3 | |
parent | bdb98d93f2dcc47fcc713ce54c111f387572691d (diff) | |
download | samba-990b8e5f7fbf965e9905514ac4e96ecb4539d38e.tar.gz samba-990b8e5f7fbf965e9905514ac4e96ecb4539d38e.tar.bz2 samba-990b8e5f7fbf965e9905514ac4e96ecb4539d38e.zip |
Fixed display of "Everyone" in SD's.
Jeremy.
(This used to be commit 3c7fdaa576c09dab2e4de78ed353b1fa1d65a40d)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_lsa.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |