Another SMB question

I am attempting to troubleshoot an SMB connection between a Windows 98
system and a QNX 4.25 system running samba 2.0.7. I am following the
instructions in Chapter 9 of “Using Samba”. Upon testing the SMB setup
with “smbclient -L localhost -U%”, I receive the following:

Domain=[EPI] OS=[Unix] Server=[Samba 2.0.7]

Sharename Type Comment


Home Disk Doug’s Home Directory
IPC$ IPC IPC Service (EPI 14 QNX Server Samba 2.0.7)

Server Comment


MYNODE EPI 14 QNX Server Samba 2.0.7

Workgroup Master


EPI MYNODE

However, when I go to the next step (as per the guide) " smbclient
'\MYNODE\Home", I receive the following messages:

added interface ip=155.134.171.14 bcast = 155.134.255.255 nmask
255.255.0.0
session request to MYNODE failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)

I have the debug level set at level 2 in smb.conf (included next)

Samba config file created using SWAT

from localhost (127.0.0.1)

Date: 2001/09/06 21:08:59

Global parameters

[global]
workgroup = EPI
server string = EPI 14 QNX Server Samba %v
encrypt passwords = Yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest account = dreed
hosts allow = EPI12

[Home]
comment = Doug’s Home Directory
path = /home/dreed
writeable = Yes
guest ok = Yes

The fuller version from ‘testparm’ is as follows:

Load smb config files from /usr/local/samba/lib/smb.conf
Processing section “[Home]”
Loaded services file OK.
Press enter to see a dump of your service definitions

Global parameters

[global]
coding system =
client code page = 850
workgroup = EPI
netbios name =
netbios aliases =
netbios scope =
server string = EPI 14 QNX Server Samba %v
interfaces =
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min password length = 5
map to guest = Never
null passwords = No
password server =
smb passwd file = /usr/local/samba/private/smbpasswd
root directory = /
passwd program = /bin/passwd
passwd chat = newpassword* %n\n newpassword* %n\n changed
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
use rhosts = No
debug level = 2
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 50
debug timestamp = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt acl support = Yes
announce version = 4.2
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max disk size = 0
max open files = 10000
read prediction = No
read size = 16384
shared mem size = 1048576
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
stat cache size = 50
load printers = Yes
printcap name = /etc/printcap
printer driver file = /usr/local/samba/lib/printers.def
strip dot = No
character set =
mangled stack = 50
stat cache = Yes
domain groups =
domain admin group =
domain guest group =
domain admin users =
domain guest users =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \%N%U\profile
logon drive =
logon home = \%N%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = No
local master = Yes
domain master = No
browse list = Yes
dns proxy = No
wins proxy = No
wins server =
wins support = No
wins hook =
kernel oplocks = Yes
ole locking compatibility = Yes
oplock break wait time = 10
smbrun = /usr/local/samba/bin/smbrun
config file =
auto services =
lock directory = /usr/local/samba/var/locks
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
unix realname = No
NIS homedir = No
source environment =
panic action =
comment =
path =
revalidate = No
username =
guest account = dreed
invalid users =
valid users =
admin users =
read list =
write list =
force user =
force group =
writeable = No
create mask = 0744
force create mode = 00
security mask = -1
force security mode = -1
directory mask = 0755
force directory mode = 00
directory security mask = -1
force directory security mode = -1
inherit permissions = No
guest only = No
guest ok = No
only user = No
hosts allow = EPI12
hosts deny =
status = Yes
max connections = 0
min print space = 0
strict sync = No
sync always = No
write cache size = 0
printable = No
postscript = No
printing = qnx
print command = lp -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer =
printer driver = NULL
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
delete veto files = No
veto files =
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
fake oplocks = No
locking = Yes
oplocks = Yes
level2 oplocks = No
oplock contention limit = 2
strict locking = No
share modes = Yes
copy =
include =
preexec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No

[Home]
comment = Doug’s Home Directory
path = /home/dreed
writeable = Yes
guest ok = Yes

The log.smb file has the following information:

[2002/03/24 18:58:29, 1] smbd/server.c:(641)
smbd version 2.0.7 started.
Copyright Andrew Tridgell 1992-1998
[2002/03/24 18:58:29, 2] param/loadparm.c:(2481)
Processing section “[Home]”

and the log.nmb file shows these lines:

[2002/03/24 18:58:29, 1] nmbd/nmbd.c:(757)
Netbios nameserver version 2.0.7 started.
Copyright Andrew Tridgell 1994-1998
[2002/03/24 18:58:29, 0] nmbd/nmbd.c:(782)
standard input is not a socket, assuming -D option
[2002/03/24 18:58:29, 2] nmbd/nmbd.c:(788)
Becoming a daemon.
[2002/03/24 18:58:29, 2] lib/interface.c:(83)
added interface ip=155.134.171.14 bcast=155.134.255.255
nmask=255.255.0.0
[2002/03/24 18:58:29, 2] nmbd/nmbd_subnetdb.c:(195)
making subnet name:155.134.171.14 Broadcast address:155.134.255.255
Subnet mask:255.255.0.0
[2002/03/24 18:58:29, 2] nmbd/nmbd_subnetdb.c:(195)
making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet
mask:0.0.0.0
[2002/03/24 18:58:29, 2] nmbd/nmbd_subnetdb.c:(195)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0
Subnet mask:0.0.0.0
[2002/03/24 18:58:29, 2] nmbd/nmbd_lmhosts.c:(43)
load_lmhosts_file: Can’t open lmhosts file
/usr/local/samba/lib/lmhosts. Error was No such file or directory
[2002/03/24 19:03:48, 2] nmbd/nmbd_elections.c:(108)
check_for_master_browser_fail: Forcing election on workgroup EPI
subnet 155.134.171.14
[2002/03/24 19:03:59, 2] nmbd/nmbd_elections.c:(45)
send_election_dgram: Sending election packet for workgroup EPI on
subnet 155.134.171.14
[2002/03/24 19:04:01, 2] nmbd/nmbd_elections.c:(45)
send_election_dgram: Sending election packet for workgroup EPI on
subnet 155.134.171.14
[2002/03/24 19:04:03, 2] nmbd/nmbd_elections.c:(45)
send_election_dgram: Sending election packet for workgroup EPI on
subnet 155.134.171.14
[2002/03/24 19:04:05, 2] nmbd/nmbd_elections.c:(45)
send_election_dgram: Sending election packet for workgroup EPI on
subnet 155.134.171.14
[2002/03/24 19:04:07, 2] nmbd/nmbd_elections.c:(45)
send_election_dgram: Sending election packet for workgroup EPI on
subnet 155.134.171.14
[2002/03/24 19:04:07, 2] nmbd/nmbd_elections.c:(209)
run_elections: >>> Won election for workgroup EPI on subnet
155.134.171.14 <<<
[2002/03/24 19:04:07, 2] nmbd/nmbd_become_lmb.c:(550)
become_local_master_browser: Starting to become a master browser for
workgroup EPI on subnet 155.134.171.14
[2002/03/24 19:04:15, 0] nmbd/nmbd_become_lmb.c:(405)


Samba name server MYNODE is now a local master browser for workgroup
EPI on subnet 155.134.171.14


So my question is this (sorry about the long preamble): What am I doing
wrong? I know that it must be really dumb, but I can’t see it. If you
need more information from the system in order to give me an answer, ask
for it and I will supply. I have samba working between the said Windows
98 box and Mandrake Linux without issue. I have been using ftp from the
Linux box to the QNX instance without any problem. But I am baffled as
to what I might be doing wrong here.

Thanks for answering what seems to me to be a stupid question.

Regards,

Douglas Reed