Cancel a connection ?

Martin Deinhofer mad at
Tue May 18 14:22:31 GMT 1999


Does anybody know if it is possible to cancel a share - connection from
serverside ?

I need this for my cdrom share. This is automounted and I do not want to
miss that for several reasons.
Now I have the problem that I only can change the disk if the drive is
not mounted and that only happens if there is no open smb-connection to
that share of course. So I need a mechanism to lock the share and after
the timeout of the automounter is over I can change the disk.

I know that I could kill the pid of the smbd which is given by smbstatus
but that kills all connections of one machine. - so that does not make
much sense.


Martin Deinhofer                     mailto:mad at   
g.a.m.s. edv dienstleistungen gmbh   +43 1 895 84 99-22
stiegergasse 15-17 ; 1150 Wien

More information about the samba mailing list