Rob Fisher wrote:
> I am having no success with Samba. Well actually I have had progress but
> not enough to use it yet.
> My Win2000 and WinXP PC's can see the Samba Server but are denied access
>or not accessable.

WinNT bringing up "denied access" and "not accessable" boxes may be a
NetBIOS "name resolution" issue not a encryped passwd problem. This
involves setting the Linux box as the WINS server.

As Chris mentioned if you have set encrypted password in /etc/samba/smb.conf 
and have the same user/passwd on both machines it should work ok.

This "access" error occurs when you try to get to the Linux samba 
box by clicking on the Network Neighbourhood folders in NT Explorer.

If you can reach the Linux server using its ip address then you know 
it is a NetBIOS issue.
In the NT start menu -"run command" box, as ordinary user enter the:

\\linux-host-ip-address\sharename

ie probably \\192.168.1.1\homes  (if that is grunters address)

Section 7 of the Samba Howto does mention this but does not provide
a solution to fix the "name resolution" problem of accessing the 
the "Local Master Browser" machine which is your Linux box. 

The Howto just says forget using the host name, just type in the ip address.

I found that going to the NT "Control Panel" "Network"-"Identity" and
selecting "change" to get the protocols-tcp/ip "properties" window I was
able to set the Linux box as the Primary WINS Server by entering the 
Linux ip address. After that being WinNT, you have to reboot. 

Additionally you will have to set /etc/samba/smb.conf entries for 
being the WINS machine. Probably:


WINS support = yes
domain master = yes
preferred master = yes


Then run the console command "samba restart" (as root) to initialise the
new smb.conf settings. 

>From NT you can then use the linux hostname in the "run command" box 
ie \\grunter\homes 

Also in NT Explorer use "tools"-"find computer".
Grunter should appear in the search result and if you double click on
that the shares should open in a window like Network Neighbourhood.

So far I havn't figured out if network neighbourhood does work in the
left window pane of the NT Explorer window.

The Samba "DIAGNOSIS.txt" file has step by step info on troubleshooting.
/usr/doc/samba/docs/textdocs/DIAGNOSIS.txt

In Linux to test the user account try:
     # smbclient //localhost/homes          (then login user-password)
 or  # smbclient //localhost/homes  -U username%passwd

? brings up the help menu after login.

For the NT dos command window, to see shares.
# net view <grunters ip-address>

hth,
keith.

Reply via email to