/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


Unable to connect to Samba share clientdrop. Multiple sessions connected.

08/03/2020 192 views

It appears I am not able to connect to samba share for clientdrop.

Did a map drive by host and IP and both got denied indicating bad password.  The password is correct since another person was able to connect.

I don't  wish to reboot the K1000 since this will take down production.

One error that did show up in the attempt is something about multiple connections from diff sources at same time.

How do I go about locating the sessions and terminating it?  I think there is a way through terminal.



Answer Summary:
2 Comments   [ + ] Show comments

Comments

  • I would check the saved passwords (netplwiz) and delete the saved credentials for K2000.
  • No cached password been saved on the computer that I used to attempt to connect to.
    As far as the other sessions connected I have no info on where it came from.
    I need a way to disconnect the open session connection without rebooting the K1000.

Answer Chosen by the Author

0

Hi

Make sure you don't have existing cached connections in your Windows OS (net use /delete \\KACE-SMA-IP), do this before attempting to connect again.

To restart the samba service, go to Settings > Security Settings (Scroll down), click Save and Restart Services.
This could make the box inaccessible for two or four minutes.

That will restart the SMB service, liberating existing lock files.---->

That's the Samba Service locking behavior... probably causing that,
See:
https://www.jamescoyle.net/how-to/340-samba-the-process-cannot-access-the-file-because-another-process-has-locked-a-portion-of-the-file

https://serverfault.com/questions/204812/how-to-prevent-samba-from-holding-a-file-lock-after-a-client-disconnects/975512
NOTE: A file can be a folder as well.

Answered 08/04/2020 by: Channeler
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ