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

    Creating an anonymous samba share in CentOS 7

    IT Discussion
    how to linux centos 7.2 samba 4
    8
    46
    23.4k
    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.
    • R
      Romo @wirestyle22
      last edited by Romo

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

      @Romo No but maybe I did it wrong. Does the path look like this?

      \\192.168.1.202\etc\home\public

      Should be \\192.168.1.202\public if your share is named public. It should also be visible if you go to \\192.168.1.202

      In the guide the share name is called public, check your smb.conf to make sure the name of share and your path to the folder is correct .

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

      W 1 Reply Last reply Reply Quote 0
      • T
        tiagom
        last edited by

        @wirestyle22 I'm confused do you want to make it discoverable when using network discovery on windows?

        W 1 Reply Last reply Reply Quote 0
        • W
          wirestyle22 @tiagom
          last edited by wirestyle22

          @tiagom I'd like to know how to do that but even just mapping at this point would achieve my goal.

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

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

            0_1471400945289_GLOBALSETS.jpg

            R 3 Replies Last reply Reply Quote 0
            • R
              Romo @wirestyle22
              last edited by

              @wirestyle22 It seems fine. Can you post the output of smbclient -L localhost ran from your samba server please.

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

                @wirestyle22 Just added the steps to mount the share to a Windows 10 PC to the orginal post.

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

                  @Romo I did not output smbclient -L localhost yet. I'll do that when I get home today. The other steps you took were the same steps I did. We'll see what happens with the command. Thanks!

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

                    @wirestyle22 Did you get it working?

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

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

                      @wirestyle22 Did you get it working?

                      Yeah! Whazzup?

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

                        I can't login. Found it though.

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

                          @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.

                          W R 2 Replies Last reply Reply Quote 2
                          • W
                            wirestyle22 @Romo
                            last edited by wirestyle22

                            @Romo It's detectable now but It prompted me to login. Realized none of my work PC's are Windows 10 and I am not sure what the account is considered locally, being an online account. johnsmith@gmail.com would make the domain @gmail.com

                            When I restarted the services they error'd out so I just performed sudo reboot

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

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

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

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

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  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.

                                  T 1 Reply Last reply Reply Quote 1
                                  • T
                                    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
                                    • W
                                      wirestyle22
                                      last edited by

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

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

                                        @Romo

                                        0_1471651610553_ml.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          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?

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

                                            @Romo

                                            0_1471703204117_global.jpg

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