samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] fixed delay logging onto Samba3.3 from

Re: [Samba] fixed delay logging onto Samba3.3 from Vista Business

From: Cain, Marc <mcain_at_nospam>
Date: Thu May 27 2010 - 18:10:25 GMT
To: "samba@lists.samba.org" <samba@lists.samba.org>

Repost:

samba@lists.samba.org
On May 27, 2010, at 10:41 AM, John Drescher wrote:

>> I went through the event logs, and there was one interesting entry.
>> Also at 10:05:53 in the system log there was an event 7001 (1101),
>> "User Logon Notification for Customer Experience Improvement Program".
>> Have to run tcpdump on the server and see what happens at corresponding
>> times...
>>
>> Nobody knows what causes these delays???
>>
>
> I just was looking for the cause of the 30 second to 1 minute delay
> logging in to windows 7. No solution yet..

When the following local GPO is left in its default setting Samba domain logons are delayed for 30 seconds: "Computer Configuration\Administrative Templates\System\User Profiles\Set maximum wait time for the network if the user has a roaming user profile or remote home directory."

Enable this and set the value to 0 to work around this timeout. The timeout does not occur when logging into an Active Directory PDC running Server 2008 R2. I have not tested this with w2k8 R2 client.

In addition, if the user's desktop is set to a solid background color logons of any kind (local, AD, samba) will be delayed by 30 seconds. Set the background to any .jpg image or apply Microsoft's hotfix to work around this issue. This is a cumulative timeout; that is, if the above timeout is in affect and the solid background color timeout is also in affect the delay is 60 seconds.

I also experienced a 30 second timeout when I set the local GPO to "Run logon scripts synchronously". This problem has inexplicably vanished and I can't replicate it though I don't see it listed in any Windows 7 updates. Might have been happening to me with Windows 7 PRO. I'll check that if anyone is interested. The fix was to apply an old Vista reg setting. Can be Googled as "Vista Run logon scripts synchronously".
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba