Re: Password change notifications on Domain controllers



Thanks for the reply Joe.

I just tried a test and I seem to be able to achieve what I want to using
the DLL on a single DC.

Following are the steps I followed:

1. Created a domain with two domain controllers; DC1 and DC2
2. The Password filter DLL was only present on DC1.
3. Disconnected DC1 from the domain, to simulate the scenario where a user
logs on and changes their password on a DC that does not have the password
filter installed.
4. On the Client PC logged onto the domain.
5. Changed the users password
6. Confirmed that the user's password was successfully changed on DC2.
7. Re-added DC1 onto the rontest.com domain to allow the users password
change to be replicated across to DC1.
8. Disconnected DC2 from the domain and logged on the domain on the client
PC with the new password, this was to confirm that the new password value was
replicated to DC1.
9. My 'PasswordChangeNotify' routine of the password filter DLL was invoked
(I confirmed this using some logging statements in the routine).

Any idea how this was possible in my case?

Thanks,
Tushar.




"Joe Richards [MVP]" wrote:

Nope. The code path that the filter gets invoked in is the password
set/change operation specifically when the clear text password is
available. Once that password is accepted and stored in the directory,
the replication will send over a hash and the password filter will not
be invoked because it is a simple attribute replication.

--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

http://www.joeware.net/win/ad3e.htm


Tushar wrote:
Hi,

I have a password filter DLL but do not want it to be installed on all the
domain controllers. Would it be possible for me to put the Password filter
DLL on only a single DC and still get it working?

I read on MSDN and it says that the password filter DLL should be present on
all the DCs. I think this requirement is only if we want the password value
to be filtered using the function 'PasswordFilter'.

But if I want only the 'PasswordChangeNotify' function to be invoked ( and
not to filter the passwords) when a password change is replicated to a DC,
then would it be possible if I install the DLL on only one DC? In this way,
even if the password is changed on any other DC, my notification function
will be invoked whenever a password change is replicated to the DC having my
DLL.

Could anyone please let me know if this is possible?

Thanks,
Tushar.


.



Relevant Pages

  • Re: ADAM internal error when creating account
    ... I did have a custom password filter ... DLL or OCX for ADAM to work? ... Microsoft password complexity DLL? ... >>It fails to validate password policy. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Password Filter implementation
    ... Do you have to have the SDK to implement passfilt.dll? ... > 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: ...
    (microsoft.public.platformsdk.security)
  • Re: How to create a custom passfilt.dll for Windows 2003 Domain Co
    ... and register the custom dll on each DC & disable using complexity in the GPO. ... custompassfilt.dll for Windows 2003 domain controllers. ... I did fine in one forum that the information could be found in Microsoft ... Passfilt.dll is Microsoft's implementation of a password filter. ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to create a custom passfilt.dll for Windows 2003 Domain Co
    ... and register the custom dll on each DC & disable using complexity in ... custompassfilt.dll for Windows 2003 domain controllers. ... server and doesn't have the sample code that the forum mention. ... Passfilt.dll is Microsoft's implementation of a password filter. ...
    (microsoft.public.windows.server.active_directory)
  • Re: cannot create design master
    ... > required DLL. ... > and I think that for the first time I shall say die and give a ... Replication appears to be a "programer/administrator managed ... Are you selling multiple copies of the same application? ...
    (microsoft.public.access.replication)