Does anyone know how to terminate one connection of a multiplexed CIFS session from an NT workstation (such as a WTS server)? That is, many users are logged into a WTS server, but I only want to terminate one.
This can be done "fairly easily" from the NT Server Manager console; however, I'm looking for a "rsh filer cifs terminate ..." varient.
Any ideas?
-- Jeff
Thanks for all the responses! For the lists benefit, the conclusion was that this has to be done through the Server Manager but that an ONTAP RFE for a "cifs terminate" style command exists.
Since a few folks asked "If it works, why not just use Server Manager?" I'll give a public response. While Server Manager works, it is not very practical when you have a good number of connections. For instance, on the machine in question, there were 2,448 sessions open when I was trying to kill a few. I could easily pick them out via the command line "rsh filer cifs sessions" and some creative regex's. In server manager, I have a four-line view of this list. Just finding the connections in question was a chore of scrolling and manually reading each line. It was a pain.
I'm not dogging GUI's - they're great for a number of things. This is one task they are not well suited for. Personally, I prefer grep to do my pattern matching for me since it is abundantly more accurate and lightning fast in comparison to me manually reading each line.
So, a CLI alternative would be great! =)
-- Jeff
On Wed, Sep 05, 2001 at 11:52:38AM -0700, Jeffrey Krueger wrote:
Does anyone know how to terminate one connection of a multiplexed CIFS session from an NT workstation (such as a WTS server)? That is, many users are logged into a WTS server, but I only want to terminate one.
This can be done "fairly easily" from the NT Server Manager console; however, I'm looking for a "rsh filer cifs terminate ..." varient.
Any ideas?
-- Jeff