Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Cannot mount Samba share from Ubuntu or Android

  1. #11
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,465

    Re: Cannot mount Samba share from Ubuntu or Android

    "The 'NT_STATUS_ACCESS_DENIED' error is telling me I have authenticated but are not allowed to do what I am attempting ." - Yes, I also think that you have a permission problem. The username and password authentication works, but Samba is not allowed to provide access to the working directory by the underlying filesystem. You can try to make the directory and the files in it wide open to prove it with 'chmod 777 pathtodirectory'. Note that the system can also be blocked by SELinux or AppArmor if you have one of those active.

  2. #12
    Join Date
    Sep 2021
    Beans
    13

    Thumbs up Re: Cannot mount Samba share from Ubuntu or Android

    Good news I got it to work
    Bad news I have no idea what I'm doing differently .

  3. #13
    Join Date
    Sep 2021
    Beans
    13

    Re: Cannot mount Samba share from Ubuntu or Android

    Someone please explain this .
    If I name the share [linuxshare] or [share] I cannot access it . If I name it [MyStuff] it works fine .

    I'm not making this up .

  4. #14
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Cannot mount Samba share from Ubuntu or Android

    Last time I looked at using Android as a Samba client, it seemed that most of the non-paid Samba clients were using weak NT1 authentication. These days, it is easier to crack that sort of authentication than it is to look up the credentials and type them in. Of course, YMMV.

    Glad you got something working. Sad you don't know why. When stuff like that happens to me - perhaps once a year - it drives me crazy. Last week had it happen when trying to get NFS as a client working from inside a linux container. It didn't work and I stepped away for some dinner, then came back and it was working. No clue why.

  5. #15
    Join Date
    Sep 2021
    Beans
    13

    Re: Cannot mount Samba share from Ubuntu or Android

    But I did figure it out , See my post from above .

  6. #16
    Join Date
    Dec 2009
    Beans
    6,576

    Re: Cannot mount Samba share from Ubuntu or Android

    Since you introduced webmin into this I suggesting posting the output of the following commands so the folks here can see how you are currently set up:
    Code:
    testparm -s
    Code:
    net usershare info --long

  7. #17
    Join Date
    May 2010
    Beans
    1,889

    Re: Cannot mount Samba share from Ubuntu or Android

    If you SSH to the system to manage it then you can mount SFTP. AndFTP in Android can do this and it connects on port 22. Nice and easy. This will sidestep the issue.

  8. #18
    Join Date
    Sep 2021
    Beans
    13

    Re: Cannot mount Samba share from Ubuntu or Android

    But I did figure it out , See my post from above .

  9. #19
    Join Date
    Sep 2021
    Beans
    13

    Re: Cannot mount Samba share from Ubuntu or Android

    reproduced the issue from linux cli

    with the share name set to [share] I get this

    neon@linux-desktop:~$ smbclient '\\10.10.10.249\share'
    Enter OLLIE\neon's password:
    tree connect failed: NT_STATUS_ACCESS_DENIED

    With the share name set to [MyStuff] it works


    neon@linux-desktop:~$ smbclient '\\10.10.10.249\MyStuff'
    Enter OLLIE\neon's password:
    Try "help" to get a list of possible commands.
    smb: \> l
    . D 0 Sun Oct 10 17:38:54 2021
    .. D 0 Wed Sep 8 11:19:03 2021
    Screenshot_20211010-144209_X-plore.jpg A 169689 Sun Oct 10 14:42:10 2021
    Screenshot_20211010-144408_X-plore.jpg A 250686 Sun Oct 10 14:44:08 2021

    1114652760 blocks of size 1024. 521069640 blocks available
    smb: \>

  10. #20
    Join Date
    Dec 2009
    Beans
    6,576

    Re: Cannot mount Samba share from Ubuntu or Android

    If that is supposed to be a response to my request I was referring to this post:
    Someone please explain this .
    If I name the share [linuxshare] or [share] I cannot access it . If I name it [MyStuff] it works fine .

    I'm not making this up .

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •