Re: [K12OSN] Samba login help

Shahms E. King (shahms@shahms.com)
14 Mar 2002 18:43:25 -0800


On Thu, 2002-03-14 at 15:56, Michael Cortes wrote:
> I have been setting up Samba on my RH7.0 server for several days now.
> I am hoping someone out there can give me the secret piece of my puzzle.
> 
> My problem is:  in MS Win98 I try to connect to my Samba server using
> \\sambaserver_name and it will ask me for a password to go with the
> user_name I used when i logged into win98.  I have checked the pc_name.log
> in /var/log/samba and it says "rejecting user 'user_name': authentication
> failed".
> 
> I have created the user on the RH box with "adduser user_name" and created
> the samba user with "sambaadduser user_name".  I also made sure that all
> passwords were set to the same pw I used original to log into my w98 box.
> 
> Does anyone have an answer?
> 

a couple of things you want to check, first is the security option, it
should be set to "security = user" then there's the encrypted password
setting (I can't remember the exact name right now, "man samba" and look
for encypt, it'll tell you more) and with Win98 this can be tricky, if
it's a later version you want to set it to "yes" if it's old and
unpatched you need "no" (although, I think samba will still work with
older clients when it's set to "yes" but I haven't played with that for
a while).  Anyway, those are the two most important settings, passwords
are cleartext by default, so that is probably the key.  If that doesn't
work, set the debug value to >=5 and it'll tell you a whole lot more
(that can take some tuning too high and it'll tell you everything, which
is almost more useless than nothing ...)
if you can't figure it out, email me your smb.conf and I'll take a look.

--Shahms



_______________________________________________
K12OSN mailing list
K12OSN@redhat.com
https://listman.redhat.com/mailman/listinfo/k12osn
For more info see