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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved LDAP auth is coming

    Shaarli
    4
    11
    379
    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.
    • girish
      girish Staff last edited by girish

      Just noticed that LDAP auth is coming for Shaarli - https://github.com/shaarli/Shaarli/releases/tag/v0.12.0-beta ! https://github.com/shaarli/Shaarli/pull/1428 was the PR.

      1 Reply Last reply Reply Quote 3
      • girish
        girish Staff last edited by

        LDAP auth is now in 0.12.0! I haven't fixed the package to support this yet, but will do so.

        d19dotca 1 Reply Last reply Reply Quote 1
        • d19dotca
          d19dotca @girish last edited by

          @girish Just saw this update. My question isn't specific to this app, but in general when an app is published without LDAP but later gets LDAP and the Cloudron packages are updated to include LDAP, what happens to the original users? I assume they're all same as before? How does one go about migrating to the LDAP authentication in that case? I guess they need to re-deploy the app and migrate all the data to it?

          --
          Dustin Dauncey
          www.d19.ca

          1 Reply Last reply Reply Quote 0
          • necrevistonnezr
            necrevistonnezr last edited by

            Just installed this and was asked to create a new user with password....

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              @d19dotca Good question! Currently, we make the admin choose LDAP integration or not at the app installation time. Once selected during installation, this cannot be changed later. So, there is no supported way to enabling LDAP on the fly.

              What this means for Shaarli is that you have to install a new app with LDAP support and migrate your existing users and data into Shaarli (somehow). Many apps have import/export capabilities to help with this.

              Also, there is a task somewhere for "dynamic addons" (I recall you wanted this for redis as well, where one can just disable redis altogether). If/when we implement that "LDAP" will be a toggle button/checkbox in the UI. Depending on that toggle the app gets configured automatically for LDAP or not. This toggle can be on/off after app installation. Many apps already have a way to fix the mapping of LDAP users and app local users.

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @necrevistonnezr last edited by

                @necrevistonnezr I haven't fixed the package yet, just made a note that the app itself supports it.

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  Turns out LDAP integration is not worth it, because Shaarli is a single user app. Having multiple users login right now is just going to cause confusion.

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    privsec @girish last edited by

                    @girish Does this mean that in order for 5 people to have their own shaarli account, I would need to set up 5 shaarli apps?

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @privsec last edited by

                      @privsec That's correct. Shaarli is not a multi-user app.

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        privsec @girish last edited by

                        @girish Thank you.

                        Is there a multi user app that cloudron has that operates similar to Shaarli?

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @privsec last edited by girish

                          @privsec I think closest is Wallabag. If you find any alternative, do post it in the app request section.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB