Topic: Authenticating against Central OpenLDAP
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? Yes.
- Linux/BSD distribution name and version: Ubuntu 24.04.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No.
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Okay so after 4 days I was able to get the schema moved over from a freshly install iRedmail instance to our central OpenLDAP. Now remains the authentication part, for everything authenticating to our central OpenLDAP. I can do this in the next few days. No issue there. My question is we have a structure too our LDAP. I need to figure out how to make it work with that vs the one that iRedmail uses..
Our Structure before importing the ldif for iRedmail:
dc=corp,dc=example,dc=com
>ou=Externals
>ou=Groups
>>ou=Access
>>>cn=Admins
>>>cn=VPN Users
>>cn=Domain Users
>ou=Servers
>ou=ServiceAccounts
>ou=Users
>>uid=username
After
dc=corp,dc=example,dc=com
>ou=Externals
>ou=Groups
>>ou=Access
>>>cn=Admins
>>>cn=VPN Users
>>cn=Domain Users
>ou=Servers
>ou=ServiceAccounts
>ou=Users
>>uid=username
>cn=vmail
>cn=vmailadmin
>o=domainAdmins
>o=domains
>>domainName=example.com
>>>ou=Aliases
>>>ou=Externals
>>>ou=Groups
>>>ou=Users
>>>>mail=postmaster@example.com
so how do I make it where all my users have mail accounts.....all my user accounts are located here.
dc=corp,dc=example,dc=com
>ou=Users
>>uid=username
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.