LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Reading/Writting to Win Xp Pro Shares Via Redhat 8.0 (https://www.linuxquestions.org/questions/linux-newbie-8/reading-writting-to-win-xp-pro-shares-via-redhat-8-0-a-37438/)

KePSuX 12-05-2002 06:16 PM

Reading/Writting to Win Xp Pro Shares Via Redhat 8.0
 
Hi, i'm running Redhat 8.0 and looking for the best way to read and write from shares on a windows xp pro machine. There is no domain involved, just a simple username/password setup on the XP box. What is the best way to do this, or does anyone have any links to good documentation on this? Thanks alot.

Tinkster 12-05-2002 09:37 PM

Samba - smbmount

Cheers,
Tink

KePSuX 12-06-2002 09:49 PM

rad, this looks like its shooting me in the right direction. Am I assuming I have to install samba to get this command? Are there different packages of Samba to install? Does the windows XP machine need any aditional software added to it? Thanks alot.

Tinkster 12-08-2002 01:34 PM

You'll need sambainstalled :)

Choose a recent RPM for your distro, or the
source tarball from samba.org ...

Windows (any version greater 3.11) speaks
TCP/Beui as a native tongue, so you don't
need additional software there ...

Because of different key-handling (secutiry,
password encryption) you'll need to modify
the registry (apparently, or at least that's what
I understood from one of the threads in
networking - I don't use the evil thing ;})

http://linuxgod.windowsxp.nu/Samba.php

HIH ...


Cheers,
Tink

KePSuX 12-09-2002 10:50 AM

ok, i got samba installed, its working...half way. THe windows box sees the linux box, and can read/write to the shared directory i specified. I cant get the linux box to mount to the widows share. When i try to use the smbmount or smbmnt commands it says "-bash: smbmount: command not found" so im assuming they did not install?

when i use the mount -t smbfs //share/name /mount/point its giving me a:

mount: wrong fs type, bad option, bad superblock on //192.168.1.2/audio,
or too many mounted file systems

error. any ideas? I know im just goofing something silly up here. Thanks alot!

Tinkster 12-09-2002 01:05 PM

My wild guess is that you are trying to run
smbmount as a normal user? Unfortunately
the location of smbmount varies with distros ...

try "locate smbmount" and check whether
the command is in your searchpath.

Also, check whether you have smb support
compiled into your kernel, either as a module
or "hard-wired" :)

HIH

Cheers,
Tink

KePSuX 12-09-2002 10:27 PM

as for the user idea, when mounting file systems, do i need to be logged in as root? If i do, how would i go about configuring the mount to become present when anyone logged in, or give all users the ability to establish the mount?

how do i find out if its included with my kernel? Is there a command that will show me, or do i need to check my kernel version against some sort of documentation?

when i run a search for smbmount or smbmnt it comes up with nothing. In X, and at the terminal.

thanks again.

Penguin Dropout 12-11-2002 12:24 PM

first off, if u read the man page on the smbmount, it gives the option to include a username and password with -o option. Unless u set up windows XP to allow guests, us should have to enter a valid username from your XP box. In terms of allowing users to mount the files system, u would need to add it to /etc/fstab, with the option user. I would suggest reading the man pages on mount, and on fstab, and smbmount. with these three tools u will be able to set this up. I am also using redhat 8.0 and I found that smbmount was installed as part of the base install, so I think it should be there. I just got this working about 2 days ago with a win2k box, so I am thinking it can't be much different, and oh btw I'm in VA beach :D

granny 12-11-2002 12:32 PM

Hey KepSux, I'm with you in the n00b boat, but I would ask if the SMB client is installed? Not sure if this is needed to mount from a linux box to a windows box, maybe one of the other posters could verify whether or not this is true.


All times are GMT -5. The time now is 07:40 AM.