[Samba] Re: read_data: read failure for 4 bytes

Helmut Hullen Hullen at t-online.de
Thu Aug 23 09:49:00 GMT 2007


Hallo, Koen,

Du (koen.news) meintest am 22.08.07:

>> Security Events
>> =-=-=-=-=-=-=-=
>> Aug 20 17:17:08 dios smbd[9051]: read_data: read failure for 4 bytes
>> to client 10.x.x.x. Error = Aucun chemin d'accès pour atteindre
>> l'hôte cible
>>

> I've been looking around for the same problem for some time. I'm
> quite sure, but anyone correct me if I'm wrong.

> It has something to do with windows clients (win2K, XP) trying to get
> a connection on port 139 and 445. If windows gets a connection on
> port 445, port 139 is dropped and the error appears in the log.
> Microsoft OS prefer 445 over 139 (bypassing NetBIOS overhead).

> You could avoid this by putting smb ports = 139 in the [global], it
> forces clients to use NetBIOS services. However smbd and nmbd daemon
> failed to start for me that way, but it should really work. I didn't
> gave it a lot time testing, since the error is more of a
> notification.

Doesn't help always. I allow only

        smb ports = 137 138 139

and sometimes the above error occurs nevertheless,

Viele Gruesse!
Helmut


More information about the samba mailing list