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


SOLVED LDAP auth is coming


  • Staff


  • Staff

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



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



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


  • Staff

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


  • Staff

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


  • Staff

    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.


Log in to reply