RubberSeoul 0 Posted March 5 Does anyone have any idea how to connect to a SMB/CIFS shared folder requiring credentials, from a Linux host? I believe wnetaddconnection2 can be used for this purpose from Windows host, but I have been unable to determine how to from Linux. Any help appreciated. Share this post Link to post
Brian Evans 105 Posted March 5 Linode has a decent guide: Mount an SMB Share in Linux | Linode Docs Share this post Link to post
Sherlock 663 Posted March 5 In the past I have encountered some issues with the classic mount scheme, especially in WiFi environments, where a temporarily lost connection could lead to a permanently (until next reboot) lost mount. I have found autofs to be a perfect solution for this and also a good way to reduce network traffic. Here is a small explanation: https://documentation.suse.com/sles/15-SP2/html/SLES-all/cha-autofs.html. And after looking into this I found newer versions of systemd are capable of the same thing, just read here: https://anteru.net/blog/2019/automatic-mounts-using-systemd/. Share this post Link to post
RubberSeoul 0 Posted March 13 Thanks guys. Was hoping to set it up in code, but gonna go with Brian's suggestion of just mounting in Linux. Cheers. Share this post Link to post