PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mit samba über port 445 auf XP



snoo
03.08.02, 15:18
Ich habe folgendes Problem, ich möchte mit meinem Linuxrechner mit hilfe von Samba auf die windows XP Rechner connecten. Solange ich den netbios dienst aktiviert habe klappt dies auch, jedoch möchte ich port 139 schliessen und die Verbindungen über port 445 aufbauen.
Ich verwende LinNeighborhood um die Rechner im LAN anzeigen zu lassen, hierbei kommt folgender Fehler im log-file:

Connecting to 192.168.0.4 at port 139
error connecting to 192.168.0.4:139 (Connection refused)

Wer weiss an dieser Stelle Rat wo ich den Port festlegen kann, um zu vermeiden dass er immer versucht auf port 139 zu connecten?

Danke schon mal im voraus.

Myst
04.08.02, 10:06
Das funktioniert so nicht, wie Du dir das vorstellst. Les mal folgenden Artikel, denn ich so auf die Schnelle gegooglet habe:


If the client has NBT enabled, it will always try to connect to the server at both port 139 and 445 simultaneously. If there is a response from port 445, it sends a RST to port 139, and continues it's SMB session to port 445 only. If there is no response from port 445, it will continue it's SMB session to port 139 only, if it gets a response from there. If there is no response from either of the ports, the session will fail completely.

If the client has NBT disabled, it will always try to connect to the server at port 445 only. If the server answers on port 445, the session will be established and continue on that port. If it doesn't answer, the session will fail completely. This is the case if the server for example runs Windows NT 4.0


zum selber lesen: http://ntsecurity.nu/papers/port445/

Du könntest mal probieren, den Eintrag 'announce version' auf 5.0 oder 5.1 zu setzen, und probieren, obs dann geht, aber keine Garantie.

MfG