Click to See Complete Forum and Search --> : Samba problems
I have RH 6.2, and I'm having problems trying to get Samba to work. I checked out smb.conf to make sure everything is good there, and it appears it is. The only thing I modified is the allowed IP's option. TCP_NODELAY is there, and it appears to be all set. I can start up the smbd and nmbd daemons no problem. When I do an nmbdlookup to one of my other systems, it comes back fine. I then tried smbclient \\\\SYSTEM\\user and it asked me for my password. I tried both my account password and root password and both just kicks me back to the command line. What do I have to do to start sharing files between my Linux box and my 2 Win98 boxes?
Mountainman
01-16-2001, 01:49 PM
You have to make a smbpassword file. I had this problem for two weeks and 3 installs later I figured it out. Goto the Oreilly site and download the Samba book. Its a free download. I dont remember the actual context of the command but its something like:
smbadduser:username.username
It should then prompt you for a new password for that user. Try that and let me know.
------------------
---Meddle not in the affairs of Dragons, for thou art but a snack, and tasty with ketchup---
Http://www.geocities.com/mountainmancentral
I tried messing around with the smbadduser stuff, and it appears I set up a new smb user. The error message I get when i log in with smbclient \\\\system\\user is the following: tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree connect.) Anyone have any ideas?
Mountainman
01-17-2001, 09:58 AM
Yeah, you have to add the username that you are trying to connect with. For me it would be:
smbadduser mark.mark
it would then come back with enter new password for user mark (or something ot that extent). Now to connect from windows it is easiest to use net neighborhood and then click on the user (your name) and put in the username and password you added with smbadduser.
------------------
---Meddle not in the affairs of Dragons, for thou art but a snack, and tasty with ketchup---
Http://www.geocities.com/mountainmancentral
LordStanley
01-17-2001, 02:26 PM
What with the 4 backslashes ?
i thought it was only 2 !!
\\system\user
are you trying to connect FROM a windows box if so the password it's looking for is the one you use when logging into windows. You know the windows networking signon!!
give that a try , i had the same problem!!!
[This message has been edited by LordStanley (edited 17 January 2001).]
I got everything working, the problem is I have my windows boxes set up with MS-Family Log on, so it doesn't ask for username and password. Any ideas?
Well, I got Samba working. The only thing I would like to be able to do is to disable the password check, when I try to access my Linux box through my Win98 box. Also, I have 3 systems on my network. My Linux box see both Win98 systems, but only the first Win98 system sees my Linux box. When I boot my Linux box into Win98 (Dual Boot) all three see each other fine. Also, I added smb start to my rc.local and it asks me for a password during boot up. Is there anything that I can do to keep it from asking for a password?
[This message has been edited by z00s (edited 18 January 2001).]
yoser4awd
01-22-2001, 03:17 PM
This might help, Windows uses a higher encryption than Linux so you have to make a couple of change in your smb.con file
Their are two lines
; encrypt passwords = yes
; smb passwd file = /etc/smbpasswd
Just take out the semi-colons and it should help with the encryption. Hope this helps.