Displaying 2 results from an estimated 2 matches for "chkstalesess".
1999 Jan 25
2
Samba, NT, and transient network failures
...tivity problem as above. With this configuration the
applications running on the NT client recover very quickly once the NT
client and the Samba server re-establish their communication.
The preexec and postexec configurations parameters are set as follows:
root preexec = /usr/local/libexec/samba/chkStaleSession preexec %d %I %h %S %U
root postexec = /usr/local/libexec/samba/chkStaleSession postexec %d %I %h %S %U
If our analysis of the problem is incorrect, or if there's a better way
to attack this problem, please let me know.
The chkStaleSession script (Korn Shell) follows.
Nico
*************...
1999 Nov 10
0
Script for removing stale sessions: version for RH6.0? [Offtopic?]
...d in the list
(SO_KEEPALIVE, etc). But I'm stuck with the script issue, as I run RedHat
Linux 6.0 which doesn't use ksh but pdksh instead. The ksh script doesn't
run in pdksh and dies with the following message:
preexec 924 192.168.1.52 franquin disneyland johndoe
/usr/libexec/samba/chkStaleSession[94]: syntax error: `(' unexpected
(this is near from the last esac clause of the script)
Anyone on the list has a version of the script converted to RH6.0
or a pointer to
some thing like this?
The original references I've found for Nicholas' work are:
http://us1.samba...