[Samba] Need Samba Setup Help

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


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:
Samba Server: 2.2.1a
Samba Server Name: SAMBASERVER
Workgroup Name: ABOGEXAM
etc/hosts file contains:
    localhost.localdomain     localhost

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

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
2. Why does the nmblookup command find the samba server when I use the
      nmblookup -U sambaserver
   command but not the
      nmblookup -B sambaserver
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.

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 sambaserver
querying sambaserver on sambaserver<00>
[root at sambaserver root]# nmblookup -B sambaserver
querying sambaserver on
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 =
;bind interfaces only = Yes
hosts allow =
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

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

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