Windows '98 can't connect to Samba!

Windows '98 can't connect to Samba!

Post by John Arrowwoo » Wed, 07 Oct 1998 04:00:00



Hope I can give you some help.  

Someone else already mentioned the encrypted passwords problem.  On your
Win98 machine, in C:\WINDOWS\NETWORK.TXT file, near the bottom, is a note
on getting Win98 to work with Samba.

However, since it isn't even getting that far, try adding "browseable=yes"
to your Homes section.  

What I would suggest is adding (if only for debugging purposes) creating
another share, called [public] which points to a directory set up
specifically
for it.  For instance.

# mkdir /home/public
# chmod 777 /home/public
# vi /etc/smb.conf

(add the following to the end...)

[public]
        path = /home/public
        browseable = yes
        read only = no
        guest ok = yes

After you've done that, stop and restar the smb daemon by typing

# /etc/rc.d/init.d/smb stop
# /etc/rc.d/init.d/smb start

Then on the Win98 machine, apply the cleartext passwords
registry hack (if only temporarily) and then see if you can
access \\server\public.  

If you get the same message, then you may have name resolution
problems.  At the top of your smb.conf file, add "dns proxy = yes"
and see if that helps.  As a side note, in your message, you left
out the [general] heading from the top.  Don't know if that
impacts anything or not...

If NONE of this helps, either, then let us know!

-- John


> Here is my problem:

> I have two machines. One is Win98, theother is a Linux machine. Both can ping
> to each other, FTP to each other, etc. Linux has samba installed on it. It
> can "log on" to itself fine with smbclient. It can also "log on" to the
> Windows '98 machine fine. However, the reverse is not true; in other words,
> Windows '98 cannot log on to Linux. It can't see it on network neighborhood
> either. In Windows, I tried doing a:

> net view \\192.168.1.1
> (where 192.168.1.1 is the address of my Linux server), and I get a:

> Error 53: The computer name specified in the network path cannot be located.
> Make sure you are specifying the computer name correctly, or try again later
> when the remote computer is available.

> However, the machines can "ping" to each other fine. What gives? I tried 1)
> Putting the IP address of Linux in WINS section of the NE2000 -> TCP/IP 2)
> Putting the line: 192.168.1.1  .stevercam.com  #PRE In the c:\Windows\lmhosts
> file 3) I made sure that nmbd and smbd were loaded by typing
> /etc/rc.d/init/d/smb status 4) I checked the status of the smb.conf by typing
> testparm /etc/smb.conf. Checks out fine. here is my smb.conf file just in
> case you guys want to see it.

> workgroup = TripperJones
> bind interfaces only = true
> interfaces = 192.168.1.1

> [homes]
>    guest ok = yes
>    read only = no

[snipped profanity, etc...]
 
 
 

Windows '98 can't connect to Samba!

Post by Andy Seit » Wed, 07 Oct 1998 04:00:00


Directly from the Networks.txt in c:\windows:

SAMBA AND WINDOWS 98
====================

For security reasons, Windows 98 no longer allows
you to send plain text passwords. It sends only
encrypted passwords. However, Samba servers require
plain text passwords, so you cannot
connect to Samba servers unless you change a
registry entry to enable plain text passwords.

To enable plain-text passwords, add the Registry
entry EnablePlainTextPassword (reg Dword) 1 in
the following Registry location:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\Vnetsup

 
 
 

Windows '98 can't connect to Samba!

Post by Dirk Huesk » Thu, 08 Oct 1998 04:00:00



>Directly from the Networks.txt in c:\windows:

>SAMBA AND WINDOWS 98
>====================

>For security reasons, Windows 98 no longer allows
>you to send plain text passwords. It sends only
>encrypted passwords. However, Samba servers require
>plain text passwords, so you cannot
>connect to Samba servers unless you change a
>registry entry to enable plain text passwords.

>To enable plain-text passwords, add the Registry
>entry EnablePlainTextPassword (reg Dword) 1 in
>the following Registry location:

>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\Vnetsup

More current versions of Samba do support Win98 and WinNT encrypted
passwords.

According to an article in the current issue in the German c't, the option
in the [global] section is "encrypt passwords = yes". However, the file
/etc/smbpasswd has to be maintained.

--



PGP Public Key: http://www.muenster.de/~huesken/pgp_public_key