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. FreeScout
  3. Status LDAP integration?

Status LDAP integration?

Scheduled Pinned Locked Moved Solved FreeScout
27 Posts 9 Posters 3.6k Views 9 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.
    • nebulonN nebulon

      I am debugging this right now, but it seems that their LDAP plugin needs quite a bit of rewrite to support the Cloudron use-case.

      In particular on Cloudron an app gets an ldap admin bind account allocated, which allows the app to list users. In FreeScout this bind/admin account needs to have the same DN (essentially LDAP term for namespace) as users. This is not the case on Cloudron to not mix users and app specific accounts.

      I will provide them with feedback, but I am not too hopeful to get this resolved quickly.

      imc67I Online
      imc67I Online
      imc67
      translator
      wrote on last edited by
      #6

      @nebulon really curious what the status is?

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

        Sorry there is still no success here. I am not a real php expert so this will require more time ๐Ÿ˜‰

        murgeroM 1 Reply Last reply
        2
        • nebulonN nebulon

          Sorry there is still no success here. I am not a real php expert so this will require more time ๐Ÿ˜‰

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #8

          @nebulon What's the exact error - I'd be more than happy to help

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          1 Reply Last reply
          3
          • subvenS Offline
            subvenS Offline
            subven
            wrote on last edited by subven
            #9

            So there is still no possibility to get LDAP working within the Freescout App for Cloudron? I have Freescout installed within LAMP but want to switch to the Cloudron app because of automatic updates and user management within Cloudron.

            Edit: Changelog for the LDAP module --> https://freescout.net/module/ldap/?changelog=1

            imc67I 1 Reply Last reply
            1
            • subvenS subven

              So there is still no possibility to get LDAP working within the Freescout App for Cloudron? I have Freescout installed within LAMP but want to switch to the Cloudron app because of automatic updates and user management within Cloudron.

              Edit: Changelog for the LDAP module --> https://freescout.net/module/ldap/?changelog=1

              imc67I Online
              imc67I Online
              imc67
              translator
              wrote on last edited by
              #10

              @subven @nebulon @girish is there any news about the LDAP integration? It would be more than welcome as it is confusing for users to have a โ€œnon-synchronizedโ€ account for this much much used app.

              subvenS 1 Reply Last reply
              1
              • imc67I imc67

                @subven @nebulon @girish is there any news about the LDAP integration? It would be more than welcome as it is confusing for users to have a โ€œnon-synchronizedโ€ account for this much much used app.

                subvenS Offline
                subvenS Offline
                subven
                wrote on last edited by
                #11

                @imc67 I bought the LDAP extension but had no luck because I used the LAMP 7.4 package that includes the Cloudron LDAP addon. Sadly the Freescout documentation says PHP 7.3 and below is required because of ldap_control_paged_result() ๐Ÿ˜ž I will keep testing with the Freescout app and report back.

                1 Reply Last reply
                4
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #12

                  I took another look at the ldap plugin more in-depth and after much debugging, I managed to get it to work in a hackish way. I don't fully understand all the code paths yet, but I reached out to the upstream devs again to hopefully get this sorted out in a proper way.

                  I will keep this thread updated on the progress.

                  subvenS 1 Reply Last reply
                  2
                  • nebulonN nebulon

                    I took another look at the ldap plugin more in-depth and after much debugging, I managed to get it to work in a hackish way. I don't fully understand all the code paths yet, but I reached out to the upstream devs again to hopefully get this sorted out in a proper way.

                    I will keep this thread updated on the progress.

                    subvenS Offline
                    subvenS Offline
                    subven
                    wrote on last edited by
                    #13

                    @nebulon haha okay then you were faster than me. I cloned your ldap branch and started testing two days ago. Thank you for the commitment and the effort!

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

                      We managed to come up with a fix and they have released a new LDAP plugin already which is now compatible.

                      I am currently fixing up the autoconfiguration and then we can enable optional LDAP support in the package. Of course though this is then a bit special, since installing the app with user management integration also means one has to purchase the FreeScout LDAP plugin afterwards.
                      I don't think we have any app in our library following that approach for the moment.

                      girishG 1 Reply Last reply
                      6
                      • nebulonN nebulon

                        We managed to come up with a fix and they have released a new LDAP plugin already which is now compatible.

                        I am currently fixing up the autoconfiguration and then we can enable optional LDAP support in the package. Of course though this is then a bit special, since installing the app with user management integration also means one has to purchase the FreeScout LDAP plugin afterwards.
                        I don't think we have any app in our library following that approach for the moment.

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

                        @nebulon Do freescout plugins work with a license key? If so, is the idea to install with Cloudron authentication and then make the user put in license key for things to start working? Or is it that we cannot put the code at all in the docker image?

                        Also, the closest we have like this is Confluence.

                        marcusquinnM subvenS 2 Replies Last reply
                        2
                        • girishG girish

                          @nebulon Do freescout plugins work with a license key? If so, is the idea to install with Cloudron authentication and then make the user put in license key for things to start working? Or is it that we cannot put the code at all in the docker image?

                          Also, the closest we have like this is Confluence.

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #16

                          @girish Yup, 32 varchar licence keys (as opposed to licence files).

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          1 Reply Last reply
                          1
                          • girishG girish

                            @nebulon Do freescout plugins work with a license key? If so, is the idea to install with Cloudron authentication and then make the user put in license key for things to start working? Or is it that we cannot put the code at all in the docker image?

                            Also, the closest we have like this is Confluence.

                            subvenS Offline
                            subvenS Offline
                            subven
                            wrote on last edited by subven
                            #17

                            @girish basically yes. You can only install an module if you have the license key for it. The env's used by an module can be stored in configuration files beforehand. Usage is therefore opt-in and does not affect normal cloudron users without a license.

                            I like their concept and price model very much and it was easy for me to buy a few (lifetime) module licenses.

                            dsfgdsgsdg.jpg

                            1 Reply Last reply
                            4
                            • nebulonN Offline
                              nebulonN Offline
                              nebulon
                              Staff
                              wrote on last edited by
                              #18

                              Since I kind of got stuck eventually somewhere in the auth framework, of which I am no expert, we have provided the freescout team a Cloudron to be able to reproduce the login issue.

                              They have managed to fix this upstream, so I am trying to work out how we can test this with maybe a test license for package updates...once that is resolved we can finally push a package which supports LDAP ๐Ÿ™‚

                              1 Reply Last reply
                              7
                              • nebulonN Offline
                                nebulonN Offline
                                nebulon
                                Staff
                                wrote on last edited by
                                #19

                                We have published a new app package now, which contains the LDAP fixes.
                                The app can be installed with cloudron usermanagement now, however that feature only works if the Freescout LDAP module is also purchased. Once it is activated, just restart the app and it should work.

                                In order to use this, a fresh FreeScout instance has to be installed!

                                imc67I girishG 2 Replies Last reply
                                4
                                • nebulonN nebulon

                                  We have published a new app package now, which contains the LDAP fixes.
                                  The app can be installed with cloudron usermanagement now, however that feature only works if the Freescout LDAP module is also purchased. Once it is activated, just restart the app and it should work.

                                  In order to use this, a fresh FreeScout instance has to be installed!

                                  imc67I Online
                                  imc67I Online
                                  imc67
                                  translator
                                  wrote on last edited by
                                  #20

                                  @nebulon this is very good news! Do you have any advice how to migrate an existing app?

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

                                    Unfortunately not really. I guess you could try to update your existing, then install a new instance and import a backup from the other into that.
                                    I am not sure though what really happens if user account emails would clash between old and LDAP users in Freescout.

                                    1 Reply Last reply
                                    1
                                    • nebulonN nebulon

                                      We have published a new app package now, which contains the LDAP fixes.
                                      The app can be installed with cloudron usermanagement now, however that feature only works if the Freescout LDAP module is also purchased. Once it is activated, just restart the app and it should work.

                                      In order to use this, a fresh FreeScout instance has to be installed!

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

                                      @nebulon would be great to migrate our freescout instance also!

                                      imc67I 1 Reply Last reply
                                      1
                                      • girishG girish

                                        @nebulon would be great to migrate our freescout instance also!

                                        imc67I Online
                                        imc67I Online
                                        imc67
                                        translator
                                        wrote on last edited by
                                        #23

                                        @girish said in Status LDAP integration?:

                                        @nebulon would be great to migrate our freescout instance also!

                                        I think I wait with ours until you have experienced ๐Ÿ˜€

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

                                          Alright, we managed to migrate our own instance now. Freescout matches users by email, so it would merge the user profiles from LDAP and built-in. The process is as follows:

                                          1. update your current instance to latest version
                                          2. install LDAP module and activate on old version (if not done already, this can also be done later but since the license key does not work multiple times, this is the safer option)
                                          3. create a fresh backup after LDAP module activation
                                          4. Install a fresh FreeScout app instance on your Cloudron
                                          5. Import the latest backup of your old installation into this app
                                          6. Login to new app and verify things are working
                                          7. You can now uninstall the old app instance and probably relocate the new one to the old domain
                                          imc67I 3 Replies Last reply
                                          7
                                          • nebulonN nebulon

                                            Alright, we managed to migrate our own instance now. Freescout matches users by email, so it would merge the user profiles from LDAP and built-in. The process is as follows:

                                            1. update your current instance to latest version
                                            2. install LDAP module and activate on old version (if not done already, this can also be done later but since the license key does not work multiple times, this is the safer option)
                                            3. create a fresh backup after LDAP module activation
                                            4. Install a fresh FreeScout app instance on your Cloudron
                                            5. Import the latest backup of your old installation into this app
                                            6. Login to new app and verify things are working
                                            7. You can now uninstall the old app instance and probably relocate the new one to the old domain
                                            imc67I Online
                                            imc67I Online
                                            imc67
                                            translator
                                            wrote on last edited by
                                            #25

                                            @nebulon this is as usual excellent news and way of working in Cloudron!

                                            Tomorrow morning Iโ€™ll migrate two instances!

                                            1 Reply Last reply
                                            1
                                            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