Koozali.org: home of the SME Server

VPN - drive mapping - "not enough storage"

David Perkins

VPN - drive mapping - "not enough storage"
« on: November 17, 2003, 12:54:23 PM »
Whilst testing SME5.5's VPN capabilities, I got a colleague offsite, to create a VPN connection and try to map to a drive on my local network.  He received the response  "Connection failed, not enough storage", or words to that effect.

SME 5.5u2(3?) Gateway/PDC
running on a P133, 80Mb, 700Mb HDD free.

He was able to connect to the VPN and ping my Win2k machine, but when trying to map a drive he got the above storage error. He was running Win2k.  

Any ideas where this error comes from and how it can be resolved?

.nate

Re: VPN - drive mapping - "not enough storage"
« Reply #1 on: November 18, 2003, 09:01:49 PM »
I don’t know if this is what you want, but this is what I did:
 
I wanted to give users in a remote office read/write access to files and directories located on Windows 2000 machines inside my network.  
 
This process involves creating a Windows share.  Creating a mount point on e-smith for the samba share.  Add the appropriate entry into the fstab file.  Creating a secure ibay with a symbolic link to the mount point of the samba share.  Connect to the network via PPTP and open the ibay.

(example)

Step 1 - Create a share on the Windows machine.

Right Click the folder you want to share.
Select Properties. Select the “sharing” tab.  
Select “Share this folder”.
Give ‘Everyone’ read and write permissions.
Apply and save.
 
Step 2 - Create a mount point on e-smith.  

Logon as root and type:

mkdir /mnt/stuff


Step 3 - Edit the fstab file.

pico /etc/fstab

[add this line]

//winbox/stuff /mnt/stuff smbfs username=cat,password=food
 

Step 4 – Mount the share
 
Logon as root and type:

mount /mnt/stuff


Step 5 – Create an ibay
 
In the server manager create a new ibay (you can call it whatever you want.)
Now back at the command line, logged on as root, create a symbolic link from the ibay you just created to the mount point you created earlier.
 
ln –s /mnt/stuff
 
That’s it, you’re done!
 
When a user connects via PPTP they will be able to browse to the ibay and see and edit all the files and folders under the linked and mounted share.
 
Anyway, this works great for me.
 
.nate

David Perkins

Re: VPN - drive mapping - "not enough storage"
« Reply #2 on: November 19, 2003, 01:47:59 PM »
Thanks for that.  It seems a bit long-winded, should they/I be able to map any drive/folder on the network provided it's shared?

I suppose your method lets you vary the location of the storage whilst presenting the same interface/location to remote users.