1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-07-15 20:34:30 +02:00
docker-mailserver/test/tests/serial
Brennan Kinney 351ef2afa1
tests: LDAP - Improvements to LDIF (#3506)
- The `uniqueIdentifier` attribute is not appropriate and was relying on `objectClass: extensibleObject` as a workaround to allow it. A more appropriate attribute to use instead is `userID` (_short name: `uid`_).
- Removing `extensibleObject` now requires switching the user accounts to use `inetOrgPerson` class (_which inherits from `organizationalPerson`_). which allows the attributes `givenName`, `userID` and `mail` (_also provided via the `PostfixBookMailAccount` class_).
- The LDAP root object now uses `dc` attributes for `example.test` instead of `localhost.localdomain`. This has nothing to do with DMS or LDAP containers networking config, nor the users mail addresses.
- Users are now grouped under the organizational unit of `users` instead of `people`. Purely a naming change out of preference, no functional difference.

The LDAP test ENV has been updated to accommodate the above changes. An additional ENV override was required for SASLAuthd to switch an attribute set for `ldap_filter` in `/etc/saslauthd.conf` from the implicit default of `uniqueIdentifier` (_that we set during startup as an ENV default for fallback_) to the `userID` attribute.
2023-08-29 10:16:08 +12:00
..
mail_pop3.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_imap.bats tests: improve _send_email (#3105) 2023-02-24 10:44:18 +01:00
mail_with_ldap.bats tests: LDAP - Improvements to LDIF (#3506) 2023-08-29 10:16:08 +12:00
mail_with_relays.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
no_container.bats tests: refactor POP3, IMAP (actually SASLauthd + RIMAP) & relay (#3062) 2023-02-06 23:59:01 +01:00
open_dkim.bats chore: Change setup config dkim default key size to 2048 (open-dkim) (#3508) 2023-08-29 09:40:02 +12:00
permit_docker.bats tests: refactor 4 more tests (#3018) 2023-01-24 09:21:39 +01:00
sedfile.bats ci: refactored sedfile & used _send_mail where possible (#3103) 2023-02-22 10:26:04 +01:00
test_helper.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00
tests.bats ci: fix ShellCheck linting for BATS tests (#3347) 2023-05-23 14:33:58 +00:00