I get the same problem and have struggled on this for 4 days.
My Linux box has RH8.0 on it and is networked with a Windows 98 PC

What I have done:
(1) Follow the instructions on "The Official Red Hat Linux Customization
Guide" and config smb.conf
(2) Run the test in DIAGNOSIS.txt, failed in step 5.
(3) Step 7 is OK, which means local smb client can connect to smbd
service and access the shared. (smbclient)
(4) Because Windows client is unable to connect, I guess that the
problem might be the inproper configuration on client PC. I search
hosts file on client PC, find one called hosts.sam (I guess it
is a samlpe file). copy hosts.sam to hosts and add a line of
ip(of linux box) linux-hostname (so I can ping linux box from client
PC using linux-hostname.
(5) On linux box, add client PC's ip win98-hostname (so I can ping
client from linux box using win98-hostname.
(6) When client PC restart, click netowrk nerghbor, I can see both
linux-hostname and win98-hostname but when click linux-hostname
I get "\\linux-hostname is not accessable. the computer name might
not be correct" error.
(7) I could not find where on client PC win98-hostname is stored
(definatly not in hosts file). ping win98-hostname does work fine.
(8) The smb.conf looks like:


[global]
workgroup = HOMENET
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = no
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes


Can someone advice me on what should I try next?


>Please provide more detail.
>What is the error message you are getting?
>Which machine are you running the command on? Which machine are you >trying
>to find with nmblookup?
>Forget swat. If you mention it once more I'll hang up.
>What do you see with:
>ps ax | grep mbd | grep -v grep
>at the linux server?
>Joel

On Mon, Nov 04, 2002 at 01:29:05PM +1000, Justin Edwards wrote:
> Test 5 of the diagnostics.txt failed. SWAT is telling me that nmbd is
> running though.
>
> ----- Original Message -----
> From: "Joel Hammer" <[EMAIL PROTECTED]>
> To: "Justin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, November 04, 2002 12:28 PM
> Subject: Re: [Samba] Problems connecting to Samba through windows
>
>
> > Have you walked through DIAGNOSIS.txt in the docs/text section with the
> > samba sources.
> > Is samba running on the linux box?
> > Joel
> > On Mon, Nov 04, 2002 at 12:16:53PM +1000, Justin wrote:
> > > I just started using Linux a couple of weeks ago and have been trying to
> setup samba.
> > > I have a couple of text books I have been following which have helped me
> be able to run the
> > > smbclient from Linux to view both the shares on my Linux and xp machine.
> > >
> > > The problem is that I can not access the Linux files from my xp machine.
> I can ping the machine
> > > without a problem and can also view the machine through network
> neighbourhood. However when I
> > > double click the Linux machine in network neighbourhood I receive the
> error:
> > >
> > > \\linux is not accessible. you might not have permissions to use this
> network resource.
> > > No service is operating at the destination network endpoint on the
> remote system.
> > >
> > > I have gone through all the documentation I can find but nothing seems
> to help. Could someone please advise me on what I am doing wrong or not
> doing at all. I am still learning so the more explanatory the better.
> > >
> > > I look forward to your response
> > > Justin


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to