Keep Samba 4 AD/LDAP users in sync with ISPConfig mail users
I'm copying this topic because I think this is relevant and extremely useful https://www.howtoforge.com/community/threads/keep-samba-4-ad-ldap-users-in-sync-with-ispconfig-mail-users.70749/
Hi everyone, What would be the best way to synchronize ISPConfig mail users with Samba 4 users? (Sync mail users with user entries in Samba's AD/LDAP Directory)
Use case: We use Redmine+Gitlab+IspConfig, and every time a new user is created we need to create it in both servers. If possible I would like to integrate ISPConfig with a new Samba 4 server, and keep sync of emails account created in ISPConfig. This way as soon a email user were created, it would be enabled at AD/LDAP too.
Ideally, the LDAP sync config would be per domain, and the sync would be enabled per user (default true if LDAP config is active for that domain) , what do you think?
Thanks