Need to disconnect a linux share in Windows

Deadjasper

2[H]4U
Joined
Oct 28, 2001
Messages
2,584
Frustrated again by not being able to perform a simple function. :confused:

a Linux share is mounted in Windows Server 2016 R2. I have no option to disconnect this share and can't find how to unshare it on the Linux side. Google returns lots and lots of info on how to do the opposite (i.e. disconnect a Windows share on a Linux box) but nothing on doing what I want to do.

TIA
 
Sounds like network discovery is turned on, on your windows server.

Thanks. network discovery was turned off on the Windows Server. I solved the problem by changing permissions of the share on the Linux box. As far as I can tell, the only way to get to them is right clicking the button at the top of the Caja. No doubt the CLI would have been quicker if only I knew the proper command. :(
 
Wouldn't this be more of a Windows issue? Surely you can simply disconnect the share from within Windows Server 2016?

Otherwise, under the GUI, right click on the shared folder under Caja and select sharing options. From there simply untick share this folder.
 
Wouldn't this be more of a Windows issue? Surely you can simply disconnect the share from within Windows Server 2016?

Otherwise, under the GUI, right click on the shared folder under Caja and select sharing options. From there simply untick share this folder.

I was sure it was a windows issue but right clicking on the share did not offer a disconnect option. The right click option pull down was a standard Windows pull down that's not supposed to be associated with a mount of any kind. Never ran into this before but then again, it was a Linux share so I didn't know what to make of it. Anyways, changing group and guest options in Linux to none disconnected it so all is well. I jumped through the hoops a few months back to establish this share and remember being totally befuddled as to how I got it to work. That's me and Linux, never a dull moment, lol.
 
I was sure it was a windows issue but right clicking on the share did not offer a disconnect option. The right click option pull down was a standard Windows pull down that's not supposed to be associated with a mount of any kind. Never ran into this before but then again, it was a Linux share so I didn't know what to make of it. Anyways, changing group and guest options in Linux to none disconnected it so all is well. I jumped through the hoops a few months back to establish this share and remember being totally befuddled as to how I got it to work. That's me and Linux, never a dull moment, lol.

Technically speaking, it's a Samba share, the operating system the server hosting the share is based on shouldn't affect the client disconnecting from the share. Chances are you needed to go into server management under Windows Server 2016 to disconnect from the share, oh the joys of Windows server. :)
 
Back
Top