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. Using cloudron LDAP on another app

Using cloudron LDAP on another app

Scheduled Pinned Locked Moved Support
ldap
4 Posts 3 Posters 729 Views 3 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.
    • TomsFreitasT Offline
      TomsFreitasT Offline
      TomsFreitas
      wrote on last edited by girish
      #1

      Hello everyone,

      I am trying to setup ansible-semaphore using cloudron's LDAP for authentication.

      By following the steps in the cloudron documentation I have reached this configuration for ansible-semaphore in the docker-compose file:

      SEMAPHORE_LDAP_ACTIVATED: 'yes' # if you wish to use ldap, set to: 'yes' 
            SEMAPHORE_LDAP_HOST: XXXXXXXXXXXXX
            SEMAPHORE_LDAP_PORT: '636'
            SEMAPHORE_LDAP_NEEDTLS: 'yes'
            SEMAPHORE_LDAP_DN_BIND: 'cn=admin,ou=system,dc=cloudron'
            SEMAPHORE_LDAP_PASSWORD: 'XXXXXXXXXXXXXXXXXXXXXXXX'
            SEMAPHORE_LDAP_DN_SEARCH: 'ou=users,dc=cloudron'
            SEMAPHORE_LDAP_SEARCH_FILTER: '(\u0026(objectclass=person)(mail=%s))'
      

      Although I get good results using ldapsearch, ldapwhoami and ansible-semaphore return

      ldap_parse_result: Protocol error (2)
              additional info: 1.3.6.1.4.1.4203.1.11.3 not supported
      

      Anyone knows what's going on?

      Thanks!

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        Is it possible to put semaphore into some debug mode to get more detailed error output? The error as such is very generic.

        TomsFreitasT 1 Reply Last reply
        0
        • nebulonN nebulon

          Is it possible to put semaphore into some debug mode to get more detailed error output? The error as such is very generic.

          TomsFreitasT Offline
          TomsFreitasT Offline
          TomsFreitas
          wrote on last edited by
          #3

          @nebulon No, that's one of the major problems with semaphore. This issue is probably not related to cloudron itself, the post is like a last resort for me.

          girishG 1 Reply Last reply
          0
          • TomsFreitasT TomsFreitas

            @nebulon No, that's one of the major problems with semaphore. This issue is probably not related to cloudron itself, the post is like a last resort for me.

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

            @TomsFreitas an idea is to then check cloudron server logs.

            LDAP logs are suppressed by default. For this:

            • Edit /etc/systemd/system/box.service
            • Find the Environment= line. Change "DEBUG=box:*,connect-lastmile,-box:ldap" to "DEBUG=box:*,connect-lastmile"
            • systemctl daemon-reload
            • systemctl restart box

            Now, maybe something appears in /home/yellowtent/platformdata/logs/box.log .

            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