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 documentation improvement #7

Open
nka11 opened this issue Nov 30, 2023 · 2 comments
Open

LDAP documentation improvement #7

nka11 opened this issue Nov 30, 2023 · 2 comments

Comments

@nka11
Copy link

nka11 commented Nov 30, 2023

Stalwart offers this integration in a flexible manner and it is already great.

The documentation offers to rely on PosixAccount and PosixGroup object classes but this doesn't fill well
with my needs.

Unfortunately stardadized LDAP objects are not handling properly the specific needs of a MTA while offering some mail related fields, that shoud be used for identity rather than for the MTA user profile and accesses.

We can see also a lot of schema published arond various MTA, but there is no standardized schema with a RFC.

It exist however a few IETF drafts that attempt to solve the issue

https://tools.ietf.org/html/draft-srivastava-ldap-mail-00
https://tools.ietf.org/html/draft-lachman-ldap-mail-routing-03
https://tools.ietf.org/html/draft-steinback-ldap-mailgroups-00

and a LDAP schema published by debops that implements them under an unified OID

https://github.com/debops/debops/blob/master/ansible/roles/slapd/files/etc/ldap/schema/debops/mailservice.schema

I'll be willing to lead some PR's (mostly doc and some code here and there) that publish a stalwart specific schema extension, offering a clear and smooth LDAP integration and setup assistant.

For it to be well done in the state of the art, I will need to use a specific OID identification number that is standardized and contains a IANA that is registered for the entity publishing the shema.
Unfortunately, as far as i know, there is no stalwart IANA PEN number registered.
https://www.iana.org/assignments/enterprise-numbers/?q=stalwart

The registration is quite straightforward and would allow to offer the system admisitrator a dedicated schema for the stalwart user database and configuration.

https://www.iana.org/assignments/enterprise-numbers/assignment/apply/

Please let me know if you're interressed in such a contribution, amd if so, to apply stalwart for a IANA number.

Best regards

@mdecimus
Copy link
Member

Hi, thanks for the suggestion. I will look into this in a few weeks as soon as the performance enhancements are completed.

@nka11
Copy link
Author

nka11 commented Dec 1, 2023

Understood.
I made this condensed view of the proposedByTheDrafts schema extension.
image

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

No branches or pull requests

2 participants