[Samba] Need Samba Setup Help

Jill Van Zelfden jvanzelfden at abog.org
Thu Feb 21 08:30:05 GMT 2002


Everyone,

I am hoping that someone can help me.  I have been trying for several weeks
to get Samba working to no avail.  I have consulted many online help files
including the ones located at
http://us1.samba.org/samba/docs/DIAGNOSIS.html, browsing.txt that comes with
samba, http://us2.samba.org/samba/ftp/docs/Samba24Hc13.pdf, and a few
others.  I have even posted a previous message, which produced a some help,
but with no success story yet.

My configuration is:
Red Hat 7.2
IP address: 192.168.1.6
Samba Server: 2.2.1a
Samba Server Name: SAMBASERVER
Workgroup Name: ABOGEXAM
etc/hosts file contains:
           127.0.0.1   localhost.localdomain     localhost
           192.168.1.6  sambaserver
           192.168.1.9  station1
           192.168.1.12 station2

The client side configuration is:
Windows 98
IP address: 192.168.1.12
Computer name: station2  (we skip station1 for now due to it running
Win2000)

The problem seems to be that the Win98 computer does not see the Samba
Server.  I am beginning to suspect that the server is not set up correctly
as far as name servicing goes.  But those are just suspicions right now.

Using the http://us2.samba.org/samba/ftp/docs/Samba24Hc13.pdf
troubleshooting documentation, the setup begins to fail at level 2 (pg.
226).  I've pasted some output from the RedHat machine below.  But, some of
my questions are:
1. Why does the nmbd service show up twice in the ps -ef | grep nmbd
command?
2. Why does the nmblookup command find the samba server when I use the
      nmblookup -U 127.0.0.1 sambaserver
   command but not the
      nmblookup -B 192.168.1.255 sambaserver
   command?
3. Why does the Win98 fail when using the ping sambaserver unless the
ip/server name is located in the windows lmhosts file? (But, pinging the ip
address works all the time.)

Any help on how to get this thing working would be greatly appreciated.

Sincerely,
Jill Van Zelfden

P.S. I've also tried upgrading samba to 2.2.3a with no success due to
library problems, and no swat capabilities (which is apparently a must for
my manager). So if someone has some step by step instructions for it, I'd
appreciate that as well.


[root at sambaserver root]# ps -ef | grep nmbd
root      1249     1  0 09:20 ?        00:00:00 nmbd -D
root      1252  1249  0 09:20 ?        00:00:00 nmbd -D
root      1705  1563  0 09:41 pts/0    00:00:00 grep nmbd
[root at sambaserver root]#

[root at sambaserver root]# nmblookup -U 127.0.0.1 sambaserver
querying sambaserver on 127.0.0.1
192.168.1.6 sambaserver<00>
[root at sambaserver root]# nmblookup -B 192.168.1.255 sambaserver
querying sambaserver on 192.168.1.255
name_query failed to find name sambaserver
[root at sambaserver root]#

[root at sambaserver root]# cat /etc/samba/smb.conf
workgroup = ABOGEXAM
server string = Samba SMB Server
;interfaces = 192.168.1.6/24 127.0.0.1/24
;bind interfaces only = Yes
hosts allow = 192.168.1.0/255.255.255.0
security = share
log file = /var/log/samba/log.%m
max log size = 50
read bmpx = No
time server = Yes
socket options = TCP_NODELAY
os level = 65
preferred master = Yes
dns proxy = No
wins support = Yes
guest account = smbuser
hide dot files = No

[public]
comment = Public
path = /home/public
read only = No
create mask = 0664
directory mask = 0775
guest ok = Yes

[data]
comment = Data
path = /home/samba/data
read only = No
create mask = 0660
directory mask = 0770
[root at sambaserver root]#









More information about the samba mailing list