I guess this might be a bit like Paulmann's problem.
I have Samba running but when I connect from a Windows Xp by name it won't let me . It says that "The account is not authorized to login from this station"

It works fine if I connect by IP and I can connect to SSH by name.
So I guess it is not a security issue as I amble to connect to Samba when I use the ip

[global]
workgroup = rhl
netbios name = IT1234
server string = Wild thing
encrypted passwords = yes
security = user

I have tried with and without the wins server setting (specified IP address of wins server). I tried the suggestions that some of you made towards paulmann's problem and they appeared to be ok.

Cheers