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

    Linux Domain Controller

    IT Discussion
    linux debian
    11
    113
    39.3k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      That how to is for CentOS 6. Don't use that. Use the modern CentOS 7. It should have everything built in for you. Any how to that has you build from source should set of alarms like crazy. I know this is for home, so experiment all you want. But enterprise IT doesn't build from source, that's a hobbyist activity or a large IT department engineering group prepping packages with custom changes. That's not how RHEL / CentOS or any enterprise OS is meant to be used.

      S 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @A Former User
        last edited by

        @thecreativeone91 said:

        Keep in mind a linux domain is giving you authentication only (and authorization on the local system) no group policy as of yet.

        Group Policy has been available since day one with Samba4. That's never been lacking.

        ? 1 Reply Last reply Reply Quote 0
        • S
          Sparkum @scottalanmiller
          last edited by

          @scottalanmiller

          Ya I definately went with 7 hoping and assuming this wouldnt change.

          I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)

          coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @A Former User
            last edited by

            @thecreativeone91 said:

            There is still a PDC emulator role.

            Emulator rule, true. But no PDC.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Sparkum
              last edited by

              @Sparkum said:

              @coliver

              Tried this and get pages of errors stating cannot resolve to the mirror....Have I maybe just screwed something up with my box?

              As well when I do

              yum install libgnutls-dev I get not available.

              That normally means DNS isn't working.

              1 Reply Last reply Reply Quote 0
              • coliverC
                coliver @Sparkum
                last edited by coliver

                @Sparkum said:

                @scottalanmiller

                Ya I definately went with 7 hoping and assuming this wouldnt change.

                I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)

                Don't switch to 6.5, stick with 7. There are built packages for 7 available, it just looks like your yum mirrors got messed up somehow.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Sparkum
                  last edited by

                  @Sparkum said:

                  @scottalanmiller

                  Ya I definately went with 7 hoping and assuming this wouldnt change.

                  I'll switch to 6.5 (Was gonna go 6.5 just for the larger amount of documentation)

                  No, do NOT use a five year old Linux!! Use 7 and avoid that documentation like the plague. Building from source should be out of the question.

                  S 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Here is THE Linux "How To" site...

                    https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sparkum @scottalanmiller
                      last edited by

                      @scottalanmiller

                      Gah ok haha

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        This is ALL that it takes to install Samba4 on CentOS:

                        yum install samba samba-client samba-common
                        
                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          @thecreativeone91 said:

                          Keep in mind a linux domain is giving you authentication only (and authorization on the local system) no group policy as of yet.

                          Group Policy has been available since day one with Samba4. That's never been lacking.

                          True. But there is no replication for sysvol. So in production it would suck.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @A Former User
                            last edited by

                            @thecreativeone91 said:

                            @scottalanmiller said:

                            True. But there is no replication for sysvol. So in production it would suck.

                            There is no BUILT IN replication. But Linux has great replication natively. Here is the official SysVol Replication How To:

                            https://wiki.samba.org/index.php/SysVol_Replication

                            1 Reply Last reply Reply Quote 0
                            • DanpD
                              Danp @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              CentOS and OpenSuse are always my "go to" choices before anything else. Lots of things are made for Ubuntu today, so that gets used a bit. ML is on Ubuntu, for example, because the NodeBB developers develop on Ubuntu so the testing is better. Sadly, no OpenSuse on CloudatCost, yet. I'm pushing them for that and for FreeBSD.

                              Looks like FreeBSD is coming... https://twitter.com/devashevchuk/status/583256011529666560

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Looks like adding your own OS image is coming. That's cool. I'd prefer if they had their own images, way lower overhead to start up.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sparkum
                                  last edited by

                                  So far I think its safe so say I dont have enough Linux knowledge to easily make a linux DC haha

                                  MattSpellerM 1 Reply Last reply Reply Quote 0
                                  • coliverC
                                    coliver
                                    last edited by

                                    Anything in particular you are getting stuck on?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sparkum
                                      last edited by

                                      So I believe I followed the link Scott posted fairly well.

                                      I'm trying to do

                                      [root@server1 ~]# firewall-cmd --permanent --zone=public --add-service=samba

                                      to which I just get its not running, reading into it that may be something Cloudatcost is in control of though?

                                      So then even moving past it, I cant seem to browse to it from my house.

                                      I'm using a computer that is currently just pulling DHCP from my router and isnt connected to the domain. Can ping it just fine but cant go \dc (dc is what I made the netbios name)

                                      coliverC 1 Reply Last reply Reply Quote 0
                                      • MattSpellerM
                                        MattSpeller @Sparkum
                                        last edited by

                                        @Sparkum said:

                                        So far I think its safe so say I dont have enough Linux knowledge to easily make a linux DC haha

                                        You're doing well so far, stick with it!

                                        1 Reply Last reply Reply Quote 0
                                        • coliverC
                                          coliver @Sparkum
                                          last edited by

                                          @Sparkum said:

                                          So I believe I followed the link Scott posted fairly well.

                                          I'm trying to do

                                          [root@server1 ~]# firewall-cmd --permanent --zone=public --add-service=samba

                                          to which I just get its not running, reading into it that may be something Cloudatcost is in control of though?

                                          So then even moving past it, I cant seem to browse to it from my house.

                                          I'm using a computer that is currently just pulling DHCP from my router and isnt connected to the domain. Can ping it just fine but cant go \dc (dc is what I made the netbios name)

                                          Nope sounds like the CentOS firewall isn't running. You should turn it on. If I'm not mistaken that may be:

                                          service firewalld start
                                          

                                          There may be a different/better way to do it though.

                                          S 2 Replies Last reply Reply Quote 0
                                          • S
                                            Sparkum @coliver
                                            last edited by

                                            @coliver

                                            Redirecting to /bin/systemctl start firewall.service
                                            Failed to issue method call: Unit firewall.service failed to load: no such file or directory

                                            coliverC 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post