Re: Password Filter implementation

From: Jon LaBarge (jonlabarge_at_comcast.net)
Date: 09/12/05


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
>



Relevant Pages

  • Re: SharePoint Namespaces
    ... WSS SDK and I have no clue what that even did. ... Microsoft.SharePoint.dll and it was not present on my local machine. ... "dll was loaded, but the DLLRegisterServer entry point was not found. ... You may install WSS or SPS SDK on your development computer and this ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Embedded Visual C++ 4 Installation
    ... PPC 2003 SDK. ... 1)I need some guidelines to make a DLL for PPC2003. ... >> Please install at least one CE platform SDK before launching Microsoft ...
    (microsoft.public.pocketpc.developer)
  • Re: Calling type library dll NOT from project directory
    ... But this doesn't work because this SDK ... was created the way that this dll cannot be copied anywhere, ... unless it's residing not in project directory? ... Alex, most SDK's install to a certain folder so that they can keep headers, ...
    (microsoft.public.vc.mfc)
  • Re: Playing a video in vb.net using directshownet library?
    ... I think that's because you installed a recent DX SDK, ... older ones did not install MDX by default. ... Assembly is just a fancy way of saying DLL in the managed ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Password change notifications on Domain controllers
    ... Created a domain with two domain controllers; DC1 and DC2 ... The Password filter DLL was only present on DC1. ... be invoked because it is a simple attribute replication. ...
    (microsoft.public.platformsdk.security)