summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-04-30 13:21:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:44 -0500
commit0838e604862b1415a85fa8b05350c40b92681183 (patch)
treec7fa26e38fba4820f89e85691cd57e975e84a72f
parentc6a35c356dc41334bb412934a1b15d37ce3bba4c (diff)
downloadsamba-0838e604862b1415a85fa8b05350c40b92681183.tar.gz
samba-0838e604862b1415a85fa8b05350c40b92681183.tar.bz2
samba-0838e604862b1415a85fa8b05350c40b92681183.zip
r6536: Jeremy, did you actually test this part of revision 801? I just tested that
Windows 2003 returns "4 (Local Group)" for rpcclient -c 'lookupnames "System Operators"' Before #ifdef'ing that out again I would like to see a sniff how you get a "5" (WKN_GRP) out of lsa_lookupnames. Volker (This used to be commit f6e27305101ab0c7e04e55b4905e91c19b31f9ef)
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 5e949f0e63..4d79589e59 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -173,12 +173,10 @@ static void init_lsa_rid2s(DOM_R_REF *ref, DOM_RID2 *rid2,
status = lookup_name(dom_name, user, &sid, &name_type);
}
-#if 0 /* This is not true. */
if (name_type == SID_NAME_WKN_GRP) {
/* BUILTIN aliases are still aliases :-) */
name_type = SID_NAME_ALIAS;
}
-#endif
DEBUG(5, ("init_lsa_rid2s: %s\n", status ? "found" :
"not found"));