A while ago I posted on here asking for help with authenicating into a server. The method I was presented with at that time work well for the time being. However, I have now started to run into more errors with this method, and it has in fact been failing at times. Currently I am using this to authenticate into the server.
qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log $ServerPassword /use +r:$username|; find( \&finddata, "\\\\$server\\c\$\\VoiceGenie\\mp\\logs\\" ) or warn + "Could not enter the specified path \\\\$server\\c\$\\VoiceGenie\\mp +\\logs\\.\n"; #Function that allows the use of File::Find. qx|net use \\\\$server\\C\$\\VoiceGenie\\mp\\log /D|;
The code I have that goes threw the file structure to locate the files works properly, as I have tested it on the my local system with no errors. I just have been having troubles reliably getting connected with remote servers so that I can traverse their files structure and open the log files I need to search. Any help would be greatly appreciated. Thank you. **Update: The errors I am recieving are initially a system error 55, this occurs even when the connection has been properly established and the code operates correctly. This is accompanied by an explanation of the error stating "The specified network resource or device is no longer available." Next The warn statement I have created displays. Along with another statement: "the network connection could not be found." This is not a warning that I have created.

In reply to Windows Server Authentication by brayk1990

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.