Score:0

Cannot access remote drive with Samba, having "Failed to mount "Windows share: Software caused connection abort"

tr flag

I have an old hard-drive connected to my router and I want to access it from my local PC. I have Ubuntu 20.04 and I have recently installed samba via:

sudo apt install samba smbclient cifs-utils

and I have edited /etc/samba/smb.cnf adding the line client min protocol = NT1 in the global section. Without this line I got the following error: "Failed to mount Windows share: Software caused connection abort".

I was able to reach the hard-drive at first, but now (after restarting the PC the day after) I get back the error "Failed to mount Windows share: Software caused connection abort".

I tried to restart smbd manually, but I get the following error:

Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.

I can get rid of it by removing the line client min protocol = NT1 in the smb.cnf, but then I am back at square 1.

Any ideas?

Many thanks!

heynnema avatar
ru flag
Edit your question with the output of `systemctl status smbd`. Also add (from memory) `server min protocol = NT1` to smb.conf, then do `testparm` to test your smb.conf file for errors, then do `sudo systemctl restart smbd`, and see if things work again.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.