Use a RADIUS server for user authentication. You need php radius extension for this to work. If you get an php segfault your php-radius is too old (see https://bugs.php.net/bug.php?id=60885).

WARNING: this has not been tested on Pydio 7. Please contact us if you want to contribute on this.