]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r6536: Jeremy, did you actually test this part of revision 801? I just tested that
authorVolker Lendecke <vlendec@samba.org>
Sat, 30 Apr 2005 13:21:13 +0000 (13:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:44 +0000 (10:56 -0500)
 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

source/rpc_server/srv_lsa_nt.c

index 5e949f0e63ff9db778b9ec215d6ef064a40d65d8..4d79589e59de7fd9fcb147ce373234ad0a97f311 100644 (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);
                }
 
-#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"));