Re: [K12OSN] Samba login help

Shahms E. King (shahms@shahms.com)
Thu, 14 Mar 2002 22:52:49 -0700


Windows 98 has plain text passwords disabled by default, so unless you 
are using the option, encrypt passwords = yes in your smb.conf file, 
samba will not talk to WIN98 without some tweaking of the windows 
registry.  

There is a .reg file that comes with the samba documentation that will 
turn on plain text passwords in Win98 (so you can then use encrypt 
passwords = no, if that is the case, you will not need smbpasswd).  If 
the samba docs are installed, it is usually found in 
/usr/share/doc/samba-2.2.1a/docs/Win98_PlainPassword.reg (redhat 7.2)
(you may have to replace 2.2.1a with the version you are running..)
Run this file on the Windows computer and reboot.  

If the samba docs are not installed, do a google search for 
EnablePlainTextPassword or Win98_PlainPassword.reg

Good Luck,
Ben Nickell
Technology Coordinator
Pocatello Community Charter School



----- Original Message -----
From: "Shahms E. King" 
Date: Thursday, March 14, 2002 7:43 pm
Subject: Re: [K12OSN] Samba login help

> 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, 
> passwordsare 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, 
> whichis 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 <" target="l">http://www.k12os.org>
> 



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