# Samba share not working after update 28/03/22

**URL:** <https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484>\
**Category:** EndeavourOS installation\
**Created:** [March 30, 2022, 9:49am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484 "2022-03-30T09:49:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon42470759](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@anon42470759](https://forum.endeavouros.com/u/anon42470759)\
**Post date:** [March 30, 2022, 9:49am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/1 "2022-03-30T09:49:43Z")

</div>

I found the update which is causeing the fault (smbclient 4.16.0-2) if I downgrade to smbclient 4.15.5-1 the samba share works just fine.

The error message I get is [Unable to mount location and Failed to mount windows share: invalid argument]

The samba share is used to admin my NAS which is Raspberry PI4 running four sata hdd’s

Tom

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 30, 2022, 10:02am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/2 "2022-03-30T10:02:57Z")

</div>

Have a look at this and see if it relates to your issue:

> **[FS#74259 : \[nautilus\] \[samba\] Unable to connect to samba shares with...](https://bugs.archlinux.org/task/74259?string=smbclient&project=1&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=)**
>
> Flyspray, a Bug Tracking System written in PHP.

And welcome to EnOS’ forum!

---

<div class="post-metadata">

**Author:** ![Amsterdam4572](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/amsterdam4572/32/6767_2.png) [@Amsterdam4572](https://forum.endeavouros.com/u/Amsterdam4572)\
**Post date:** [March 30, 2022, 10:24am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/3 "2022-03-30T10:24:22Z")

</div>

Thanks, I’m getting this error as well when I try to access folders on my Qnap NAS

---

<div class="post-metadata">

**Author:** ![anon42470759](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@anon42470759](https://forum.endeavouros.com/u/anon42470759)\
**Post date:** [March 30, 2022, 11:17am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/4 "2022-03-30T11:17:14Z")

</div>

Pebcak  
Thanks for the reply, but I do not use Nautilus so that not the problem.  
All file managers show the same problem.

TomX

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [March 30, 2022, 3:53pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/5 "2022-03-30T15:53:22Z")

</div>

There is an update:  
`smbclient 4.16.0-2 -> 4.16.0-3`  
Hopefully the issue is resolved uppstreams.

---

<div class="post-metadata">

**Author:** ![ajgringo619](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ajgringo619/32/35599_2.png) [@ajgringo619](https://forum.endeavouros.com/u/ajgringo619)\
**Post date:** [March 30, 2022, 5:00pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/6 "2022-03-30T17:00:29Z")

</div>

Maybe this is only affecting NAS connections. My (4) test VMs (Arch-based and Windows 10) are not having any issues.

---

<div class="post-metadata">

**Author:** ![jrichard326](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/j/ea5d25/32.png) [@jrichard326](https://forum.endeavouros.com/u/jrichard326)\
**Post date:** [March 30, 2022, 10:49pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/7 "2022-03-30T22:49:26Z")

</div>

It has been fixed with 4.16.0-4, samba and smbclient by reverting this commit:

> **[s3:libsmb: Fix errno for failed authentication in SMBC\_server\_internal()...](https://gitlab.com/samba-team/samba/-/commit/34771e1931587807d0395c7ac7f4be18654997f4)**
>
> In SMBC\_server\_internal(), when authentication fails, the errno value is currently hard-coded to EPERM, while it should be EACCES instead. Use the NT\_STATUS map to set the appropriate value. This bug...

---

<div class="post-metadata">

**Author:** ![anon42470759](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@anon42470759](https://forum.endeavouros.com/u/anon42470759)\
**Post date:** [March 31, 2022, 10:15am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/8 "2022-03-31T10:15:17Z")

</div>

> [@jrichard326](#):
>
> 4.16.0-4,

I still have the same problem with 4.16.0-4. A few m8 have the same problem.

---

<div class="post-metadata">

**Author:** ![Dougie](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/8baadc/32.png) [@Dougie](https://forum.endeavouros.com/u/Dougie)\
**Post date:** [March 31, 2022, 5:44pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/9 "2022-03-31T17:44:44Z")

</div>

I was having an issue with this last night. Same error

> Failed to mount windows share: invalid argument

I solved it by accessing it via the Pi’s hostname instead of IP, which required me to re-enter the password for the share. (smb://pi@HOSTNAME/share)

Possibly could fix it by deleting the stored password and re-authenticating too.

---

<div class="post-metadata">

**Author:** ![anon42470759](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@anon42470759](https://forum.endeavouros.com/u/anon42470759)\
**Post date:** [March 31, 2022, 7:11pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/10 "2022-03-31T19:11:56Z")

</div>

All fixed how. Some of it was my error as I had screwed with so many settings.

---

<div class="post-metadata">

**Author:** ![Amsterdam4572](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/amsterdam4572/32/6767_2.png) [@Amsterdam4572](https://forum.endeavouros.com/u/Amsterdam4572)\
**Post date:** [April 1, 2022, 6:11am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/11 "2022-04-01T06:11:42Z")

</div>

I’ve still got the issue although I cleared out and re-entered my password… I’ll try using IP address later on.

Edit: IP address still gives me the same error

---

<div class="post-metadata">

**Author:** ![Amsterdam4572](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/amsterdam4572/32/6767_2.png) [@Amsterdam4572](https://forum.endeavouros.com/u/Amsterdam4572)\
**Post date:** [April 7, 2022, 6:02pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/12 "2022-04-07T18:02:46Z")

</div>

ok, i can make it work if I put my username and password in the SMB URL. Is there a more permanent solution on the way? I had cleared out my saved password before but that didn’t solve it, nor swapping to an IP address

---

<div class="post-metadata">

**Author:** ![anon42470759](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@anon42470759](https://forum.endeavouros.com/u/anon42470759)\
**Post date:** [April 8, 2022, 8:38pm UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/13 "2022-04-08T20:38:11Z")

</div>

Check out this video its for Ubuntu but works just fine on most arch based system

[![](https://img.youtube.com/vi/nbcpMPq74cg/maxresdefault.jpg "Automatically mount Samba shares on startup - Linux") ](https://www.youtube.com/watch?v=nbcpMPq74cg)

---

<div class="post-metadata">

**Author:** ![Amsterdam4572](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/amsterdam4572/32/6767_2.png) [@Amsterdam4572](https://forum.endeavouros.com/u/Amsterdam4572)\
**Post date:** [April 14, 2022, 10:57am UTC](https://forum.endeavouros.com/t/samba-share-not-working-after-update-28-03-22/25484/14 "2022-04-14T10:57:59Z")

</div>

gvfs updates finally solved it for me
