Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 6 Jun 2008 16:43:06 +0200,    group: microsoft.public.platformsdk.win_base_svcs        back       


LookupAccountName() fails with "Access Denied" in some very specific cases only   
On SOME of our domain hosts ONLY, when a process running on machine under 
the system account (during a boot-time GPO) asks the DC for the SID for the 
computer's account (i.e., DOMAIN\HOSTNAME$) using the LookupAccountName() 
API, this fails with error 5, i.e. "Access Denied"...

(FWIW this LookupAccountName() call actually occurs within the invocation of 
SETACL.EXE)

Any clue?

If the answer is to switch to LsaLookupNames2(), where can I find sample C++ 
code to use that API (I'm especially worried about the "Policy Handle" 
stuff...)
date: Fri, 6 Jun 2008 16:43:06 +0200   author:   Stephane Barizien

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us