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