From 7a65924133431a45cf3b80f06b741f17d4f729c1 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Tue, 9 Feb 1999 22:13:20 +0000 Subject: Having Well-known Domain Groups ("Domain Admins/Guests/Users") returned under SID_NAME_ENUM 0x5 instead of 0x2 (Well-known group instead of Domain Group) was making it impossible to view these groups from USRMGR.EXE. (This used to be commit 3072044134eadbf46350b32c1ed0703681b0d590) --- source3/lib/util_pwdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/util_pwdb.c b/source3/lib/util_pwdb.c index 6a37f1bf74..495193e571 100644 --- a/source3/lib/util_pwdb.c +++ b/source3/lib/util_pwdb.c @@ -81,7 +81,7 @@ uint32 lookup_wk_group_name(const char *group_name, const char *domain, char *grp_name; int i = -1; /* start do loop at -1 */ uint32 rid; - (*type) = SID_NAME_WKN_GRP; + (*type) = SID_NAME_DOM_GRP; if (strequal(domain, global_sam_name)) { -- cgit