AW: AW: AW: [suse-security] openvpn samba question (sshd keep alive cont..)

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.. CU Robert -----Ursprüngliche Nachricht----- Von: Emiliano Sutil [mailto:emiliano@iranon.com] Gesendet: Do 27.05.2004 10:27 An: suse-security@suse.com Cc: Betreff: Re: AW: AW: [suse-security] openvpn samba question (sshd keep alive cont..)

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 ??
Perhaps is a problem of samba configuration, here is the global section of my smb.conf file: # Global parameters [global] workgroup = GRUPODETRABAJO netbios name = LINUXSERVER server string = %h server (Samba %v) interfaces = 192.168.1.40/24 10.4.0.2/24 encrypt passwords = Yes printing = bsd printcap name = /etc/printcap load printers = yes debug level = 3 deadtime = 1 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes invalid users = root nt acl support = No Do you see any problem with this configuration? If I run smbclient -L LINUXSERVER (10.4.0.2) -U myname I get response from the server and I get the list of the samba volumes.
Try this: Change the IP in the lmhosts file to the 192.168.1.215..
This doesn´t work at all it trys to connect to my PC, and gives an error. -- Emiliano Sutil García

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@iranon.com Telf. 902 100 103 Fax. 902 201 801
participants (2)
-
Emiliano Sutil
-
Rasp, Robert