× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tim,

You may want to talk to your admins about this. Since this is a Windows server, I'm making the assumption that your company is running on Active Directory. If they have configured a domain controller as a global catalog, you could hit that server via LDAPS (TCP/636) and change the password via LDAP. We have a CL program that calls a PHP program (via Pase). On the IBM i change password, we use an exit hook to call the CL. The CL program passes the username and password to the PHP program. Then the PHP program communicates with LDAPS to change the password on Active Directory. Yes, it's patch work and a bit crude, but it has served us well. The PHP program also email our IT staff if the password change is a success or failure. I would be willing to share the CL and PHP code. We used PHP because there were already libraries available to could communicate with LDAP, without writing our own communications handler.

We struggled with the same issue you guys are facing. I was even able to change the password via FTP on the Windows server. The problem with both FTP and Telnet is the communications is unencrypted/unsecured. With PHP via LDAPS, the communications was secure. Plus, it was a service that was already running on the Windows Server without having to enable additional services such as telnet and IIS/FTP.

I know this wasn't what you requested (via telnet), but thought I'd throw it out.

-JA-

Jason Aleski / IT Specialist

On 6/8/2016 7:53 AM, tim wrote:
I have to communicate with a windows 2012 server via telnet in order to change a network password. This is the only option i am given. Is there a way to automate such a process? I think i need to use sockets, but have never done this before.

Any suggestions or places to go to view samples?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.