[Samba] User friendly URLs to shares

David Meakins samba-list at judcom.nsw.gov.au
Fri May 1 01:10:21 GMT 2009


probably need to use at least the following

WScript.Network object to unmap existing network drives and to map new 
network drive. specifically the RemoveNetworkDrive and MapNetworkDrive 
methods.
http://msdn.microsoft.com/en-us/library/d16d7wbf(VS.85).aspx
http://msdn.microsoft.com/en-us/library/8kst88h6(VS.85).aspx

Shell.Application object to rename your new network drive to something sane.
http://msdn.microsoft.com/en-us/library/bb774094(VS.85).aspx

david

Jorgen Lundman wrote:
>
> That'd be perfectly acceptable, since user's navi already run on php 
> cluster. What magic is needed in the .vbs file?
>
> Lund
>
> David Meakins wrote:
>> alternatively create a php/asp/perl/something script on an internal 
>> web server that generates a vbs file based on a http get var, email a 
>> custom link to each user
>>
>> eg email the following link to user 'john.smith'
>> Dear john.smith, please click on the link below and save the 
>> resulting file to your desktop
>> http://internal.example.com/generate_script?username=john.smith
>>
>> and they get a file called "Connect to Share.vbs" that they can 
>> double click on
>>
>> david
>>
>> Michael Heydon wrote:
>>> Jorgen Lundman wrote:
>>>> possibly "save this to desktop and double click".
>>> vbscript, although a lot of mail servers will block it.
>>>
>>>
>>> *Michael Heydon - IT Administrator *
>>> michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>
>>>
>>
>>
>> -- 
>> | Judicial Commission of NSW | Ph: +61 2 9299 4421 | Fax: +61 2 9290 
>> 3194 |
>>
>> This Message is intended for the addressee named and may contain 
>> confidential information. If you are not the intended recipient, 
>> please delete it and notify the sender.
>>
>> Views expressed in this message are those of the individual sender 
>> and not necessarily the views of the Judicial Commission of NSW.
>>
>


--
| Judicial Commission of NSW | Ph: +61 2 9299 4421 | Fax: +61 2 9290 3194 |

This Message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender.

Views expressed in this message are those of the individual sender and not necessarily the views of the Judicial Commission of NSW.



More information about the samba mailing list