LDAP auth is coming
-
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.
-
@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....
-
@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.
-
@necrevistonnezr I haven't fixed the package yet, just made a note that the app itself supports it.