On Mon, 22 Sep 2008, Jeffrey Wortner wrote:
> I am looking for a way to remotely change the password for hundreds of
> systems for security compliance reasons. Looking at using the
> PerlWin32 Netadmin UserChangePassword command. I have firewalls in
> place and need to know what port is used for this function to connect
> to the remote server and change the pw. Can someone please help?

The function is just a thin wrapper around the NetUserChangePassword()
Windows API:

    http://msdn.microsoft.com/en-us/library/aa370650.aspx

It will use whatever ports the Windows network functions are using to
do its work.  I would expect this to work automatically if you already
can connect to your remote domains over your firewalls.  And if you
don't have domain addressability across the firewalls, then I suspect
that this function won't help you either.

Cheers,
-Jan

Reply via email to