We help IT Professionals succeed at work.

Samba and Windows 2000

MundellRH
MundellRH asked
on
I have used Samba and win nt4 before using smbclient -L 10.10.10.10 -U username and were able to view the shares over the network. If I do the same under Win2K it tells me that:

smbclient -L 10.10.10.10 -U username

added interface ip=10.10.10.9 bcast=10.10.10.255 nmask=255.255.255.0
session request to 10.10.10.10 failed (Called name not present)
session request to 10 failed (Called name not present)
session request to *SMBSERVER failed (No listening on called name)

I need to know what to change or install on Win2K to get this working. I am using Windows 2000 Pro and Server
Comment
Watch Question

Commented:
Have you set the netmasks on the W2k server and the linux box to be the same? On your linux box you have a netmask 255.255.255.0. That means that the linux box will send out broadcast packets to 10.10.10.255 (as it says in your output from smbclient). If, however, the W2k box has a different netmask, eg 255.0.0.0, it will only respond to broadcasts on 10.255.255.255.

Vijay

Author

Commented:
Thanks for the information. I am using a dial up connection to the Linux box. The Linux box assign the IP address.   Can you give me information on how to implement it, so that I can test this

Commented:
First of all, try

smbclient -L //servername -U username

(where servername is the netbios name of the W2k computer)

Vijay

Author

Commented:
Done that don't work, Next

Commented:
I suggest you get help from the Win2000 forum.

Vijay
Commented:
This is a known problem with Windows 2000 SP2 + above, as well as with WinXP: smbclient -L no longer works as it did with Win NT. MS added new RPC calls without telling anyone, breaking Samba.  Grr.  

This is fixed in v2.2.1 of Samba, so upgrading should fix it.

http://us1.samba.org/samba/docs/FAQ/#4

Upgrade can be found here:

http://fr.rpmfind.net/linux/rpm2html/search.php?query=samba-common
http://fr.rpmfind.net/linux/rpm2html/search.php?query=smbclient

HTH,

JF

Author

Commented:
Thanks for the help!!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.