klemens / radicale-auth-seafile

Authenticate Radicale 2 requests against Seafile
GNU General Public License v3.0
1 stars 0 forks source link

Documentation on configuration #1

Closed HazWard closed 6 years ago

HazWard commented 6 years ago

I'm interested in using this plugin with my Radicale setup but there are no instructions on how to set it up to use the current authentication system in Seafile. Would you mind sharing that information (maybe adding a usage section in a README file) ?

Thanks in advance!

klemens commented 6 years ago

Setup is actually quite easy. Just install the module (there is also an arch package and I could also put this on PyPI if it helps) and add the following to your radicale config (you need at least version 2):

[auth]
type = radicale_auth_seafile
seafile_db = postgres://username:password@localhost/ccnet_db

The main problem is that it currently only supports postgresql and not mysql or sqlite. But I guess supporting those wouldn't be very difficult.