1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

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 commit is contained in:
Volker Lendecke
2005-04-30 13:21:13 +00:00
committed by Gerald (Jerry) Carter
parent 60325ab128
commit f6e2730510

View File

@ -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); status = lookup_name(dom_name, user, &sid, &name_type);
} }
#if 0 /* This is not true. */
if (name_type == SID_NAME_WKN_GRP) { if (name_type == SID_NAME_WKN_GRP) {
/* BUILTIN aliases are still aliases :-) */ /* BUILTIN aliases are still aliases :-) */
name_type = SID_NAME_ALIAS; name_type = SID_NAME_ALIAS;
} }
#endif
DEBUG(5, ("init_lsa_rid2s: %s\n", status ? "found" : DEBUG(5, ("init_lsa_rid2s: %s\n", status ? "found" :
"not found")); "not found"));