[rt.cpan.org #49081] GetUNCName() doesn' t return Windows UNC path in VirtualBox

[email protected] ("Jan Dubois via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Thu Aug 27 20:51:11 2009: Request 49081 was acted upon.
Transaction: Ticket created by JDB
       Queue: Win32-NetResource
     Subject: GetUNCName() doesn' t return Windows UNC path in VirtualBox
   Broken in: (no value)
    Severity: Normal
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=49081 >


This bug has been reported to the ActivePerl bug database at

http://bugs.activestate.com/show_bug.cgi?id=84368

Check for original attachment over there!

When you call Win32::NetResource::GetUNCName() from within VirtualBox
v3.0.4,
which should return the UNC name when it is given a network drive letter, it
fails!!

What is the expected output? 
C:\>net use z: \\winserver\install /user:test
C:\>Z:\testunc2.pl Calling GetUNCName z: 
success $ret = \\pcserver\homes

What do you see instead?
C:\>net use z: \\winserver\install /user:test
C:\>Z:\testunc2.pl Calling GetUNCName z: 
$ret = Unable to GetUNCName for z:: The network name cannot be found at
z:\testunc2.pl line 21.

Steps to reproduce this bug:
1. mount windows share to z:
2. run test code
3. 


Please provide any additional information below.

I have open a bug ticket with VirtualBox

http://www.virtualbox.org/ticket/4853
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.