very slow "network login" over PPP

Luke Kenneth Casson Leighton lkcl at
Tue Feb 1 18:49:05 GMT 2000

there _may_ be some settings to disable NetBIOS-over-TCP "broadcast" mode
and set it to "point-to-point" mode only.

alternative: use an lmhosts file.

On Tue, 1 Feb 2000, Daniel Stenberg wrote:

> Hi
> Having spent a couple of days buried in samba source code, I've now
> succeeded in most of my (custom) changes.
> So, I am now ready to attack one of the most major problems I can see in
> this system: the extremely slow login process when done over PPP.
> Is it at all possible to do anything about?
> When I login as a mere user from a Win-box doing a domain login, I can
> count to *20* netbios-ns broadcasts before the first netbios-dgm is sent
> (and thus replied to if there is a server around for it). (packets
> recorded by tcpdump)
> The total time for those 20 broadcasts is around 7-9 seconds. 
> Can I force the client to behave differently? Can I fake a message reply
> earlier?
> I am prepared to do (other) protocol nastinesses in order to drastically
> cut these times to a minimum. Any ideas? Any hints? Any suggestions? I
> want to cut seconds! :-)
> PS. All these changes are made for a custom product I am codesigning for a
> customer.  They will of course become publicly available later on, in case
> anyone else would like to attack samba really viciously.
> --
>    Daniel Stenberg - - +46-705-44 31 77
>    ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

<a href="mailto:lkcl at"   > Luke Kenneth Casson Leighton    </a>
<a href=""> Samba and Network Development   </a>
<a href=""        > Samba Web site                  </a>
<a href=""      > Internet Security Systems, Inc. </a>
<a href=""          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

More information about the samba-technical mailing list