This is a discussion on newbie problems within the Linux Networking forums, part of the Linux Forums category; I hope who ever reads this has a stomach for dealing with the dense! I am trying to view the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I hope who ever reads this has a stomach for dealing with the dense!
I am trying to view the directory on several windows machines in order to transfer files to my Red Hat machine. The Red Hat box sees all the other machines fine but wants user name and password. Now here comes the dumb question! What must I do to the windows machines in order for get access to the drives for the ability to transfer files to the Linux box for some batch modification? Thanks in advance to anyone who give some advice. Ted |
|
|||
|
root wrote:
> What must I do to the windows machines in order for get access to the > drives for the ability to transfer files to the Linux box for some batch > modification? With each of your windows box, do folder options->view and unselect "use simple file sharing(recommended)". Recommended, my ass. Now, you must be able to access the drives of the windows machines, like \\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines are using FAT drives, or, your Linux kernel is compiled to handle NTFS as well. Now, you can mount the entire drives on to your linux box. But, it can be done only by using the login/password of an administrator account of the windows box. eg - this is how I mount my friend's windows box $ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the drive mounted(someone correct me if I'm wrong). This whole thing can be automated by adding entries to /etc/fstab so that the drives will be mounted at boot time itself. Hope this helps and hope you are not too dense :-) regards, GVK |
|
|||
|
Thanks so much for your help!
This is better than the tech support I get on the phone from the commercial software companies I am forced to deal with. Thanks so much Ted On Thu, 08 Jul 2004 01:01:24 +0530, GVK wrote: > root wrote: >> What must I do to the windows machines in order for get access to the >> drives for the ability to transfer files to the Linux box for some batch >> modification? > > With each of your windows box, do folder options->view and unselect > "use simple file sharing(recommended)". Recommended, my ass. Now, you > must be able to access the drives of the windows machines, like > \\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines > are using FAT drives, or, your Linux kernel is compiled to handle NTFS > as well. Now, you can mount the entire drives on to your linux box. But, > it can be done only by using the login/password of an administrator > account of the windows box. > > eg - this is how I mount my friend's windows box > > $ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf > > Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the > drive mounted(someone correct me if I'm wrong). > > This whole thing can be automated by adding entries to /etc/fstab so > that the drives will be mounted at boot time itself. > > Hope this helps and hope you are not too dense :-) > > regards, > GVK |
|
|||
|
On Thu, 08 Jul 2004 01:01:24 +0530,
GVK <vamsee_k@students.iiit.net> wrote: > root wrote: > > What must I do to the windows machines in order for get access to the > > drives for the ability to transfer files to the Linux box for some batch > > modification? > > With each of your windows box, do folder options->view and unselect > "use simple file sharing(recommended)". Recommended, my ass. Now, you > must be able to access the drives of the windows machines, like > \\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines > are using FAT drives, or, your Linux kernel is compiled to handle NTFS > as well. Now, you can mount the entire drives on to your linux box. But, > it can be done only by using the login/password of an administrator > account of the windows box. An administrator account isn't required to access user shares. (Not sure about Administartive shares as in your example.) Linux doesn't need to know how to access ntfs or even fat. When you access a network file system, you send a request to a remote machine, the remote machine then deals with that request (ignores it, issues an error, or sends the requested data.) At no time does machine A read machine B's disk. > > eg - this is how I mount my friend's windows box > > $ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf > > Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the > drive mounted(someone correct me if I'm wrong). You're wrong. Michael C. -- mcsuper5@usol.com http://mcsuper5.freeshell.org/ The only people who don't make mistakes are the ones that aren't doing anything. |
|
|||
|
Michael C. wrote:
>> On Thu, 08 Jul 2004 01:01:24 +0530, >> GVK <vamsee_k@students.iiit.net> wrote: >>With each of your windows box, do folder options->view and unselect >>"use simple file sharing(recommended)". Recommended, my ass. Now, you >>must be able to access the drives of the windows machines, like >>\\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines >>are using FAT drives, or, your Linux kernel is compiled to handle NTFS >>as well. Now, you can mount the entire drives on to your linux box. But, >>it can be done only by using the login/password of an administrator >>account of the windows box. >> root wrote: >> >>>What must I do to the windows machines in order for get access to the >>>drives for the ability to transfer files to the Linux box for some batch >>>modification? >> > An administrator account isn't required to access user shares. (Not sure > about Administartive shares as in your example.) > I wasn't talking about user shares. I was talking about administrative shares...c$,d$...I don't think you can mount them using a "limited account" or guest account. You must access them with an account with administrative powers. > Linux doesn't need to know how to access ntfs or even fat. When you > access a network file system, you send a request to a remote machine, > the remote machine then deals with that request (ignores it, issues an > error, or sends the requested data.) At no time does machine A read > machine B's disk. > Sorry, I was wrong here. One can mount even a NTFS share. Thanks for the correction. I tried a "locate *.mp3" expecting my mounted songs to show up, but they didn't...even after an updatedb. Thanks kinda proves that machine A does not read machine B's disk. > You're wrong. I gladly accept. regards, GVK |
![]() |
| Thread Tools | |
| Display Modes | |
|
|