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 10-24-2001, 05:05 AM   #1
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Rep: Reputation: 0
Question Samba problems...


Hi,

I've set up a Samba share on my RH 7.1 box - I can connect to it using smbclient but when I try from Win2K/98 using net use or net view it just sits there until it times out...

I'm pretty sure its an authentication problem but not sure I understand the interaction of the smbusers file, the linux usernames and the usernames I use from Win2K.

It's definitely NOT a hosts deny type problem as I've already made sure the host is allowed access. My hunch is that it's authentication. Could be wrong of course, what do I know?!

Any ideas?

Cheers, BH
 
Old 10-24-2001, 08:34 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Did you add the users to the smbpasswd?
 
Old 10-24-2001, 08:43 AM   #3
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Original Poster
Rep: Reputation: 0
No, I couldn't quite figure that bit out. Could you explain what I need to do? (in noob-speak :-)

 
Old 10-24-2001, 09:21 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there are different windows regisrty hacks you can use, to do it a lower way, search google or something for

enableplaintextpassword

Alternatively you can make samba use more security by altering /etc/smb.conf:

encrypt password = yes
(i think).

And then using smbpasswd to define each users password. Bit drawn out for my liking really.

Alternatively, i'm pretty sure you can just reduce the share level of samba, from user to share, which really has very little differences other than security, which, when samba is restricted to a safe LAN, isn't too much of a concern.
 
Old 10-25-2001, 09:02 AM   #5
bunghole
LQ Newbie
 
Registered: Oct 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Smile Sorted

It couldn't route back to the Win2K box as there was no entry for it in /etc/hosts. Also I used the smbadduser command thus:

smbadduser user:user

... and then entered the passwords. Those two steps seemed to sort it.

Thanks all for your help... BH
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba Problems again :) Iztari Linux - Networking 18 06-24-2004 11:00 AM
samba problems... Digital_Err0r Linux - Networking 1 03-20-2004 04:46 PM
Samba problems. Zombie13 Mandriva 4 03-11-2004 02:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM

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

All times are GMT -5. The time now is 10:06 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