Firstly, you have to have access to a VM or LINUX machine to create a share in Samba (I was using Samba 4.2.6 for reference running on Centos 7 Hyper-V VM). The addressable UNC share in the following format \\severname\sharename for Windows.
The trick and bug in Windows Explorer is the share is on the upper boundary length of 255 characters for \\severname\sharename name.
This example share has a length of 254 characters.
\\aaabbbcccdddeeefff\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So with that you can map the drive from cmd line using "NET USE" cmd below and use Map Network Drive in Windows Explorer to map drive J: to above path.
So the results is the ghost drive mapping share
The trick and bug in Windows Explorer is the share is on the upper boundary length of 255 characters for \\severname\sharename name.
This example share has a length of 254 characters.
\\aaabbbcccdddeeefff\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So with that you can map the drive from cmd line using "NET USE" cmd below and use Map Network Drive in Windows Explorer to map drive J: to above path.
net use J: \\aaabbbcccdddeeefff\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
So the results is the ghost drive mapping share
Note: H:\ is longer than BIOS Servername limit of 15 characters and works. |
No comments:
Post a Comment