The Samba-Bugzilla – Bug 8300
Long delay for login with Windows 7 as Samba domain member
Last modified: 2011-07-11 14:03:18 UTC
Created attachment 6678 [details]
level 10 logs, tcpdump and smb.conf
Domain users experience a slow login performance on Windows 7 clients that are joined into a samba domain (Samba version 3.5.4). The Windows 7 client was joined successfully into the domain with the Windows 7 registry settings adjusted according to http://wiki.samba.org/index.php/Windows7 (DomainCompatibilityMode = 0 and DNSNameResolutionRequired = 0).
The level 10 logs attached and the wireshark trace show a behaviour quite similar to the bugreport in the Debian bugzilla about a Windows Vista SP2 with a similar behaviour ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531344 ): There are two delays in the client-server communication. The first is a 10 second delay after the server sent a STATUS_NO_MORE_ENTRIES in resonse to a LsarEnumerateTrustedDomains operation. Shortly after that there is another 20 second delay.
The attached log and trace have been taken with an Win7 Professional joined to a samba 3.5.4 PDC on Debian Linux (2.6.32-ucs37-686-bigmem). SP1 shows the same behaviour. While the cient side registry setting "WaitForNetwork" = 0 hides the symptom from the user, it would be good to understand the cause of this behaviour.