Topic: Strange behaviour when adding domain admins via api
When adding a domain admin via the following curl-command:
curl -X PUT -b cookie.txt -i -d "addAdmin=user@domain.com" https://mail.domain.com/iredadmin/api/d … ns/test.tt
it adds too many users. The log line in iredadmin says the following:
[API] Reset domain (test.tt) admins to: user2@domain.com, user3@domain.com, user1@domain.com
I can't find where it gets the other two users. For one of these it's no problem because that's one of the domain admins but the other is just a user.
iRedMail release: 0.9.7 OPENLDAP edition.
Linux Distribution: Centos 7.4
Apache Webserver
IredAdmin-Pro v3.0
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.