[Samba] netlogon sometimes works (corrected with smb.conf attached)

jason.walton at nomadsoft.com jason.walton at nomadsoft.com
Wed Feb 5 11:06:27 GMT 2003


Hi Kurt,
thanks for that.
Our ping times are faster than that, I have now created the server without 
any extra software running (we were running domino on the box as well), so 
now it is purely a fileserver, running backup DNS, DHCP, NIS, NTP.

If I turn my PC off, and log on it executes the NETLOGON script each and 
every time (great!), alas, if I log out and log back in, chances are it 
won't work (not so great), if I persevere, it will eventually work again, 
for a while. So, even with less load, it occasionally works, though I am 
perplexed as to why it appears to always work when I reboot my PC, perhaps 
there is something in windows that it messing up? We run Windows 2000 at 
the moment and are waiting to launch Windows XP on the poor users in the 
near future.

Jason Walton
Nomad Software Ltd
186 Regent Street
London W1B 5TN
Tel. +44 (20) 7292 2459
Fax. +44 (20) 7292 2401
www.nomadsoft.com




Kurt Weiss <input.maillists at kwnet.at>
31/01/2003 07:00

 
        To:     jason.walton at nomadsoft.com
        cc:     samba at lists.samba.org
        Subject:        Re: [Samba] netlogon sometimes works (corrected with smb.conf   attached)


hello jason,
we are using successful netlogon over years. - at first we had similar 
problems. the reason lied in the batch file:
1) the batch was written on linux, so the CR was missing at the end of 
the line...
2) we used "net use" without the /y flag -> windows did not rebind the 
drive, but deleted the old link. (so onetimes the link was here, next 
times it missed...)

hardware:
if u have not the possibility/experience to look at the network packets, 
so u can test your stability in a simple way:
use ping with a big packet size, and u will find out, if there is a 
problem with your network connection:

in windows (stop with ctrl-c):
ping -t -l 65000 XXX.XXX.XXX.XXX

should look like this:
==================================================================
Ping wird ausgeführt für 192.168.10.1 mit 65000 Bytes Daten:

Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit<10ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit<10ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255
Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255

Ping-Statistik für 192.168.10.1:
     Pakete: Gesendet = 10, Empfangen = 10, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
     Minimum = 0ms, Maximum =  16ms, Mittelwert =  12ms
==================================================================

in linux (stop with ctrl-c):
mail:~ # ping -fs 65000 XXX.XXX.XXX

should look like this:
==================================================================
PING 192.168.10.10 (192.168.10.10) from 192.168.10.1 : 65000(65028) 
bytes of data.
.
--- 192.168.10.10 ping statistics ---
458 packets transmitted, 457 received, 0% loss, time 6461ms
rtt min/avg/max/mdev = 12.748/12.875/17.226/0.242 ms, pipe 2, ipg/ewma 
14.139/12.880ms
==================================================================


i hope it helped...
gk



More information about the samba mailing list