LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2002, 12:49 PM   #1
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Rep: Reputation: 15
Unhappy Samba not Connecting


Has anyone seen this error? I have set up Samba on a linux box with Red Hat 7.1. I made a directory called downloads that is public. I am trying to connect to the system with a couple of Wind98 systems and a Win2K system
I can see the linux box in Network Neighborhood.
When try to connect the dialog box says:
You must supply a password to make this connection
Resource \\Server_Name\IPC$
Password

There should be know password, but when I hit return I get a dialog box telling me the password is incorrect.
Also, I cannot figure out why the share name shows up as IPC$.
I have encrypted passwords turned on in my smb.conf file. I used swat to set everything, then manually edited the file to change the settings I couldn't find in swat.

Any ideas or do you need more info?
 
Old 06-03-2002, 01:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Have you used smbpassword to set samba passwords?
 
Old 06-03-2002, 02:04 PM   #3
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
You need to tell Samba to use the encrypted passwords that Win98 is sending it. You must also tell samba the usernames and passwords that you are using to log into the Win98 boxes (not linux). Read here:

http://www.oreilly.com/catalog/samba...ook/index.html
 
Old 06-03-2002, 06:21 PM   #4
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Okey dokey, Windoze 9x/ME does not allow you to specify a username when connecting to remote hosts. Therefore, you must log into the Windoze machine with the same username as in your /etc/samba/smbpasswd, and make sure that username has access to the shared resource.

With Windoze NT/2000/XP, however, you can specify an arbitrary username when you connect to remote machines. The easiest way to do this is like this:

Code:
C:\Windows\> net use * \\sambaserver\sharename /user:whatever
Windoze 9x/ME does not support the /user switch, so you actually have to go to "Start>Shutdown", and select "Close all programs and log in as another user" and then type in the exact same username you have set up in samba.

I do not think that encrypted passwords is the problem. All Windoze versions use encrypted passwords by default, and samba does that too. If you wanna be safe, you can force encrypted passwords in samba.

Good luck!
 
Old 06-10-2002, 05:34 PM   #5
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Original Poster
Rep: Reputation: 15
Samba not connecting

Thanks for the help.

The link to oreilly.com was a great help. He had that actual message in his howto. Turns out I was trying to just use user names with blank passwords. That didn't work at all. Once I added the passwords and copied them with smbpasswd, I was able to get the system to show up fine.
 
Old 06-10-2002, 10:52 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
I ran into this when I first started messing around with Samba. First you have to set the smb.conf file to accept encrypted passwords (as stated above). Then you have to add users locaully to you Linux box. Then you have to tranfer them to the smbpasswd (Samba password file). The thing that you really need to do is setup Samba users. You can easy do this by using Webmin. I use to use the mksmbpasswd.sh script. But some version of Samba do not include it. It is easy to do all of this. Download the Webmin rpm and install it. Then type /usr/libexec/webmin/setup.sh. Then open your web browser and type http://localhost:10000/.

One thing if you are using Mandrake 8.1 and installed Webmin while installing the OS. If I remeber right they put the setup script in the /usr/local/share/webmin directory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
samba seeing, but not connecting shelbydz Linux - Networking 1 10-21-2004 05:28 PM
connecting to samba ejbest Linux - Newbie 3 10-17-2004 11:23 PM
Serious lag connecting to samba tisource Linux - Networking 2 03-24-2004 08:58 PM
Connecting with samba andystreet Linux - Networking 1 11-04-2003 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration