LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File sharing between RH9 and 2000 (https://www.linuxquestions.org/questions/linux-newbie-8/file-sharing-between-rh9-and-2000-a-173184/)

novkhan 04-22-2004 01:00 AM

File sharing between RH9 and 2000
 
Goodday!

I have 2 PCs.
1 is a Redhat 9 ,
1 is a Window 2000.

i noe sharing files is possible between this 2 using Samba.
I tried googling but the steps but they are not detail enough!

Does anyone noe of any link , which is more detail!
Or is there anyone kind enough to drop me a Step by step thread!


Thankyou!

dimi 04-22-2004 01:16 AM

First of all u need to make sure ur two pcs can talk to each other. In other word they need to be on the same workgroup. On windows if you go to network neighbourhood can u see ur RedHat pc?

Assuming u can, and assuming u have install samba on RH9, samba config files are all in /etc/samba/ directory. Here there should be smb.conf file. To make ur RH machine part of the same workgroup, edit the line below on smb.conf

workgroup = what_ever_the_workgroup_name_here

Next is creating a samba user. To do this u need a file call smbpasswd and initially on RH this file is not available. So u change directory to /etc/samba/ and do 'touch smbpasswd' and then create a user by executing the following command

'smbpasswd -a username'

Here u'll be asked to enter the password twice. Once all that is done, just restart samba.

'/etc/init.d/smb restart'

and if u go back to the windows machine, u should be able to access the RH samba.

Think i didn't forget anything :-) anyways give it a go, let us know if it doesn't work.

Good luck
D

'touch smbpasswd'

Note this file needs to be in /etc/samba/. U also need to make

novkhan 04-25-2004 02:44 AM

Quote:

Originally posted by dimi
First of all u need to make sure ur two pcs can talk to each other. In other word they need to be on the same workgroup. On windows if you go to network neighbourhood can u see ur RedHat pc?

Assuming u can, and assuming u have install samba on RH9, samba config files are all in /etc/samba/ directory. Here there should be smb.conf file. To make ur RH machine part of the same workgroup, edit the line below on smb.conf

workgroup = what_ever_the_workgroup_name_here

Next is creating a samba user. To do this u need a file call smbpasswd and initially on RH this file is not available. So u change directory to /etc/samba/ and do 'touch smbpasswd' and then create a user by executing the following command

'smbpasswd -a username'

Here u'll be asked to enter the password twice. Once all that is done, just restart samba.

'/etc/init.d/smb restart'

and if u go back to the windows machine, u should be able to access the RH samba.

Think i didn't forget anything :-) anyways give it a go, let us know if it doesn't work.

Good luck
D

'touch smbpasswd'
Note this file needs to be in /etc/samba/. U also need to make

Thanks.
My WIN2000 can access the RH9 shares now.

But there is one more problem.
I tried to put my Root folder from RH9 to share .
I used my win 2000 to access the folder ,
i get a message " \\Localhost\root is not accessible. The netwoek name cannot be found"

But the strange is that i can access RH9 CDROM folder from WINDOWS!

i wonder if my Samba setting is set right!
But my CDROM settings from Samba is exactly the same as ROOT settings.
The Samba settings is displayed below.

Base Options:
path: /root

Security Options:
guest account :nobody
read only:Yes
guest ok: No

Browse Options
Browseble :Yes

Miscellaneous Options
Available: Yes


All times are GMT -5. The time now is 06:13 PM.