password filter -parameter mismatch

From: GTD (GTD_at_discussions.microsoft.com)
Date: 05/01/05


Date: Sat, 30 Apr 2005 17:01:02 -0700


 i have wrote a password filter dll in c++. When i try calling that dll from
vb6 it works fine. But when i am trying to install on domain controller i am
not getting the correct value for user name and password. I get only one
character as user name and password. Do i need to install any lib. on domain
controller?
My function parameter are as follows
BOOLEAN __stdcall PasswordFilter(
  PUNICODE_STRING AccountName,
  PUNICODE_STRING FullName,
  PUNICODE_STRING Password,
  BOOLEAN SetOperation
)

stru defination is typedef struct _LSA_UNICODE_STRING { USHORT Length;
USHORT MaximumLength; PWSTR Buffer;
} LSA_UNICODE_STRING, *PLSA_UNICODE_STRING, UNICODE_STRING, *PUNICODE_STRING;



Relevant Pages