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.9k 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.
    • W
      wirestyle22 @tiagom
      last edited by

      @tiagom Yeah. I did that to apply updates etc but now I'm setting up a static ip as this is a server.

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

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • W
          wirestyle22 @Romo
          last edited by wirestyle22

          This post is deleted!
          1 Reply Last reply Reply Quote 1
          • W
            wirestyle22 @Romo
            last edited by

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

            semanage fcontext โ€“at samba_share_t "/home /public(/.*)?"

            need to delete the space between /home and /public to make it /home/public

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

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

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

              semanage fcontext โ€“at samba_share_t "/home /public(/.*)?"

              need to delete the space between /home and /public to make it /home/public

              Edited, thanks

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

                So I finished this guide but my CentOS 7 file server isn't discoverable. Ideas?

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

                  @wirestyle22 Discoverable? You couldn't access using \\server-ip-address\sharename ?

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

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

                    So I finished this guide but my CentOS 7 file server isn't discoverable. Ideas?

                    Are you a Windows shop? Did you add it to DNS?

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

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

                      \\192.168.1.202\etc\home\public

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

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

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

                        So I finished this guide but my CentOS 7 file server isn't discoverable. Ideas?

                        Are you a Windows shop? Did you add it to DNS?

                        Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?

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

                          @wirestyle22 said

                          Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?

                          I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.

                          I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.

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

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

                            @wirestyle22 said

                            Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?

                            I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.

                            I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.

                            I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.

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

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

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

                              @wirestyle22 said

                              Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?

                              I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.

                              I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.

                              I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.

                              Right, I was answering the "discoverable on the network", but actually "by name" which I now realize isn't what you are asking.

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

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

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

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

                                @wirestyle22 said

                                Yes I want to acces it from a Windows PC. No I didn't add it to DNS. Can we add this to the guide?

                                I meant if you are used to the Windows world (which I am), the devices just automagically add themselves to DNS.

                                I have memorized all my Linux box IPs because I haven't had the desire to add them into DNS manually yet. Which made me wonder if it was the same issue.

                                I'm just attempting to mount the drive. With a static IP I don't think that's required, right? Or do you mean to make it discoverable on the network? It's probably required for that.

                                Right, I was answering the "discoverable on the network", but actually "by name" which I now realize isn't what you are asking.

                                Oh I see. Yeah

                                1 Reply Last reply Reply Quote 0
                                • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post