[Samba] preexec and client timeout when script long to execute

Robert Schetterer robert at schetterer.org
Tue Mar 7 17:12:46 GMT 2006

Tomasz Chmielewski schrieb:
> I wrote a script which downloads user profile from a remote server if 
> the profile doesn't exist on a local server - and executes it via 
> preexec in [profiles] share.
> It works fine, however, there is a major glitch with it.
> After 3 minutes or so, the client times out, and says that that the 
> server-side profile cannot be found, contact your administrator etc.
> The script is still running and downloads the profile from the remote 
> server, which will take few more minutes.
> Is there a way to tell the client not to "time-out" during logon, when 
> the script is being executed?
Hi  i also tested such stuff,
and failed ,it maybe possible if you are increasing the time value with 
poldedit.exe Ntconfig.pol for profile logon waiting time to this user 
and/or machine
Best Regards

More information about the samba mailing list