Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. LDAP authentication for Macintosh

LDAP authentication for Macintosh

Scheduled Pinned Locked Moved Support
10 Posts 2 Posters 1.3k Views 2 Watching
  • 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.
    • andreasduerenA Online
      andreasduerenA Online
      andreasdueren
      wrote on last edited by girish
      #1

      I want to set up the computers in my organization to authenticate with the cloudron LDAP Server but am struggling to get it set up. I am using Tunnelblick on the Computer and whitelisted the VPN IP address as well as the public IP address of the Cloudron Server within the LDAP configuration. Does anyone have any experience with this?

      1 Reply Last reply
      0
      • andreasduerenA Online
        andreasduerenA Online
        andreasdueren
        wrote on last edited by
        #2

        To be honest being able to turn off the static IP restriction would be nice.

        girishG 1 Reply Last reply
        0
        • andreasduerenA andreasdueren

          To be honest being able to turn off the static IP restriction would be nice.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          @andreasdueren you can add entire networks using CIDR notation.

          You can also add public IP address like in https://serverfault.com/questions/304781/ipv4-cidr-ranges-for-everything-except-rfc1918

          andreasduerenA 1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            I was wondering why 0.0.0.0/0 is not accepted. This looks like a bug maybe - https://bugzilla.redhat.com/show_bug.cgi?id=1297092 . Probably not going to be fixed soon.

            1 Reply Last reply
            1
            • girishG girish

              @andreasdueren you can add entire networks using CIDR notation.

              You can also add public IP address like in https://serverfault.com/questions/304781/ipv4-cidr-ranges-for-everything-except-rfc1918

              andreasduerenA Online
              andreasduerenA Online
              andreasdueren
              wrote on last edited by
              #5

              @girish said in LDAP authentification for Macintosh:

              @andreasdueren you can add entire networks using CIDR notation.

              You can also add public IP address like in https://serverfault.com/questions/304781/ipv4-cidr-ranges-for-everything-except-rfc1918

              I've added these but its still throwing a connection error

              0.0.0.0/5
              8.0.0.0/7
              11.0.0.0/8
              12.0.0.0/6
              16.0.0.0/4
              32.0.0.0/3
              64.0.0.0/2
              128.0.0.0/3
              160.0.0.0/5
              168.0.0.0/6
              172.0.0.0/12
              172.32.0.0/11
              172.64.0.0/10
              172.128.0.0/9
              173.0.0.0/8
              174.0.0.0/7
              176.0.0.0/4
              192.0.0.0/9
              192.128.0.0/11
              192.160.0.0/13
              192.169.0.0/16
              192.170.0.0/15
              192.172.0.0/14
              192.176.0.0/12
              192.192.0.0/10
              193.0.0.0/8
              194.0.0.0/7
              196.0.0.0/6
              200.0.0.0/5
              208.0.0.0/4
              

              Screenshot 2023-10-20 at 10.40.51.png Any other ideas?

              girishG 1 Reply Last reply
              0
              • andreasduerenA andreasdueren

                @girish said in LDAP authentification for Macintosh:

                @andreasdueren you can add entire networks using CIDR notation.

                You can also add public IP address like in https://serverfault.com/questions/304781/ipv4-cidr-ranges-for-everything-except-rfc1918

                I've added these but its still throwing a connection error

                0.0.0.0/5
                8.0.0.0/7
                11.0.0.0/8
                12.0.0.0/6
                16.0.0.0/4
                32.0.0.0/3
                64.0.0.0/2
                128.0.0.0/3
                160.0.0.0/5
                168.0.0.0/6
                172.0.0.0/12
                172.32.0.0/11
                172.64.0.0/10
                172.128.0.0/9
                173.0.0.0/8
                174.0.0.0/7
                176.0.0.0/4
                192.0.0.0/9
                192.128.0.0/11
                192.160.0.0/13
                192.169.0.0/16
                192.170.0.0/15
                192.172.0.0/14
                192.176.0.0/12
                192.192.0.0/10
                193.0.0.0/8
                194.0.0.0/7
                196.0.0.0/6
                200.0.0.0/5
                208.0.0.0/4
                

                Screenshot 2023-10-20 at 10.40.51.png Any other ideas?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                andreasduerenA 2 Replies Last reply
                0
                • girishG girish

                  @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                  andreasduerenA Online
                  andreasduerenA Online
                  andreasdueren
                  wrote on last edited by
                  #7

                  @girish said in LDAP authentification for Macintosh:

                  @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                  I've tried that with no other addresses in the whitelist but unfortunately without any luck. I also tried to rule out local network problems by using a phone hotspot.

                  girishG 1 Reply Last reply
                  0
                  • andreasduerenA andreasdueren

                    @girish said in LDAP authentification for Macintosh:

                    @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                    I've tried that with no other addresses in the whitelist but unfortunately without any luck. I also tried to rule out local network problems by using a phone hotspot.

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @andreasdueren Have you tried connecting using telnet my.domain.com 636 ? Does it connect ? Are you using Cloudflare by any chance? Is there a firewall in front of the server? There's many variables here, I think more information the better.

                    1 Reply Last reply
                    0
                    • girishG girish

                      @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                      andreasduerenA Online
                      andreasduerenA Online
                      andreasdueren
                      wrote on last edited by
                      #9

                      @girish said in LDAP authentification for Macintosh:

                      @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                      telnet my.domain.com 636 is not connecting. I'm using Cloudflare but without proxying. My current IP is whitelisted.

                      Interestingly, when the address is whitelisted, this message shows up:

                      telnet my.domain.com 636
                      Trying [Server IP]...
                      Connected to my.domain.com.
                      Escape character is '^]'.
                      Connection closed by foreign host.
                      

                      But when the IP is not whitelisted, it just keeps going and is not getting closed.

                      telnet my.domain.com 636
                      Trying [Server IP]...
                      Connected to my.domain.com.
                      Escape character is '^]'.
                      

                      I don't have any Firewall active.

                      Screenshot 2023-10-21 at 15.00.57.png

                      girishG 1 Reply Last reply
                      0
                      • andreasduerenA andreasdueren

                        @girish said in LDAP authentification for Macintosh:

                        @andreasdueren for a start, just add the IP of the Mac explicitly and see if that works. That will help us understand if this is a network issue or whitelist configuration issue.

                        telnet my.domain.com 636 is not connecting. I'm using Cloudflare but without proxying. My current IP is whitelisted.

                        Interestingly, when the address is whitelisted, this message shows up:

                        telnet my.domain.com 636
                        Trying [Server IP]...
                        Connected to my.domain.com.
                        Escape character is '^]'.
                        Connection closed by foreign host.
                        

                        But when the IP is not whitelisted, it just keeps going and is not getting closed.

                        telnet my.domain.com 636
                        Trying [Server IP]...
                        Connected to my.domain.com.
                        Escape character is '^]'.
                        

                        I don't have any Firewall active.

                        Screenshot 2023-10-21 at 15.00.57.png

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #10

                        @andreasdueren said in LDAP authentification for Macintosh:

                        But when the IP is not whitelisted, it just keeps going and is not getting closed.

                        So strange. The behavior should be the exact opposite!

                        Not sure what to suggest anymore, maybe you can write to support@cloudron.io and we can try to debug.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search