[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [suse-security] openvpn samba question. smbclient tip



Rasp, Robert wrote:

Hello,

you can see, that the XP-Box use Port 445 for the connection to the SMB-Server.
Port 445 is in use of MS for File-Share since WIN2000
As far as i know, Samba only use 135, 137 ...
After a few seconds the XP-Box switch to this ports and trys to connect to the SMB-Server.

Have you restricted the interface for samba ??
Try this:
Change the IP in the lmhosts file to the 192.168.1.215..

I have make a new test from my windows-box

If I run this command:

smbclient -M serverlinux -U myname

I get this output:
added interface ip=0.0.0.0 bcast=255.255.255.255 nmask=0.0.0.0
added interface ip=10.4.0.1 bcast=10.4.0.255 nmask=255.255.255.0
added interface ip=192.168.1.215 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 10.4.0.2 ( 192.168.1.40 )
timeout connecting to 192.168.1.40:139
Error connecting to 192.168.1.40 (Operation already in progress)
Connection to serverlinux failed

I connect to the 10.4.0.2 but then it uses the real ip of the server 192.168.1.40 to connect with the port 139, and of course it doesn´t work. I think that it must use the same ip 10.4.0.2 to connect but I don´t know how to force it

Any idea?





--
Emiliano Sutil García

ANÁLISIS Y DESARROLLO DE SOFTWARE S.L.
Urb. San Roque, 22
24540 Cacabelos (León)
España
email: emiliano@xxxxxxxxxx
Telf. 902 100 103
Fax. 902 201 801




--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here