techdrive
asked on
UNC paths question
I know this might be a basic silly question but kind of stuck here. I work in a single forest multi domain environment. What I am trying to accomplish is simply this. I would like to give access to users and then send them the UNC path. once they receive the unc path in an email I would like for them to be able to select the path as it will be a link and it open in internet explorer.
I am able to send the link as \\servername\share\folder however they receive something like cannot access the folder or invalid file. They have to go to start ---run and enter the server name. After entering the server name they can then access the share. I setup sharing on the shared folder as read and on the subfolder I grant them read list to that directory. Am I doing something wrong here.
I am able to send the link as \\servername\share\folder however they receive something like cannot access the folder or invalid file. They have to go to start ---run and enter the server name. After entering the server name they can then access the share. I setup sharing on the shared folder as read and on the subfolder I grant them read list to that directory. Am I doing something wrong here.
A timing issue maybe? Does it work if they click the link again after the first error message?
ASKER
No it does not work selecting the link at any point. \\servername\share\folder
Seems to be an authentication issue then. \\server is nothing else than \\server\ipc$, and uses the same authentication mechanism then \\server\share\folder. There is one exception: If the share connection is in "disconnected" state (because of idling), often only a click in Explorer succeeds in restoring it to "connected".
If I'm correct, the workaround only works for some time, e.g. half an hour, and needs to get repeated after that.
If I'm correct, the workaround only works for some time, e.g. half an hour, and needs to get repeated after that.
Make sure that you create the proper "share" permissions for the users (better that its a group that you then put the users in). Then also make sure you have set the appropriate "ntfs" permissions on the folders and files they require access to.
Scott
Scott
Have you added the file protocol, i. e. file:\\ before your UNC path?
Jackie Man is on the money. If using IE to open the link, it must have file:\\ in front.
I would also make sure that if you have any email protection software, it's not changing the link path.
I would also make sure that if you have any email protection software, it's not changing the link path.
ASKER
Jackie when you say proper protocol. I am assuming you are speaking of smb so it should be smb\\servername\sharename\ folder never heard of this but worth a try.
Hey techdrive,
It's by an Smb protocol, it's actually file:// but this only works in IE.
Example:
file://///servernane/share d folder/file.txt
It's by an Smb protocol, it's actually file:// but this only works in IE.
Example:
file://///servernane/share
ASKER
thanks will try
No problem.
Also, an email is an html document so if there are spaces in the name to the share, you will need to replace each space with a %20 to have it properly run as well.
Also, an email is an html document so if there are spaces in the name to the share, you will need to replace each space with a %20 to have it properly run as well.
ASKER
One last question. I understand that you need two forward slashes for http and ftp. However, am I correct according to your remarks that you need 5 of them for file ///// along with the colon.
Ive seen it work with 2,3, and 5 so you may need to test it on yourself.
what you can do is just copy it into an IE address bar and hit return, that will let you know if it is working properly.
what you can do is just copy it into an IE address bar and hit return, that will let you know if it is working properly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Two forward slashes only, please.
ASKER
You guys are awesome and I found this to confirm thank you thank you thank you
http://stackoverflow.com/questions/1369147/linking-a-unc-network-drive-on-an-html-page
http://stackoverflow.com/questions/1369147/linking-a-unc-network-drive-on-an-html-page
Glad to help!