[PLUG] Samba server and Win98 connection problem

Stephen Liu satimis at writeme.com
Wed Oct 23 04:55:41 UTC 2002


Hi Russ,

Lot of thanks for your advice.  It works now with following adjustment
made to 

1)
/etc/samba/smb.conf
[global]

workgroup = SEC 
guest account = satimis
encrypt passwords = yes
security = user 

[homes]
comment = Home Directories
read only = No
guest ok = Yes

2) Delete  IPX/SPX  on Win98

3) New  /etc/hosts
127.0.0.1	localhost.localdomain	localhost
192.168.0.1	SCW98
192.168.0.2	M40G


I still have following problems and expected to be advised.

1) # umount /mnt/Win98  could not dismount the directory.  I have to
stop Samba server with "service smb stop" first.

2) If I don't add "192.168.0.2	M40G" in /etc/hosts, the computer-name of
Samba server appears as "localhost" under the workgroup on Win98.  If I
add ""192.168.0.2  M40G" in /etc/hosts",at starting RH8.0 it takes quite
long time to detect

a) Starting sendmail  [OK]
b) Starting sm-client [OK]


Kindly advise.



On Wed, 2002-10-23 at 01:36, Russ Johnson wrote:

> - snip -
> Does the "satimis" user exist in /etc/passwd? All samba users must also
> exist as unix users.

- snip -
satimis:x:500:500:Stephen Liu:/home/satimis:/bin/bash
- snip -
 
> - snip -
> Nothing more is needed in that section. Remember, the Windows login name
> and the unix login name must be the same, or the smbusers file must map
> unixname to windowsname.

Sorry I am not quite clear about your comment.  The Win98 login name and
password are same as Samba server user, only one user for this test, but
root is different.  I login in as root for all tests because if I login
as user "satimis" I am not allowed to start Samba server even with "su"
on command line.  What do you mean "smbusers file must map unixname to
windowsname"

 
> Quite frankly Stephen, it looks like you tried to build this by hand
> without reading the massive quantities of help files on the samba.org
> website

I read some documents from samba.org and networking from Internet with
"google" search but more I read more confusing I am.  Some of them are
obsolete.  I never know from the beginning until I follow their steps to
test
 
> As a suggestion, I recommend using swat to configure samba. Install
> swat, if it's not already there, and point your web browser to
> http://hostname:901. In addition to being able to configure the server
> completely, there is a ton of documentation there at the click of a
> button. Each entry has a help button with the complete documentation
> that opens in another window. 
> 
> I also recommend that you get the original smb.conf file that comes with
> your distribution and start with that. Then run swat to configure from
> there. 
> 
> Make one change at a time, and see if it works better. Most of the time,
> I can take the default file, change the workgroup, the password
> configuration, add users, and go. It then works for the home directories. 
> At that point, you can add other shares.

Lot of thanks for your detail advice.  But one thing amazes me is

"The Windows boxes, WinME and Win98, used for this test have been used
previously to test another Samba server.  The setup on the latter was
standard and went through without much difficulty.  There are nothing
changed made to the WinME and Win98 mentioned but I have been struggling
for a week to setup this new Samba Server"

Thanks

Stephen Liu





More information about the PLUG mailing list