From 32d55960b5417fbee1af5d82960e6c2da58ec8a2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 26 Jul 2007 03:50:24 +0000 Subject: r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815. - The icons in usermgr were incorrect, because the acct_flags were not filled in (due to missing attribute in ldb query) - The Full name was missing, and the description used as the full name (due to missing attributes in ldb query and incorrect IDL) To prove the correctness of these fixes, I added a substantial new test to RPC-SAMR-USERS, to ensure cross-consistancy between QueryDisplayInfo and QueryUserInfo on each user. This showed that for some reason, we must add ACB_NORMAL to the acct_flags on level 2 queries (for machine trust accounts)... Getting this right is important, because Samba3's RPC winbind methods uses these queries. Andrew Bartlett (This used to be commit 9475d94a61e36b3507e5fd2e6bb6f0667db4a607) --- source4/librpc/idl/samr.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/idl/samr.idl') diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index a9eee3d28a..479396d5c5 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -871,8 +871,8 @@ import "misc.idl", "lsa.idl", "security.idl"; uint32 rid; samr_AcctFlags acct_flags; lsa_String account_name; - lsa_String full_name; lsa_String description; + lsa_String full_name; } samr_DispEntryGeneral; typedef struct { -- cgit