![](https://secure.gravatar.com/avatar/8c8c6e35ec7ca5c708a6049152b2bedd.jpg?s=120&d=mm&r=g)
On Tue, Jul 16, 2019, at 9:56 AM, sandeep kumar wrote:
Thanks Abhilash for valuable inputs.
I will come back to you if in case of any challenges.
We have also implemented sending SMS notification along with the mail notification to the moderator whenever the post is held for approval.
Would be curious to see how you did this, and maybe suggest something in case you are using internal APIs which could break when upgrading to a new version.
We could able to achieve that through the inputs received from this mailing list group. Thanks once again
Regards Sandeep
Sent from my iPhone
On 16-Jul-2019, at 9:37 PM, Abhilash Raj <maxking@asynchronous.in> wrote:
On Tue, Jul 16, 2019, at 4:12 AM, sandeep kumar wrote: Hi Team
We want to integrate LDAP authentication for a user to login into postorious.
When a user tries to login, he should be authenticated by an LDAP instead of getting authenticated using the credentials saved in the mailman database.
What file should be edited and any small clue would be welcome.
First see Django's Docs on authentication backends1. This2 seems to come up as the most popular library for LDAP authentication in Django.
You won't have to change anything in the source, only use the appropriate settings defined in the docs of Django-auth-ldap to integrate with LDAP.
There might be some minor details that I am not aware of, but if you setup correct settings, other things should work okay. You *may* have to create your own Sign-In pages though. I am assuming you won't have a sign-up page.
You'll end up making changes in
urls.py
in the mailman-suite project too, just to configure the right URLs to redirect to for authentication.Sorry for sparse information, but I hope this will be a good starting point for you. It would be awesome if you could also document this process if you succeed since there have been some requests in past about integrating with LDAP. It could help others in future :)
-- Regards Sandeep Kumar +91-9642669192
Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-leave@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3
Security Policy: https://wiki.list.org/x/QIA9
-- thanks, Abhilash Raj (maxking)
Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-leave@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3
Security Policy: https://wiki.list.org/x/QIA9
-- thanks, Abhilash Raj (maxking)