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

Robert Schetterer robert at schetterer.org
Tue Mar 7 20:55:26 GMT 2006


Tomasz Chmielewski schrieb:
> Robert Schetterer wrote:
>> 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
>
> If such a value exists.
> Anyone knows?
>
>
for sure this value exists ( and many tuning stuff about logins and time 
), its special made for low traffic conections,which are typical for vpn 
or modem cons , but it musnt solve your problem
cause login is very complex



More information about the samba mailing list