NetUserGetGroups inside passfilt.dll

From: Robert N Myhre (RobertNMyhre_at_discussions.microsoft.com)
Date: 05/31/05


Date: Mon, 30 May 2005 16:11:02 -0700

Hello,

  I am working on a customized passfilt.dll and I want to be able to check
the user groups of the passed in AccountName. I implemented the function to
call NetUserGetGroups successfully within a console app, but when I move the
code inside the passfilt.dll, a call to change the password locks up.

  I am beginning to think it is a security context issue. What do I need to
do to get the NetUserGetGroups call to work within the passfilt.dll?

Thanks