ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Creating an anonymous samba share in CentOS 7

    Scheduled Pinned Locked Moved IT Discussion
    how tolinuxcentos 7.2samba 4
    46 Posts 8 Posters 24.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RomoR
      Romo @wirestyle22
      last edited by

      @wirestyle22 Can you please post an ls -l of your share folder

      wirestyle22W 1 Reply Last reply Reply Quote 0
      • wirestyle22W
        wirestyle22 @Romo
        last edited by

        @Romo I will when I get home. Thanks for all of the help btw 😄

        StrongBadS 1 Reply Last reply Reply Quote 1
        • StrongBadS
          StrongBad @wirestyle22
          last edited by

          @wirestyle22 said in Creating an anonymous samba share in CentOS 7:

          @Romo I will when I get home.

          Time to set up that remote access from the office.

          travisdh1T 1 Reply Last reply Reply Quote 1
          • travisdh1T
            travisdh1 @StrongBad
            last edited by

            @StrongBad said in Creating an anonymous samba share in CentOS 7:

            @wirestyle22 said in Creating an anonymous samba share in CentOS 7:

            @Romo I will when I get home.

            Time to set up that remote access from the office.

            ZeroTier ftw!

            1 Reply Last reply Reply Quote 0
            • wirestyle22W
              wirestyle22
              last edited by

              I can't. I'm swamped all the time lol

              1 Reply Last reply Reply Quote 1
              • wirestyle22W
                wirestyle22
                last edited by wirestyle22

                @Romo

                0_1471651610553_ml.jpg

                1 Reply Last reply Reply Quote 0
                • RomoR
                  Romo @Romo
                  last edited by

                  @Romo said in Creating an anonymous samba share in CentOS 7:

                  @wirestyle22 said in Creating an anonymous samba share in CentOS 7:

                  @Romo Still don't know where I'm going wrong here 😞 Is this correct?

                  0_1471400945289_GLOBALSETS.jpg

                  -Modify your global config settings :
                  map to guest = Bad User you wrote Bad user

                  Restart your services
                  systemctl restart smb.service
                  systemctl restart nmb.service

                  Check your folder owner and permissions again.

                  Did you change your global configuration settings?

                  wirestyle22W 1 Reply Last reply Reply Quote 1
                  • wirestyle22W
                    wirestyle22 @Romo
                    last edited by wirestyle22

                    @Romo

                    0_1471703204117_global.jpg

                    RomoR 1 Reply Last reply Reply Quote 0
                    • RomoR
                      Romo @wirestyle22
                      last edited by

                      @wirestyle22 the change in config file should have solved the issue of the share asking you for a password. Did you check config file with testparm to check for any other errors?

                      wirestyle22W 1 Reply Last reply Reply Quote 0
                      • wirestyle22W
                        wirestyle22 @Romo
                        last edited by wirestyle22

                        @Romo

                        Load smb config files from smb.conf.master
                        rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
                        Error loading services.
                        [root@localhost ~]#```
                        RomoR 1 Reply Last reply Reply Quote 0
                        • RomoR
                          Romo @wirestyle22
                          last edited by Romo

                          @wirestyle22 There is something wrong with your configuration. If you created a backup of the original config start from it again.

                          Following the guide you can just:
                          rm smb.conf smb.conf.master
                          cp smb.conf.bak smb.conf.master
                          vi smb.conf.master

                          While editing once again add: map to guest = Bad User to the global parameters section.

                          Go to the bottom of the file and add your share details once again.

                          [sharename]
                          path = /chosen/path
                          read only = No
                          guest ok = Yes
                          browseable = Yes 
                          public = Yes
                          

                          Create your final smb.conf and check for error using:
                          testparm -s smb.conf.master > smb.conf

                          Restart your services:
                          systemctl restart smb.service
                          systemctl restart nmb.service

                          And it should be working.

                          wirestyle22W 1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @Romo
                            last edited by

                            @Romo said in Creating an anonymous samba share in CentOS 7:

                            systemctl restart nmb.service

                            That worked! I must have typo'd somewhere. I did re-read it a ton. Idk. Thanks!

                            RomoR 1 Reply Last reply Reply Quote 0
                            • RomoR
                              Romo @wirestyle22
                              last edited by

                              @wirestyle22 Great!!

                              1 Reply Last reply Reply Quote 1
                              • 1
                              • 2
                              • 3
                              • 3 / 3
                              • First post
                                Last post