Skip to content
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

LDAP Support #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

LDAP Support #1

wants to merge 6 commits into from

Conversation

uubk
Copy link
Member

@uubk uubk commented Nov 7, 2018

This PR renames the current postfix information backend to "mariadb" and adds a new one called "ldap", defaulting to the first one for backwards compatibility. The LDAP backend uses this schema, which allows us to store all information in LDAP, eliminating the need for a local mariadb completely. This is unfortunately a long PR, feedback would be appreciated. It contains:

  • The new LDAP backend
  • A chroot helper to copy the LDAP CA into postfix's chroot if necessary
  • Support for GSSAPI, if desired (LDAP only)
  • Cleanups of restrictions that used to be split between mail.cf and master.cf

Copy link
Member

@Carbenium Carbenium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it 👍

Did we ever specify how to name the template files? My "convention" is like etc_ssh_ssh__config.j2 so the destination is directly visible.

handlers/main.yml Outdated Show resolved Hide resolved
tasks/main.yml Outdated Show resolved Hide resolved
tasks/main.yml Outdated Show resolved Hide resolved
templates/dovecot/conf.d/10-master.conf.j2 Outdated Show resolved Hide resolved
templates/postfix/main.cf.j2 Outdated Show resolved Hide resolved
@Carbenium
Copy link
Member

I think I'm done here. FreeIPA plugin incl. schema on which this is now based on, can be found here: https://github.com/SOSETH/freeipa-mailserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants