X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/8dadaf0af0d3b92a2282a1c5bcb1305a97e135d8..refs/heads/ldap:/README.md?ds=inline diff --git a/README.md b/README.md index 9105c7f..405185c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ See [jirafeau.net](https://jirafeau.net/) for a demo. - Shows progression: speed, percentage and remaining upload time - Preview content in browser (if possible) - Optional password protection (for uploading or downloading) +- LDAP authentication for uploaders - Set expiration time for downloads - Option to self-destruct after first download - Shortened URLs using base 64 encoding @@ -292,6 +293,17 @@ So: - The button "delete link" will delete the reference to the file but might not destroy the file. - The button "delete file and links" will delete all references pointing to the file and will destroy the file. +### How can I setup LDAP authentication? + +LDAP authentication is disabled by default. To use it, you will need to install [PHP LDAP extension](https://www.php.net/manual/en/book.ldap.php) and edit your `lib/config.local.php` to set those options: +- `upload_ldap_auth`: set it to `true` +- `upload_ldap_host`: set it to your ldap host +- `upload_ldap_base_dn`: set it to your base DN + +More details in [config.original.php](lib/config.original.php)'s documentation. + +Note that you can test around LDAP with [docker-compose example](./docker/docker-compose-examples/ldap/). + ### How to contact someone from Jirafeau? Feel free to create an issue if you found a bug.