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. Shaarli
  3. LDAP auth is coming

LDAP auth is coming

Scheduled Pinned Locked Moved Solved Shaarli
11 Posts 4 Posters 2.1k Views 4 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by girish
    #1

    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
    3
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

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

      d19dotcaD 1 Reply Last reply
      1
      • girishG girish

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

        d19dotcaD Offline
        d19dotcaD Offline
        d19dotca
        wrote on last edited by
        #3

        @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
        0
        • necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by
          #4

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

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

            @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
            1
            • necrevistonnezrN necrevistonnezr

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

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

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

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

                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
                1
                • girishG girish

                  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 Offline
                  P Offline
                  privsec
                  wrote on last edited by
                  #8

                  @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?

                  girishG 1 Reply Last reply
                  0
                  • P privsec

                    @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?

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

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

                    P 1 Reply Last reply
                    1
                    • girishG girish

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

                      P Offline
                      P Offline
                      privsec
                      wrote on last edited by
                      #10

                      @girish Thank you.

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

                      girishG 1 Reply Last reply
                      0
                      • P privsec

                        @girish Thank you.

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

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

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

                        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