You see, this is not my problem.  Win95 logins work great.  My problem is
a login from win98.  I don't know for sure, but this is my guess.  Win95
just ships the passwd plain text across the network.  This works fine.
Win98 ships it encrypted because it sees me as an nt machine.  So I
changed my announce as line to say win95 hoping that win98 would try to be
backwards compatible and sent the plain text passwd.  No luck.  When it
was still set for NT, I said encrypt passwords = yes and logins broke all
to hell from win95 and still didn't work for 98.  I just took a look the
data from sniffit, from win98, I get plain text passwords, encrypted in
some form or another, but it is ascii text... no login.  From 95, I get a
bunch of non-ascii crap, but it does login.  Settings for this test were
announca as = NT
encrypt passwords = no
there is an entry in /etc/smbpasswd for that user, and the data in it
doesn't even almost match the data that I get from the sniff of the win98
attempted login, but then again, it doesn't match the data from the 95
machine either.

-CJO-

On Mon, 14 Sep 1998, dreamwvr wrote:

C.J.,
 if when you reboot 95 or nt at the initial bootup you will be prompted
for a username and password pair. Enter here a username that is on the 
linux box you have samba running with the proper passwd for this account.
Then you will automatically be mapped. A popup window will request this.
Else just goto windows explorer and choose 'map a drive'. Then at the 
field that requests where to map enter a:
//NAME-OF-LINUX-BOX-CAPS/nameoflinuxuserinlowercase
If this is your first time it will prompt you for the username-password
pair. Whiz,boom,bang and your mapped!
Then add:
encrypted passwords = yes
in smb.conf
Find the smbpassword file which will if you cat it show fields with 
32 'X' this file contains the hashes of windows password. 
here is where you add the hashes created by windows for encrypted passwords.
                                                Regards,
                                                        [EMAIL PROTECTED]
ps- myself i am switching over to 
encrypted passwords on samba so 
am trying to figure out the 
command to insert hashes from
windows into password file. Note 
be certain to add 'encrypt passwords'
only after you can successfully map 
using plain text. Then proceed to the 
more secure method.
At 03:39 AM 9/14/98 +0000, C.J. Oster wrote:
>I have working and running samba serving, but there is only one problem.
>One can log into their linux home dir from another linux machine with
>'smbclient '\\hostname\homes' ', or \<username> either one works, what I'd
>like to happen is to allow such a login from a win9x machine.  How do I do
>that.  What needs to be where?  I've read the man pages and haven't found
>out anything.  Do I need the 'encrypt passwords' variable set?  Does the
>user need an entry in /etc/smbpasswd?  Thanks for the help.
>
>-CJO-
>
>                C.J. Oster (Linux Guru/Surge Addict)
>--------------------------------------------------------------------
>  [EMAIL PROTECTED]   |    P.O. Box 132      | while( asleep() != true )
>  [EMAIL PROTECTED]  | Ponca City, OK 74602 |     sheep++;
>--------------------------------------------------------------------
>      "Linux, for people with an IQ above 98" - Bumper Sticker
> "Hm, a little big for a cup holder... Why does it say '4x' on it?"
>
>
Reuters, London, February 29, 1998: 
Scientists have announced discovering a meteorite which will strike the 
earth in March, 2028.  Millions of UNIX coders expressed relief for being 
spared the UNIX epoch "crisis" of 2038.
_______________________________________________________________________

DREAMWVR.COM - TOTAL WEB INTEGRATION, DEVELOPMENT, DESIGN SERVICES. 
Featuring Website Development and Web Strategies of a TOP Developer 
<http://www.dreamwvr.com/dreambiz.htm> <mailto:[EMAIL PROTECTED]>
"As Unique as the Company You Keep."        "===0 PGP Key Available  
________________________________________________________________________
                                                                   



                C.J. Oster (Linux Guru/Surge Addict)
--------------------------------------------------------------------
  [EMAIL PROTECTED]   |    P.O. Box 132      | while( asleep() != true )
  [EMAIL PROTECTED]  | Ponca City, OK 74602 |      sheep++;
--------------------------------------------------------------------
      "Linux, for people with an IQ above 98" - Bumper Sticker
 "Hm, a little big for a cup holder... Why does it say '4x' on it?"

Reply via email to