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

For running under SYSTEM, you need null sessions to attach to network resources. For a nice introdution and discussion of null sessions see this paper, also naming this restriction on page 5.

Replies are listed 'Best First'.
Re^4: How to log on to windows server?
by noslenj123 (Scribe) on Feb 07, 2006 at 17:25 UTC
    ++ 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); }