Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-05-03 Thread Michael Tokarev

Control: tag -1 + moreinfo

Hi!

I uploaded 4.16.1 yesterday to unstable. That one, among other things, includes 
this:
https://gitlab.com/samba-team/samba/-/commit/34771e1931587807d0395c7ac7f4be18654997f4
which, according to the archlinux bugreport, fixes a (similar?) issue.

Can you please verify if 4.16.1-3 works?

Thank you!

/mjt



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-27 Thread Salis, Antonello (NFOD)
The new update 2:4.16.0+dfsg-7 is affected as well.

On 4/25/22 12:35, Simon McVittie wrote:
> Control: tags -1 - patch
> Control: forwarded -1 https://gitlab.gnome.org/GNOME/gvfs/-/issues/619
>
> On Wed, 20 Apr 2022 at 20:44:38 +0300, Michael Tokarev wrote:
>> 20.04.2022 16:06, Salis, Antonello (NFOD) wrote:
>>>  When I try to browse Windows folders with Nautilus or Nemo i get 
>>> "Failed to mount Window share: invalid argument".
>>> This never happened before last week.
>>> Found a similar topic here:https://bbs.archlinux.org/viewtopic.php?id=275179
>> This appears to be this issue: 
>> https://gitlab.gnome.org/GNOME/gvfs/-/issues/611
>> and this fix: https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/138
> I don't think that's necessarily it, unless all the people seeing this
> have a misconfigured Kerberos setup (which seems unlikely).
>
> I tried upgrading gvfs to version 1.50.1 (which includes !138) and I cannot
> connect successfully to a Samba share that allows anonymous access, logging
> in as ANONYMOUS.
>
> Workaround: I *can* connect successfully to a share that allows guest
> access with an arbitrary username and a non-empty password (I used
> "aaa", which is not my password on the server). This seems consistent
> with upstream bug 619, which does not yet have a known solution.
>
>  smcv

Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-27 Thread Michael Tokarev

27.04.2022 14:38, Salis, Antonello (NFOD) wrote:

The new update 2:4.16.0+dfsg-7 is affected as well.


Sure, there was nothing done in there about this issue.
Or else I'd mark it as fixed or at least asked you guys
to try it out :)

Thanks!

/mjt



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-25 Thread Simon McVittie
Control: tags -1 - patch
Control: forwarded -1 https://gitlab.gnome.org/GNOME/gvfs/-/issues/619

On Wed, 20 Apr 2022 at 20:44:38 +0300, Michael Tokarev wrote:
> 20.04.2022 16:06, Salis, Antonello (NFOD) wrote:
> > When I try to browse Windows folders with Nautilus or Nemo i get 
> > "Failed to mount Window share: invalid argument".
> > This never happened before last week.
> > Found a similar topic here:https://bbs.archlinux.org/viewtopic.php?id=275179
> 
> This appears to be this issue: 
> https://gitlab.gnome.org/GNOME/gvfs/-/issues/611
> and this fix: https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/138

I don't think that's necessarily it, unless all the people seeing this
have a misconfigured Kerberos setup (which seems unlikely).

I tried upgrading gvfs to version 1.50.1 (which includes !138) and I cannot
connect successfully to a Samba share that allows anonymous access, logging
in as ANONYMOUS.

Workaround: I *can* connect successfully to a share that allows guest
access with an arbitrary username and a non-empty password (I used
"aaa", which is not my password on the server). This seems consistent
with upstream bug 619, which does not yet have a known solution.

smcv



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-21 Thread Salis, Antonello (NFOD)
thank you!

smbclient seems to be working fine, but not when called from Nautilus (I 
am right?)

I'll check the solution you proposed.


On 4/20/22 19:02, Michael Tokarev wrote:
> 20.04.2022 19:44, Michael Tokarev wrote:
> ..
>> An interesting find.  I quickly browsed there, but don't immediately 
>> see a
>> solution in there. I'll take a closer look.
>
> This appears to be the fix: 
> https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/138
> (which is in gnome-vfs).
>
> But does smbclient work for you?
>
> Thanks,
>
> /mjt

Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-20 Thread Michael Tokarev

Control: reassign -1 gvfs-backends 1.50.0-1
Control: tag -1 + upstream patch

20.04.2022 16:06, Salis, Antonello (NFOD) wrote:

Package: smbclient
   Version: 2:4.16.0+dfsg-6

Debian testing

When I try to browse Windows folders with Nautilus or Nemo i get "Failed to 
mount Window share: invalid argument".
This never happened before last week.
Found a similar topic here:https://bbs.archlinux.org/viewtopic.php?id=275179


This appears to be this issue: https://gitlab.gnome.org/GNOME/gvfs/-/issues/611
and this fix: https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/138

I'm reassigning this to gvfs.  Hopefully I doing it right :)

Thank you for the bugreport!

/mjt



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-20 Thread Michael Tokarev

20.04.2022 19:44, Michael Tokarev wrote:
..

An interesting find.  I quickly browsed there, but don't immediately see a
solution in there. I'll take a closer look.


This appears to be the fix: 
https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/138
(which is in gnome-vfs).

But does smbclient work for you?

Thanks,

/mjt



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-20 Thread Michael Tokarev

20.04.2022 16:06, Salis, Antonello (NFOD) wrote:

Package: smbclient
   Version: 2:4.16.0+dfsg-6

Debian testing

When I try to browse Windows folders with Nautilus or Nemo i get "Failed to 
mount Window share: invalid argument".
This never happened before last week.


Does smbclient work by itself for you?


Found a similar topic here:https://bbs.archlinux.org/viewtopic.php?id=275179


An interesting find.  I quickly browsed there, but don't immediately see a
solution in there. I'll take a closer look.

Ironically, the smbclient I built locally from the current samba package
does not work for me at all: it says

 protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE

after asking me for a password - when I try to connect to a share or
get a list of shares.  So far I don't know what it is.. :)

/mjt



Bug#1009907: Smbclient error: "Failed to mount Window share: invalid argument"

2022-04-20 Thread Salis, Antonello (NFOD)
Package: smbclient
  Version: 2:4.16.0+dfsg-6

Debian testing

   When I try to browse Windows folders with Nautilus or Nemo i get "Failed to 
mount Window share: invalid argument".
This never happened before last week.
Found a similar topic here: https://bbs.archlinux.org/viewtopic.php?id=275179