Koozali.org: home of the SME Server

Mapping an xp drive

Dr_pepper_X

Mapping an xp drive
« on: June 24, 2002, 09:50:12 PM »
Can someone give me step by step proccess on how to map a XP shared drive to the server so I can set the ftp server to use that directory due to my server having limited hard drive space

Nathan Fowler

Re: Mapping an xp drive
« Reply #1 on: June 24, 2002, 11:25:35 PM »
From a command prompt:

NET USE * \\ /user: /persistent:YES

Dr_pepper_X

Re: Mapping an xp drive
« Reply #2 on: June 24, 2002, 11:55:05 PM »
I think I misworded my question.  I want to be able to see a shared folder on my windows machine throught my server.  I want to be able to have users ftp to a folder on my xp though a mapping on the server.

Nathan Fowler

Re: Mapping an xp drive
« Reply #3 on: June 24, 2002, 11:58:26 PM »
Right, that's how you would do it.  It will assign a local drive letter, lets say X: to that share.  Then, when you setup your FTP server on your XP (yuck) box, you would point the ftp root to X:

Bill Talcott

Re: Mapping an xp drive
« Reply #4 on: June 25, 2002, 12:40:27 AM »
He wants to have his XP hard drive show up in SME's FTP server. The equivalent of running "NET USE \XP_PC\SharedFolder X:" on the SME... If this is possible, I could find it handy too...

Nathan Fowler

Re: Mapping an xp drive
« Reply #5 on: June 25, 2002, 12:47:31 AM »
Oh!  The complete reverse of what I was thinking.

You should be able to do that with mount.

mount -t smbfs -o username=,password= //192.168.0.15/myshare

See /usr/bin/smbmount for more information.



Nathan

Nathan Fowler

Re: Mapping an xp drive
« Reply #6 on: June 25, 2002, 12:51:03 AM »
Note the first message was using mount, you can use mount, or call smbmount directly.  A piece of advice, if you are calling smbmount to attach to \192.168.0.15\myshare then you would issue the following command:

smbmount \192.168.0.15\myshare /mnt/XPbox -o username=,password=,rw

Notice that every backslash is doubled.  This is necessary.

Nathan

Ian

Re: Mapping an xp drive
« Reply #7 on: June 25, 2002, 02:41:58 AM »
i tried waht you said and this is what I got


[root]  smbmount \169.254.77.66\ftp /mnt/XPbox -- o

Could not resolve mount point /mnt/XPbox

can you help me

Terry Brummell

Re: Mapping an xp drive
« Reply #8 on: June 25, 2002, 02:49:16 AM »
Did you create "/mnt/XPbox" on your server?  Or you can change that to something like "/home/e-smith/files/ibays/ibay_name/files".

Hope that helped...