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 information?


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.

Too bad.

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).


Tomek -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Reply via email to