-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a better documentation about authentication and rights #552
Comments
That's a good question. It's really important to understand the two different parts:
Users and usernames are defined in the source of your authentication method. For example, if you're using the IMAP module, you must have an IMAP server with users configured in it. It's the same with LDAP, PAM… If you don't have a service like this, you can use the htpasswd module where the users come from a simple file with a username and a password on each line. You then need this in your configuration file: [auth]
type = htpasswd
htpasswd_filename = /path/to/my/htpasswd/file
htpasswd_encryption = crypt
[rights]
type = owner_only And this in your /path/to/my/htpasswd/file
Is that better than the documentation 😄? |
Yes, merci for your response :-) I managed to figure out most of it by now, but what has cost me the most time where the references to E.g. https://example.com/radicale/user/ http://example.com:5232/Username http://localhost:5232/user/calendar.ics/ etc. Here I was thinking it was some kind of REST style endpoint, not replacing it by the actual user name and looking for the reason why things were not working in all sorts of different places... Highly frustrating. Also, even though you removed the well-known URL stuff again, for the current stable release, shouldn't the default rewrite rules include a |
Definitely. I'm always disappointed when I spend hours fighting against some bad documentation, so… I'm sorry!
We really need to have some documentation pages dedicated to HTTP servers and their configurations. I close this issues as it's tracked by #372 and somehow related to #197 and #511. |
Hi,
I've been going through the user documentation and the mains thing that remains unclear to me is how users are handled. There's talk about users and usernames, but it doesn't talk about where the users are actually coming from and/or how they should be created.
For example, there's this section talking about apache authentication which starts about restricting access only to alice.
Would it be possible to also include where this alice is coming from and how the access is restricted to this user? What should be done where?
Thanks in advance.
The text was updated successfully, but these errors were encountered: