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

    NextCloud LDAP Error

    IT Discussion
    6
    41
    3.8k
    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.
    • wirestyle22W
      wirestyle22
      last edited by wirestyle22

      I am attempting to connect my NextCloud 10 server to my domain controller using LDAP.

      0_1482174883290_upload-7222d8d8-bc7d-45a1-8503-ed7be08862d5

      Host: <IP Address of Domain Controller>
      User DN: uid=<admin account> , dc= , dc= ,
      Password: <admin password>
      Base DN: ???

      In some posts I've seen on the Nextcloud forums, people are saying your base OU should be the Base DN. The official documentation says: Example: dc=my-company,dc=com
      When I put dc=my domain,dc=com it still says the Base DN is incorrect.

      I'm sure this is syntax related but I haven't been able to figure it out.

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

        In your other thread, you never mentioned Active Directory, which is a pretty big factor in LDAP setups.

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

          Start with... what is the base of your AD?

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

            @scottalanmiller said in NextCloud LDAP Error:

            Start with... what is the base of your AD?

            CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

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

              @wirestyle22 said in NextCloud LDAP Error:

              @scottalanmiller said in NextCloud LDAP Error:

              Start with... what is the base of your AD?

              CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

              So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

              That's not normal.

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

                @scottalanmiller said in NextCloud LDAP Error:

                @wirestyle22 said in NextCloud LDAP Error:

                @scottalanmiller said in NextCloud LDAP Error:

                Start with... what is the base of your AD?

                CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                That's not normal.

                I tried it both ways 😞

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

                  @wirestyle22 said in NextCloud LDAP Error:

                  @scottalanmiller said in NextCloud LDAP Error:

                  @wirestyle22 said in NextCloud LDAP Error:

                  @scottalanmiller said in NextCloud LDAP Error:

                  Start with... what is the base of your AD?

                  CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                  So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                  That's not normal.

                  I tried it both ways 😞

                  Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

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

                    @scottalanmiller said in NextCloud LDAP Error:

                    @wirestyle22 said in NextCloud LDAP Error:

                    @scottalanmiller said in NextCloud LDAP Error:

                    @wirestyle22 said in NextCloud LDAP Error:

                    @scottalanmiller said in NextCloud LDAP Error:

                    Start with... what is the base of your AD?

                    CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                    So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                    That's not normal.

                    I tried it both ways 😞

                    Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                    The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

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

                      @wirestyle22 said in NextCloud LDAP Error:

                      @scottalanmiller said in NextCloud LDAP Error:

                      @wirestyle22 said in NextCloud LDAP Error:

                      @scottalanmiller said in NextCloud LDAP Error:

                      @wirestyle22 said in NextCloud LDAP Error:

                      @scottalanmiller said in NextCloud LDAP Error:

                      Start with... what is the base of your AD?

                      CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                      So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                      That's not normal.

                      I tried it both ways 😞

                      Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                      The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

                      So you are joining NextCloud to AD that you've never even joined a Windows desktop to? What's the NAME of your AD Domain?

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @scottalanmiller
                        last edited by

                        @scottalanmiller said in NextCloud LDAP Error:

                        @wirestyle22 said in NextCloud LDAP Error:

                        @scottalanmiller said in NextCloud LDAP Error:

                        @wirestyle22 said in NextCloud LDAP Error:

                        @scottalanmiller said in NextCloud LDAP Error:

                        @wirestyle22 said in NextCloud LDAP Error:

                        @scottalanmiller said in NextCloud LDAP Error:

                        Start with... what is the base of your AD?

                        CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                        So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                        That's not normal.

                        I tried it both ways 😞

                        Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                        The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

                        So you are joining NextCloud to AD that you've never even joined a Windows desktop to? What's the NAME of your AD Domain?

                        Right.

                        Let's assume we are talking about NTG here. They domainname might be ntg.co so when adding a computer, you would type in ntg.co, not servername.ntg.co

                        wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22 @Dashrender
                          last edited by

                          @Dashrender said in NextCloud LDAP Error:

                          @scottalanmiller said in NextCloud LDAP Error:

                          @wirestyle22 said in NextCloud LDAP Error:

                          @scottalanmiller said in NextCloud LDAP Error:

                          @wirestyle22 said in NextCloud LDAP Error:

                          @scottalanmiller said in NextCloud LDAP Error:

                          @wirestyle22 said in NextCloud LDAP Error:

                          @scottalanmiller said in NextCloud LDAP Error:

                          Start with... what is the base of your AD?

                          CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                          So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                          That's not normal.

                          I tried it both ways 😞

                          Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                          The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

                          So you are joining NextCloud to AD that you've never even joined a Windows desktop to? What's the NAME of your AD Domain?

                          Right.

                          Let's assume we are talking about NTG here. They domainname might be ntg.co so when adding a computer, you would type in ntg.co, not servername.ntg.co

                          My domain was setup in an odd way. It was the last company that was here before my current employer.

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

                            the domain controller is servername-dc1. Driving home. Will be back in about an hour 😄

                            1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre
                              last edited by

                              He doesn't need to actually join his Nextcloud server to AD does he? He just needs it to pull groups and authenticate NC users.

                              wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @dafyre
                                last edited by

                                @dafyre said in NextCloud LDAP Error:

                                He doesn't need to actually join his Nextcloud server to AD does he? He just needs it to pull groups and authenticate NC users.

                                Correct

                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender
                                  last edited by

                                  @JaredBusch - do you have to join oC to AD, or where you just able to use LDAP authentication? Granted NC is it's own thing, I'm guessing that part probably hasn't changed much.

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

                                    @dafyre said in NextCloud LDAP Error:

                                    He doesn't need to actually join his Nextcloud server to AD does he? He just needs it to pull groups and authenticate NC users.

                                    Not the server, just the application.

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

                                      @Dashrender said in NextCloud LDAP Error:

                                      @JaredBusch - do you have to join oC to AD, or where you just able to use LDAP authentication? Granted NC is it's own thing, I'm guessing that part probably hasn't changed much.

                                      Joining to a domain and authenticating against LDAP are two different terms for the same thing in this instance. Windows 10 joining to a domain is just authenticating against LDAP.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 2
                                      • JaredBuschJ
                                        JaredBusch @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in NextCloud LDAP Error:

                                        @Dashrender said in NextCloud LDAP Error:

                                        @JaredBusch - do you have to join oC to AD, or where you just able to use LDAP authentication? Granted NC is it's own thing, I'm guessing that part probably hasn't changed much.

                                        Joining to a domain and authenticating against LDAP are two different terms for the same thing in this instance. Windows 10 joining to a domain is just authenticating against LDAP.

                                        Right, these are the same thing.

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

                                          @Dashrender said in NextCloud LDAP Error:

                                          @scottalanmiller said in NextCloud LDAP Error:

                                          @wirestyle22 said in NextCloud LDAP Error:

                                          @scottalanmiller said in NextCloud LDAP Error:

                                          @wirestyle22 said in NextCloud LDAP Error:

                                          @scottalanmiller said in NextCloud LDAP Error:

                                          @wirestyle22 said in NextCloud LDAP Error:

                                          @scottalanmiller said in NextCloud LDAP Error:

                                          Start with... what is the base of your AD?

                                          CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                                          So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                                          That's not normal.

                                          I tried it both ways 😞

                                          Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                                          The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

                                          So you are joining NextCloud to AD that you've never even joined a Windows desktop to? What's the NAME of your AD Domain?

                                          Right.

                                          Let's assume we are talking about NTG here. They domainname might be ntg.co so when adding a computer, you would type in ntg.co, not servername.ntg.co

                                          Or more commonly, because that would be a blunder that NTG would not make, it would be something like ad.ntg.co as the domain and a DC would be something like ny-win-dc1.ad.ntg.co.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 2
                                          • JaredBuschJ
                                            JaredBusch @scottalanmiller
                                            last edited by JaredBusch

                                            @scottalanmiller said in NextCloud LDAP Error:

                                            @Dashrender said in NextCloud LDAP Error:

                                            @scottalanmiller said in NextCloud LDAP Error:

                                            @wirestyle22 said in NextCloud LDAP Error:

                                            @scottalanmiller said in NextCloud LDAP Error:

                                            @wirestyle22 said in NextCloud LDAP Error:

                                            @scottalanmiller said in NextCloud LDAP Error:

                                            @wirestyle22 said in NextCloud LDAP Error:

                                            @scottalanmiller said in NextCloud LDAP Error:

                                            Start with... what is the base of your AD?

                                            CN=<username>,CN=FCC,CN=Divison of Information Technology,CN=administration,CN=Departments,DC=domaincontroller.domain,DC=org

                                            So when you join a Windows desktop to the domain, you put domaincontroller.domain.org?

                                            That's not normal.

                                            I tried it both ways 😞

                                            Before we try things, let's be systematic. What do you put onto Windows machines to do this? Ignore NextCloud for the moment.

                                            The last time I've ever had to do anything with LDAP was like 7 years ago working at the hospital. It's been a really long time for me.

                                            So you are joining NextCloud to AD that you've never even joined a Windows desktop to? What's the NAME of your AD Domain?

                                            Right.

                                            Let's assume we are talking about NTG here. They domainname might be ntg.co so when adding a computer, you would type in ntg.co, not servername.ntg.co

                                            Or more commonly, because that would be a blunder that NTG would not make, it would be something like ad.ntg.co as the domain and a DC would be something like ny-win-dc1.ad.ntg.co.

                                            Correct the current Microsoft recommended standard is ad.yourrealdomain.tld

                                            The old standard of domain.local has been not a standard for years and years.

                                            So my test AD infrastructure (because we do not use AD for anything real) is ad.bundystl.com and the DC is bundydc01.ad.bundystl.com

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