in reply to Re^3: How to log on to windows server?
in thread How to log on to windows server?

++ for the interesting link!

Due to the lack of responses on this, I will tackle it using the "net use" method. I was just hoping for something nice like:

if ( $nt->login($server,$name,$pass) ) { # do things $nt->logout(); } else { report("Failed logging in to $server: " . $nt->errmsg); }