Script to login to Active Directory Domain
I have an application XYZ, it is LDAP aware. I mean users login to the application using their Active Directory domain user name and pasword.
I want to create a domain user account for instance Test, with password never expires, I need to make a script that simulates login to the domain, then schedule the script to run once every other 5 minutes.
Any help will be very much apprecitade.