[Samba] Windows won't send passwd to samba server

C. Ferguson fergsffd at yahoo.com
Fri May 31 08:08:02 GMT 2002


OK.  It working now. I setup samba to use encrypted
passwords and created the smbpasswd file(forgot about
that part). 

Thanks for the help!
CJ
--- Jason Stewart <jstewart at rtl.org> wrote:
> Hi CJ,
> 
> Obviously, according to your log files the password
> is getting 
> 'Transmitted', but not authenticated. You have to
> actually set up win98 to 
> use unencrypted passwords. There is a registry hack
> out there somewhere to 
> allow you to do this. I would rather just use
> encrypted passwords and add 
> the user to smbpasswd over hacking the registry to
> do something that Win98 
> was not designed to do.
> 
> Good Luck,
> Jason
> 
> At 07:41 AM 5/31/2002 -0700, you wrote:
> >Sorry about the double email Mr McCall....
> >
> >Yes, I am using unencrypted passwords. When my
> Win98
> >machine attempts to access a share, I get prompted
> for
> >a password. I enter the correct password but it
> >doesn't get tranmitted. I have also tried different
> >usernames to no avail.
> >
> >--- "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
> >wrote:
> > > Hi CJ,
> > > are you using UNENCRYPTED passwords?  (ie if you
> do
> > > testparm|grep "encrypt
> > > pass"  does it come back and say
> > > "encrypt passwords = no")  If so, then this is
> > > normal windows client
> > > behavior (for later clients like win2k) - they
> can
> > > successfully negotiate
> > > cleartext passwords, but will not actually SEND
> a
> > > cleartext password across
> > > the wire until you respond to a prompt that asks
> for
> > > username password
> > > again.  The first time, it sends a null password
> (as
> > > you see in the trace),
> > > and then when it fails, should ask you for a
> > > username and password.  If you
> > > type in the correct username and password then,
> it
> > > should work...
> > > Hope this helps,
> > > Don
> > >
> > > -----Original Message-----
> > > From: CJ ferguson [mailto:cjferg at pacbell.net]
> > > Sent: Friday, May 31, 2002 1:13
> > > To: samba at lists.samba.org
> > > Subject: [Samba] Windows won't send passwd to
> samba
> > > server
> > >
> > >
> > > Hello
> > >
> > > I cannot get my Windows98 machines to connect to
> my
> > > Samba server(2.2.4)
> > > shares. It appears that my Win machines are not
> > > transmitting the password.
> > > The Samba server looks OK. On the server
> machine,
> > > "smbclient -L <server> -U
> > > user1" prompts me for a passwd, then, after
> > > authentication, displays the
> > > shares. When I attempt to map a share from my
> Win
> > > machines, the samba log
> > > file shows
> > >
> > > ...
> > > smbd/reply.c:reply_sesssetup_and_X(973)
> > >   Defaulting to Lanman password for user1
> > > smbd/password.c:password_ok(593)
> > >   Null passwords not allowed.
> > > smbd/reply.c:reply_sesssetup_and_X(989)
> > >   Rejecting user 'user1': authentication failed
> > > smbd/error.c:error_packet(91)
> > >   error string = No such file or directory
> > > ...
> > >
> > > I verified the null passwd being sent from the
> Win
> > > machines by turning on
> > > the sniffer(ethereal) on the samba server and
> > > looking at the packets coming
> > > through. In packets labeled by the sniffer
> "Session
> > > Setup AndX Request", I
> > > can see the account name, and primary domain
> name,
> > > but when it comes to the
> > > password, the length is set to '1' and the
> password
> > > is set to '00'. I am
> > > using the same login and passwords for both my
> Linux
> > > and Win98 machines.
> > >
> > > What am I missing?
> > >
> > > I would appreciate any info or insight as to
> what
> > > will help me solve my
> > > problem.
> > >
> > > CJ Ferguson
> > > fergsffd at yahoo.com
> > >
> > >
> > > --
> > > To unsubscribe from this list go to the
> following
> > > URL and read the
> > > instructions:
> > > http://lists.samba.org/mailman/listinfo/samba
> > >
> > > --
> > > To unsubscribe from this list go to the
> following
> > > URL and read the
> > > instructions:
> >http://lists.samba.org/mailman/listinfo/samba
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Yahoo! - Official partner of 2002 FIFA World Cup
> >http://fifaworldcup.yahoo.com
> >
> >--
> >To unsubscribe from this list go to the following
> URL and read the
> >instructions: 
> http://lists.samba.org/mailman/listinfo/samba
> 
> Jason Stewart
> Systems Administrator/Programmer
> Right to Life of Michigan
> Tel: (616)532-2300
> Fax: (616)532-3461
> 
> To find out where Michigan Gubernatorial Candidate
> Jennifer Granholm really 
> stands, please visit http://www.granholmgarble.com/
> 
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com




More information about the samba mailing list