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
  • Brite
  • 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 for authentication of external WordPress site

using Cloudron LDAP for authentication of external WordPress site

Scheduled Pinned Locked Moved Solved Support
ldapuser directorywordpress
4 Posts 3 Posters 266 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.
  • David 0D Offline
    David 0D Offline
    David 0
    wrote last edited by
    #1

    Hi,

    first of all: I know, this might be outside the scope of cloudron support. I've want to use my cloudron als LDAP directory for an external Wordpress site. On this Wordpress, this Plugin is installed: https://plugins.miniorange.com/step-by-step-guide-for-wordpress-ldap-login-plugin

    I've whitelisted the IP address of the external website in the user directory settings. Connection to the cloudron directory server works, but I keep getting this error:

    Connection to LDAP server is Successful but unable to make authenticated bind to LDAP server. Make sure you have provided correct username or password.

    The (free version of the) plugin does not allow my to put the bind secret anywhere. I assume, this might be the issue, but I have no idea how to solve that:

    CleanShot 2025-09-03 at 12.19.35.png

    1 Reply Last reply
    0
    • David 0D David 0

      Hi @james,

      I did not use admin, instead, I used the credentials of a admin (and another non-admin) user of my Cloudron, since it should be present on the LDAP server, as the instructions state. I also tried the credentials of the Wordpress admin user. Didn't help.

      Miniorange's support suggested entering the Bind secret into the Service Account Password field, which also did not work.

      Here are screenshots of

      • the role mapping tab: https://snap.notizlab.de/1TMMdRHF
      • the attribute mapping tab: https://snap.notizlab.de/jthpJyjx
      • the login settings: https://snap.notizlab.de/XLtVcDNp

      I guess they might not be very helpful in particular.

      J Online
      J Online
      joseph
      Staff
      wrote last edited by joseph
      #4

      @David-0 the Service Account Username should be set to cn=admin,ou=system,dc=cloudron and Service Account Password should be the Bind password.

      There are two separate LDAP servers - internal one and an external one. The external facing one can be authenticated against by the one and only "virtual admin user" i.e the admin CN above. Cloudron admin and Cloudron users don't have the permissions to search for other users in the external facing server.

      1 Reply Last reply
      2
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote last edited by
        #2

        Hello @David-0

        Related documentation: https://docs.cloudron.io/user-directory/#ldap-directory-server
        Since Service Account Username is redacted I assume you did not use admin there?

        Can you also share the other tabs configurations of Role Mapping, Attribute Mapping and Login Settings?

        1 Reply Last reply
        0
        • David 0D Offline
          David 0D Offline
          David 0
          wrote last edited by
          #3

          Hi @james,

          I did not use admin, instead, I used the credentials of a admin (and another non-admin) user of my Cloudron, since it should be present on the LDAP server, as the instructions state. I also tried the credentials of the Wordpress admin user. Didn't help.

          Miniorange's support suggested entering the Bind secret into the Service Account Password field, which also did not work.

          Here are screenshots of

          • the role mapping tab: https://snap.notizlab.de/1TMMdRHF
          • the attribute mapping tab: https://snap.notizlab.de/jthpJyjx
          • the login settings: https://snap.notizlab.de/XLtVcDNp

          I guess they might not be very helpful in particular.

          J 1 Reply Last reply
          0
          • David 0D David 0

            Hi @james,

            I did not use admin, instead, I used the credentials of a admin (and another non-admin) user of my Cloudron, since it should be present on the LDAP server, as the instructions state. I also tried the credentials of the Wordpress admin user. Didn't help.

            Miniorange's support suggested entering the Bind secret into the Service Account Password field, which also did not work.

            Here are screenshots of

            • the role mapping tab: https://snap.notizlab.de/1TMMdRHF
            • the attribute mapping tab: https://snap.notizlab.de/jthpJyjx
            • the login settings: https://snap.notizlab.de/XLtVcDNp

            I guess they might not be very helpful in particular.

            J Online
            J Online
            joseph
            Staff
            wrote last edited by joseph
            #4

            @David-0 the Service Account Username should be set to cn=admin,ou=system,dc=cloudron and Service Account Password should be the Bind password.

            There are two separate LDAP servers - internal one and an external one. The external facing one can be authenticated against by the one and only "virtual admin user" i.e the admin CN above. Cloudron admin and Cloudron users don't have the permissions to search for other users in the external facing server.

            1 Reply Last reply
            2
            • David 0D David 0 has marked this topic as solved
            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