Baikal icon indicating copy to clipboard operation
Baikal copied to clipboard

Patch for LDAP auth and auto user creation and SMTP mailing

Open epsilon-0 opened this issue 3 years ago • 2 comments

Baikal version: 0.9.1

Problem you are having: N/A

Suggested solution: I created a patch for my email setup which adds the following functionalities

  1. LDAP authentication
  2. auto user creation when logging in via caldav/carddav
  3. SMTP mailing using PEAR Mail::factory via SMTP host + user + password

The patch is here - https://github.com/Excision-Mail/ansible-baikal/blob/main/files/baikal-0.9.1-ldap-auth-and-smtp.patch

I've created PRs for LDAP auth and SMTP mailing in sabre-io/dav but the auto user creation is missing in those PRs. I've seen that previously auto user creation was rejected in previous PRs and was hoping that the stance of devs would have changed and hopefully that can be added.

Let me know how I can help to get these changes merged.

epsilon-0 avatar Feb 21 '22 13:02 epsilon-0

If you change it so that the additional settings are only shown when selecting LDAP auth (and hidden for the other methods), this looks good :)

ByteHamster avatar Mar 20 '22 07:03 ByteHamster

Is there any I will try to see how to do that.

epsilon-0 avatar Mar 26 '22 14:03 epsilon-0