Why can't I mount shares by SMB since High Sierra











up vote
0
down vote

favorite












Since I updated to High Sierra (directly to 10.13.1) I can't connect my
iMacs and MacBook any more by AFP protocol, so I tried SMB.



open 'smb://user:password@S/Share' :: works, but shows Finder on the screen.



Another problem is that I can't choose the mount point's name.
I work from JAVA applications and thus should work from the command line:



mkdir /Users/user/Volumes/Share/



/sbin/mount -t smbfs //user:password@S/F /Users/user/Volumes/Share/



But this gives:



mount_smbfs: server rejected the connection: Authentication error



What did I do wrong or forgot about?
Thanks in advance.
;JOOP!










share|improve this question
























  • I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
    – Wolfgang Fahl
    Nov 4 at 4:17















up vote
0
down vote

favorite












Since I updated to High Sierra (directly to 10.13.1) I can't connect my
iMacs and MacBook any more by AFP protocol, so I tried SMB.



open 'smb://user:password@S/Share' :: works, but shows Finder on the screen.



Another problem is that I can't choose the mount point's name.
I work from JAVA applications and thus should work from the command line:



mkdir /Users/user/Volumes/Share/



/sbin/mount -t smbfs //user:password@S/F /Users/user/Volumes/Share/



But this gives:



mount_smbfs: server rejected the connection: Authentication error



What did I do wrong or forgot about?
Thanks in advance.
;JOOP!










share|improve this question
























  • I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
    – Wolfgang Fahl
    Nov 4 at 4:17













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Since I updated to High Sierra (directly to 10.13.1) I can't connect my
iMacs and MacBook any more by AFP protocol, so I tried SMB.



open 'smb://user:password@S/Share' :: works, but shows Finder on the screen.



Another problem is that I can't choose the mount point's name.
I work from JAVA applications and thus should work from the command line:



mkdir /Users/user/Volumes/Share/



/sbin/mount -t smbfs //user:password@S/F /Users/user/Volumes/Share/



But this gives:



mount_smbfs: server rejected the connection: Authentication error



What did I do wrong or forgot about?
Thanks in advance.
;JOOP!










share|improve this question















Since I updated to High Sierra (directly to 10.13.1) I can't connect my
iMacs and MacBook any more by AFP protocol, so I tried SMB.



open 'smb://user:password@S/Share' :: works, but shows Finder on the screen.



Another problem is that I can't choose the mount point's name.
I work from JAVA applications and thus should work from the command line:



mkdir /Users/user/Volumes/Share/



/sbin/mount -t smbfs //user:password@S/F /Users/user/Volumes/Share/



But this gives:



mount_smbfs: server rejected the connection: Authentication error



What did I do wrong or forgot about?
Thanks in advance.
;JOOP!







mac file-sharing smb macos-highsierra






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 '17 at 9:09

























asked Nov 17 '17 at 16:47









Sciuriware

1213




1213












  • I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
    – Wolfgang Fahl
    Nov 4 at 4:17


















  • I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
    – Wolfgang Fahl
    Nov 4 at 4:17
















I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
– Wolfgang Fahl
Nov 4 at 4:17




I think this question is still not properly answered. apple.stackexchange.com/questions/256716/… is similar and also does not provide enough info. I'd appreciate if some of the downvoters would explain why they think this is all clear.
– Wolfgang Fahl
Nov 4 at 4:17










4 Answers
4






active

oldest

votes

















up vote
0
down vote













The following command can run in High Sierra (tested in 10.13.6).




mount_smbfs -f 0755 -d 0755 smb://username:passwd@SAMBA_SERVER/PATH /your_local_pre_exist_folder/



Note: the "-f" and "-d" is optional.






share|improve this answer




























    up vote
    -1
    down vote













    Are you by chance trying to authenticate to a Domain? Or specifically NOT wanting to use a Domain when the computer which hosts the remote filesystem is part of a Domain?



    In my situation, my Mac is not on the domain, but the computer hosting the remote filesystem is on a domain. In order to force the remote computer to authenticate against a local user instead of a domain user, I have to use the keyword 'local' in the domain component:



    mount -t smbfs '//local;user:password@S/F' /Volumes/Share





    share|improve this answer























    • The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
      – JakeGould
      Jan 4 at 5:00


















    up vote
    -1
    down vote













    Kind of solved:



    in File Sharing I had to store the passwords of the users involved under "Options".



    I don't like this.






    share|improve this answer






























      up vote
      -1
      down vote













      If you are able to mount your share from the Command-K window, you may be interested in this time saver I use. Mount all the smb//servers/shares you use. Then open a finder window and browse to your computer. You should see the mounted shares there. Drag them one by one ot the Favorites section of the Sidebar; they will remain there after you reboot or log out. The next time you want to mount them, assuming you've saved the credentials, all you need to do is click on the share in the Sidebar and you're in. Dumb but effective.






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1269386%2fwhy-cant-i-mount-shares-by-smb-since-high-sierra%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        The following command can run in High Sierra (tested in 10.13.6).




        mount_smbfs -f 0755 -d 0755 smb://username:passwd@SAMBA_SERVER/PATH /your_local_pre_exist_folder/



        Note: the "-f" and "-d" is optional.






        share|improve this answer

























          up vote
          0
          down vote













          The following command can run in High Sierra (tested in 10.13.6).




          mount_smbfs -f 0755 -d 0755 smb://username:passwd@SAMBA_SERVER/PATH /your_local_pre_exist_folder/



          Note: the "-f" and "-d" is optional.






          share|improve this answer























            up vote
            0
            down vote










            up vote
            0
            down vote









            The following command can run in High Sierra (tested in 10.13.6).




            mount_smbfs -f 0755 -d 0755 smb://username:passwd@SAMBA_SERVER/PATH /your_local_pre_exist_folder/



            Note: the "-f" and "-d" is optional.






            share|improve this answer












            The following command can run in High Sierra (tested in 10.13.6).




            mount_smbfs -f 0755 -d 0755 smb://username:passwd@SAMBA_SERVER/PATH /your_local_pre_exist_folder/



            Note: the "-f" and "-d" is optional.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 27 at 13:29









            Yu You

            11




            11
























                up vote
                -1
                down vote













                Are you by chance trying to authenticate to a Domain? Or specifically NOT wanting to use a Domain when the computer which hosts the remote filesystem is part of a Domain?



                In my situation, my Mac is not on the domain, but the computer hosting the remote filesystem is on a domain. In order to force the remote computer to authenticate against a local user instead of a domain user, I have to use the keyword 'local' in the domain component:



                mount -t smbfs '//local;user:password@S/F' /Volumes/Share





                share|improve this answer























                • The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                  – JakeGould
                  Jan 4 at 5:00















                up vote
                -1
                down vote













                Are you by chance trying to authenticate to a Domain? Or specifically NOT wanting to use a Domain when the computer which hosts the remote filesystem is part of a Domain?



                In my situation, my Mac is not on the domain, but the computer hosting the remote filesystem is on a domain. In order to force the remote computer to authenticate against a local user instead of a domain user, I have to use the keyword 'local' in the domain component:



                mount -t smbfs '//local;user:password@S/F' /Volumes/Share





                share|improve this answer























                • The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                  – JakeGould
                  Jan 4 at 5:00













                up vote
                -1
                down vote










                up vote
                -1
                down vote









                Are you by chance trying to authenticate to a Domain? Or specifically NOT wanting to use a Domain when the computer which hosts the remote filesystem is part of a Domain?



                In my situation, my Mac is not on the domain, but the computer hosting the remote filesystem is on a domain. In order to force the remote computer to authenticate against a local user instead of a domain user, I have to use the keyword 'local' in the domain component:



                mount -t smbfs '//local;user:password@S/F' /Volumes/Share





                share|improve this answer














                Are you by chance trying to authenticate to a Domain? Or specifically NOT wanting to use a Domain when the computer which hosts the remote filesystem is part of a Domain?



                In my situation, my Mac is not on the domain, but the computer hosting the remote filesystem is on a domain. In order to force the remote computer to authenticate against a local user instead of a domain user, I have to use the keyword 'local' in the domain component:



                mount -t smbfs '//local;user:password@S/F' /Volumes/Share






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 4 at 5:01

























                answered Jan 4 at 4:52









                parleer

                1072




                1072












                • The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                  – JakeGould
                  Jan 4 at 5:00


















                • The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                  – JakeGould
                  Jan 4 at 5:00
















                The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                – JakeGould
                Jan 4 at 5:00




                The question was self-answered 2 months ago and states what the solution was. If you believe this is a good enough new issue, feel free to post a new question and self-answer.
                – JakeGould
                Jan 4 at 5:00










                up vote
                -1
                down vote













                Kind of solved:



                in File Sharing I had to store the passwords of the users involved under "Options".



                I don't like this.






                share|improve this answer



























                  up vote
                  -1
                  down vote













                  Kind of solved:



                  in File Sharing I had to store the passwords of the users involved under "Options".



                  I don't like this.






                  share|improve this answer

























                    up vote
                    -1
                    down vote










                    up vote
                    -1
                    down vote









                    Kind of solved:



                    in File Sharing I had to store the passwords of the users involved under "Options".



                    I don't like this.






                    share|improve this answer














                    Kind of solved:



                    in File Sharing I had to store the passwords of the users involved under "Options".



                    I don't like this.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 4 at 13:07









                    Journeyman Geek

                    111k43216365




                    111k43216365










                    answered Nov 18 '17 at 9:45









                    Sciuriware

                    1213




                    1213






















                        up vote
                        -1
                        down vote













                        If you are able to mount your share from the Command-K window, you may be interested in this time saver I use. Mount all the smb//servers/shares you use. Then open a finder window and browse to your computer. You should see the mounted shares there. Drag them one by one ot the Favorites section of the Sidebar; they will remain there after you reboot or log out. The next time you want to mount them, assuming you've saved the credentials, all you need to do is click on the share in the Sidebar and you're in. Dumb but effective.






                        share|improve this answer

























                          up vote
                          -1
                          down vote













                          If you are able to mount your share from the Command-K window, you may be interested in this time saver I use. Mount all the smb//servers/shares you use. Then open a finder window and browse to your computer. You should see the mounted shares there. Drag them one by one ot the Favorites section of the Sidebar; they will remain there after you reboot or log out. The next time you want to mount them, assuming you've saved the credentials, all you need to do is click on the share in the Sidebar and you're in. Dumb but effective.






                          share|improve this answer























                            up vote
                            -1
                            down vote










                            up vote
                            -1
                            down vote









                            If you are able to mount your share from the Command-K window, you may be interested in this time saver I use. Mount all the smb//servers/shares you use. Then open a finder window and browse to your computer. You should see the mounted shares there. Drag them one by one ot the Favorites section of the Sidebar; they will remain there after you reboot or log out. The next time you want to mount them, assuming you've saved the credentials, all you need to do is click on the share in the Sidebar and you're in. Dumb but effective.






                            share|improve this answer












                            If you are able to mount your share from the Command-K window, you may be interested in this time saver I use. Mount all the smb//servers/shares you use. Then open a finder window and browse to your computer. You should see the mounted shares there. Drag them one by one ot the Favorites section of the Sidebar; they will remain there after you reboot or log out. The next time you want to mount them, assuming you've saved the credentials, all you need to do is click on the share in the Sidebar and you're in. Dumb but effective.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 1 at 5:05









                            Mike Deissler

                            1




                            1






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1269386%2fwhy-cant-i-mount-shares-by-smb-since-high-sierra%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                                Alcedinidae

                                Origin of the phrase “under your belt”?