samba problem on Linux and win98 sharing.

VeryLittleJ

Junior Member
Jul 14, 2000
16
0
0
I have a network between a WIN98 and a Linux Red Hat 6.2 (KDE workstation version).

I have just installed and setup the Samba. I believe the setup is correct so far because I can use smbmount to mount both win98 and linux directory itself. (Of course, Linux mounts linux itself is a stupid move, but at least it shows it is working.)

My problem is actually from the win98. When i open explorer in win98, inside Network neighborhood, i can find the linux box, named "RH62". When i click on it, you popup a windows:

"You must supply a password to make this connection

Resource: \\RH62\IPC$

Password:
"

i need to put a password, but my problem is that i don't know what password i should put. I try to put root's password, blank, and some user's password, but I still couldn't get in. It didn't ask the username.
What password should i put? Is there any default password in the first time?

Thanks

 

fatboy

Senior member
Feb 27, 2000
271
0
0
Is this a personel network you are running from home? If so the easiest way around this is to disable the password from linux and also disable the login onto your windows box.

In windows:
1.Go to network properties
2.In the "Primary Network Logon" change it to "Windows Logon"
3.Reboot and no more logon name or password.


In linux:
1.Just add ";" to front of the password info in smb.conf


This how I got mine to work without the passwords. It is fine if you are only running a home system. Once I get the bugs worked out with Windows ME, which samba 2.0.6 does not work with, I am going to play more with the passwording of samba.
I do know that the password has to be the same on your windows machine as it does in your password file on your linux box under the samba.

This is also a great box that you can download for free that is all about Samba, http://www.oreilly.com/catalog/samba/index.html

Hope this helps you?
 

Workin'

Diamond Member
Jan 10, 2000
5,309
0
0
The username you use to log on to your Windows machine must be a valid username on your linux system. So if you log onto your Win box using the name "sam" and there is no user account named "sam" on your linux box you will get the error you see.

Also, on the linux box you need to set the samba password for the username you are using, for example at the linux command line do smbpasswd -a "username" - this password can be different or the same as the one used to log into linux.
 

VeryLittleJ

Junior Member
Jul 14, 2000
16
0
0
My network is a local network, so disabling password is perfectly fine for me.
In windows, i changed to "windows logon" already. However, it still asks for username and password when it start windows. And i cannot login with leaving username blank. Is that anything that i should setup too?

Thanks.

VLJ
 

fatboy

Senior member
Feb 27, 2000
271
0
0
I am sure you already have this in your setup but make sure it is also has "Client For Microsoft Networks" under installed network components. This should be the very first thing in your network configuration. This is the only thing I can think of that would cause you a problem. As long as you have the "Windows Logon" as your selection you should be good to go.
 

1KrazyFool

Senior member
Oct 10, 1999
323
0
0
When you get the windows login, put in your main linux user name (not root!) and your linux password. Hit OK a couple times and it'll never ask you again for that password. And it may be more to your benefit to setup samba with a correct username so you know how to do it. Just, as root, issue "smbpasswd linuxname -a". Use the same password as the windows/linux password, and your set to go.
 

VeryLittleJ

Junior Member
Jul 14, 2000
16
0
0
I successfully share the linux and win98. I put the username and password as 1KrazyFool said. Also, i enable the "share" for the directory in the smb.conf.
And finally, win98 can see all the shared directories.

Thanks everybody. :)

VLJ