[Samba] %U server-side script executed after user logs out -
mangoo at mch.one.pl
Mon Dec 13 09:54:21 GMT 2004
John H Terpstra wrote:
>>As far as I understand "postexec", it will execute each time after user
>>disconnets from a given share:
> Correct, but can you be sure that Samba will always receive that logoff
>>Considering what you said (not all logouts will send the instructions
>>triggering the script) - what may be a cause for such a misbehaviuor?
> Reliability of network hardware infrastructure may be the key factor, however,
> I have seen apparently reliable networks where Windows NT4 and 2000
> workstation logoffs would not trigger the postexec process. Using Ethereal it
> was plain to see that the workstation did not send anything to Samba either -
> it just dropped off the network. As far as Samba was concerned the client was
> still connected and the user was still logged in.
I just hoped it was possible for Samba to notice that when user uploaded
his/her profile, this also means that that user has just logged off (and
therefore, Samba shall trigger some %U script).
More information about the samba