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. WordPress (Developer)
  3. Latest package with LDAP add-on

Latest package with LDAP add-on

Scheduled Pinned Locked Moved WordPress (Developer)
48 Posts 5 Posters 4.4k Views 5 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.
  • d19dotcaD d19dotca

    @Lonk Yeah I did, the incorrect usernames and passwords behave as expected -- they won't login. I've completely deleted the plugin and it still loads up the old credentials. It's definitely not doing LDAP because the password from before when it was Managed (since it didn't have LDAP) is completely different password. I have no idea how this is working this way. lol.

    LonkleL Offline
    LonkleL Offline
    Lonkle
    wrote on last edited by
    #39

    @d19dotca One last idea, check wp-config.php, is it pointing to the database name you edited?

    d19dotcaD 1 Reply Last reply
    0
    • LonkleL Lonkle

      @d19dotca One last idea, check wp-config.php, is it pointing to the database name you edited?

      d19dotcaD Online
      d19dotcaD Online
      d19dotca
      wrote on last edited by
      #40

      @Lonk Good idea! Just checked though and yes indeed it's pointing to the right database, confirmed by comparing the value in wp-config with the value of show databases; in MySQL terminal.

      --
      Dustin Dauncey
      www.d19.ca

      LonkleL 1 Reply Last reply
      0
      • d19dotcaD d19dotca

        @Lonk Good idea! Just checked though and yes indeed it's pointing to the right database, confirmed by comparing the value in wp-config with the value of show databases; in MySQL terminal.

        LonkleL Offline
        LonkleL Offline
        Lonkle
        wrote on last edited by
        #41

        @d19dotca Next idea then, weird caching issue. Can you try it in an incognito window?

        d19dotcaD 1 Reply Last reply
        0
        • LonkleL Lonkle

          @d19dotca Next idea then, weird caching issue. Can you try it in an incognito window?

          d19dotcaD Online
          d19dotcaD Online
          d19dotca
          wrote on last edited by d19dotca
          #42

          @Lonk Ah I did that before, but just tried again in case and still no-dice, it still loads fine with old credentials. I've never run into this issue before. I've seen it the opposite where two passwords would work (i.e. the one from managed and then the one with LDAP on Managed when I went from Unmanaged to Managed once), but that was solved by simply removing the password from the database. This time it's almost the opposite where it'll take the old credentials, not the new ones (if AuthLDAP is disabled anyways which is expected), even though the old credentials don't appear to be stored anywhere.

          --
          Dustin Dauncey
          www.d19.ca

          LonkleL 1 Reply Last reply
          0
          • d19dotcaD d19dotca

            @Lonk Ah I did that before, but just tried again in case and still no-dice, it still loads fine with old credentials. I've never run into this issue before. I've seen it the opposite where two passwords would work (i.e. the one from managed and then the one with LDAP on Managed when I went from Unmanaged to Managed once), but that was solved by simply removing the password from the database. This time it's almost the opposite where it'll take the old credentials, not the new ones (if AuthLDAP is disabled anyways which is expected), even though the old credentials don't appear to be stored anywhere.

            LonkleL Offline
            LonkleL Offline
            Lonkle
            wrote on last edited by
            #43

            @d19dotca Alright, throwing spaghetti at the wall now. πŸ˜‚ Clone the installation and try to login in THAT installation.

            d19dotcaD 4 Replies Last reply
            0
            • LonkleL Lonkle

              @d19dotca Alright, throwing spaghetti at the wall now. πŸ˜‚ Clone the installation and try to login in THAT installation.

              d19dotcaD Online
              d19dotcaD Online
              d19dotca
              wrote on last edited by
              #44

              @Lonk haha, fair enough, I'll try that too.

              --
              Dustin Dauncey
              www.d19.ca

              1 Reply Last reply
              0
              • LonkleL Lonkle

                @d19dotca Alright, throwing spaghetti at the wall now. πŸ˜‚ Clone the installation and try to login in THAT installation.

                d19dotcaD Online
                d19dotcaD Online
                d19dotca
                wrote on last edited by
                #45

                @Lonk Same thing on the cloned app 😞 I'm completely out of ideas. I can't explain this, haha.

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply
                0
                • LonkleL Lonkle

                  @d19dotca Alright, throwing spaghetti at the wall now. πŸ˜‚ Clone the installation and try to login in THAT installation.

                  d19dotcaD Online
                  d19dotcaD Online
                  d19dotca
                  wrote on last edited by
                  #46

                  @Lonk Btw I don’t think I said it but... thank you! I appreciate the time you’ve spent trying to troubleshoot it. πŸ™‚

                  --
                  Dustin Dauncey
                  www.d19.ca

                  1 Reply Last reply
                  1
                  • LonkleL Lonkle

                    @d19dotca Alright, throwing spaghetti at the wall now. πŸ˜‚ Clone the installation and try to login in THAT installation.

                    d19dotcaD Online
                    d19dotcaD Online
                    d19dotca
                    wrote on last edited by
                    #47

                    @Lonk Okay I think I may have fixed it, but I'm not certain I trust it. So what I did was generate a new password in the database directly with MD5, then saved that. Then tried and couldn't login again via a private window (so I could still remain logged in elsewhere), then I removed the password again from the database, wondering if that'd let me login with the old password still again, and now it seems to be working as expected when there's no password in there that it will forbid that user from logging in locally. So it seems good now... but not sure how much I trust this, lol. Will keep testing, but I think this may be finally working the way I expect it to, via LDAP Auth only.

                    --
                    Dustin Dauncey
                    www.d19.ca

                    LonkleL 1 Reply Last reply
                    0
                    • d19dotcaD d19dotca

                      @Lonk Okay I think I may have fixed it, but I'm not certain I trust it. So what I did was generate a new password in the database directly with MD5, then saved that. Then tried and couldn't login again via a private window (so I could still remain logged in elsewhere), then I removed the password again from the database, wondering if that'd let me login with the old password still again, and now it seems to be working as expected when there's no password in there that it will forbid that user from logging in locally. So it seems good now... but not sure how much I trust this, lol. Will keep testing, but I think this may be finally working the way I expect it to, via LDAP Auth only.

                      LonkleL Offline
                      LonkleL Offline
                      Lonkle
                      wrote on last edited by
                      #48

                      @d19dotca Wordpress is my favorite and Cloudron is my new development passion so I’m happy to troubleshoot WP stuff to find edge cases that Cloudron may need to account for.

                      I am very for making WP the best it can be on Cloudron. ☺️

                      I’m happy I’ve been able to help troubleshoot with you!

                      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