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.
    • S
      Sparkum
      last edited by

      Hey all.

      So I purchased a server at CloudatCost yesterday and I want to migrate my home DC (windows based) to a linux based DC (probably Debian) server. This will be my first time setting up a linux DC, is there anything important I need to know other than any random webpage (like this one) http://www.golinuxhub.com/2013/06/samba-41-as-active-directory.html

      Can I set it up as the PDC while my windows is still online, de-comissioning the windows one after the fact?

      I have multiple things on this domain so I dont want to simply undo everything and start new.

      Any advice and tips is greatly appreciated.

      Thanks all.

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

        No PDC / BDC concepts in Active Directory. That's a SAM concept from NT 4 days and older. The DC concept replaced them in 2000 when AD was introduced.

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

          You can join a Linux Samba4 DC to a Windows domain, yes. It's a true AD server so acts just like one.

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

            How do you plan to make them talk to one another? We use Pertino for that here. Works great. But I would steer clear of Debian. That's not one of the enterprise Linux platforms (it's good stuff and is the base for Ubuntu but it is not what businesses run on and things that you need will be far, far less likely to support it and experience on it isn't very useful in IT.) I would stick to CentOS or, in a pinch if you really like Debian's way of doing things, Ubuntu.

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

              @scottalanmiller

              I would say I dont know enough where its 100% important what I use, I'm going to be doing the entire thing with google open no matter what flavor I use so I'll take your advise and use CentOS

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

                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.

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

                  @scottalanmiller

                  Will I actually see the linux server in my windows AD when its working?

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

                    @Sparkum said:

                    @scottalanmiller

                    Will I actually see the linux server in my windows AD when its working?

                    Yes, Windows can't tell it isn't a Windows machine. It's a AD server, just like any other.

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

                      @scottalanmiller

                      Oh thats pretty sweet actually, that actually makes me not want to de-commission my windows based DC if they will actually talk to each other.

                      I'll look into Pertino right now.

                      1 Reply Last reply Reply Quote 1
                      • PSX_DefectorP
                        PSX_Defector @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        @Sparkum said:

                        @scottalanmiller

                        Will I actually see the linux server in my windows AD when its working?

                        Yes, Windows can't tell it isn't a Windows machine. It's a AD server, just like any other.

                        More accurately, it's an LDAP server.

                        Despite what people think, Microsoft kept up with proper standards for AD (the overarching product line). Active Directory encompasses a large scope of product lines, certificates, device integration, DNS, DHCP, etc. etc. etc. But at it's core, it's just an LDAP server. Not a super scalable one, but one none the less.

                        What you get with Samba as a controller is an LDAP database. Given AD's ubiquity in the authentication scape, it's a good choice to use as it supports a broad base of OSes with little modification. You can't say the same thing about things like Netware's old eDirectory or straight OpenLDAP.

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

                          Importantly, it is LDAP + Kerberos setup to the AD specks.

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

                            So following this write up:
                            http://www.alexwyn.com/computer-tips/centos-samba4-active-directory-domain-controller

                            I get to step 8 and do the seft test

                            cd samba-master
                            .\configure --enable-debug --enable-selftest

                            and get met with the following error

                            /root/samba-master/source4/lib/tls/wscript:37: error: Building the AD DC requires GnuTLS (eg libgnutls-dev, gnutls-devel) for ldaps:// support and for the BackipKey protocol.

                            Would anyone be able to spread some light on that for me,

                            Found and tried a few things but its not clearing up the message for me.

                            As well when I do the next step

                            make

                            I get WAF_MAKE=1 python ./buildtools/bin/waf build
                            Project not configured (run "waf configure' first)

                            again tried a few things and still hitting walls.

                            Any light that could be shed would be awesome.

                            Thanks guys.

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

                              It sounds like some dependencies didn't get installed. You may want to try installing from a package instead of from source. CentOS has a pre-packaged option. Just do:

                              yum install samba4
                              

                              That should install all the dependencies.

                              S 1 Reply Last reply Reply Quote 1
                              • coliverC
                                coliver
                                last edited by

                                If you want to continue you need to install GnuTLS' devel package.

                                yum install libgnutls-dev
                                

                                From the suggestion above.

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

                                  @scottalanmiller said:

                                  No PDC / BDC concepts in Active Directory. That's a SAM concept from NT 4 days and older. The DC concept replaced them in 2000 when AD was introduced.

                                  There is still a PDC emulator role.

                                  thanksajdotcomT scottalanmillerS 2 Replies Last reply Reply Quote 1
                                  • ?
                                    A Former User
                                    last edited by

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

                                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                                    • thanksajdotcomT
                                      thanksajdotcom @A Former User
                                      last edited by

                                      @thecreativeone91 said:

                                      @scottalanmiller said:

                                      No PDC / BDC concepts in Active Directory. That's a SAM concept from NT 4 days and older. The DC concept replaced them in 2000 when AD was introduced.

                                      There is still a PDC emulator role.

                                      I was going to mention that...LOL

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

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

                                        coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • coliverC
                                          coliver @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.

                                          Odd. You may have to clean the yum cache and try again.

                                          Try:

                                          yum clean-all
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • First post
                                              Last post