On Monday 11 February 2002 05:46 am, Lenz Grimmer wrote:
snip<
Have a look at "preexec" and "postexec" in smb.conf:
[SNIP] postexec (S) This option specifies a command to be run whenever the service is disconnected. It takes the usual substitutions. The command may be run as the root on some systems. An interesting example may be do unmount server resources:
postexec = /etc/umount /cdrom
See also preexec .
Default: none (no command executed)
Example: postexec = echo \"%u disconnected from %S from %m (%I)\" >> /tmp/log [SNIP]
Bye, LenZ
Thanks to all for your help. Sorry for the lag.......busy. I never realized how much Samba could do until I started wading through the docs looking for this preexec and postexec stuff...I'd never seen anything about it before. Now to put it to work. Thanks again, Tom -- TRBishop tb64710@alltel.net SuSE 7.3 Pro