Re: Password Filter implementation
From: Jon LaBarge (jonlabarge_at_comcast.net)
Date: 09/12/05
- Next message: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Previous message: WT: "Callback function to handle CRYPT_USER_PROTECTED action"
- In reply to: Amdi Nielsen: "Password Filter implementation"
- Next in thread: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Reply: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 12 Sep 2005 13:43:38 -0700
Here's a question...
Do you have to have the SDK to implement passfilt.dll? We're trying to
create our own complexity in W2K Serv and I keep readin all this stuff about
SDK...We don't have the SDK here. Can I do this without having it?
Jon
"Amdi Nielsen" <ani04@scan-soft.d_remove_k> wrote in message
news:%23DEdK9lsFHA.760@TK2MSFTNGP14.phx.gbl...
> Hi
>
> I want to create my own password filter, and I have tried to implement it
> in a DLL as specified by Microsoft.
> When I try to install the PassWord filter by:
> 1. Enabling Local Security "Password must meet complexity requirements".
> 2. Copy DLL "MyFilter.dll" to c:\Windows\System32
> 3. Adding name of filter "MyFilter" to "Notification Packages" in
> Registry.
> 4. Reboot computer
> the filter is not working - it dosn't seem to be installed at all.
>
> I have tried to create my own DLL from scratch, and I have tried several
> samples from the internet, but I allways had to make some changes to the
> code to make it compile. I also tried the old sample from MS.
>
> I have turned on auditing, and the problem seems to be that the DLL is
> "scanned" by LSASS, but it is not accepted, so the message
> "An notification package has been loaded by the Security
> Account Manager (SAM). This package will be notified of
> any account or password changes"
> never occurs in EventLog for my filter, but only for SCECLI.
>
> I tried to download and modify a sample implementation for Delphi, and
> strangely that implementation actually works and is accepted by LSASS. So
> it is not my installation steps that are wrong.
>
> I have checked my DLLs (compiled from C++ and Delphi) with PE Explorer and
> can se that they both seems to export the three functions:
> InitializeChangeNotify, PasswordChangeNotify and PasswordFilter correctly.
>
> I would prefer to develop my filter using C++ and VS2003, so I would very
> mych like if anybody have a complete sample project ready to download an
> compile, that will work. That way I can track down what I am missing.
> Or if anybody have an idea what the showstopper is.
>
> Best Regards
> aNielsen
>
- Next message: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Previous message: WT: "Callback function to handle CRYPT_USER_PROTECTED action"
- In reply to: Amdi Nielsen: "Password Filter implementation"
- Next in thread: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Reply: William DePalo [MVP VC++]: "Re: Password Filter implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|