Tested on: UCS: 5.0-7 errata1023 When inviting new users with the users module a mail can be send if the checkbox is activated. When applying a password policy to the "self registered users" object, this function doesn't work anymore: no mail gets send and nothing happens in /var/log/mail.log.
Upon further investigation, the cause for this wrong behaviour seems to be the expiry date in the password policy: If the expiry date is unset, the invitation email gets send. If the expiry date is set, the invitation email won't get send.
This problem has even more far-reaching consequences than first assumed: We found out that the passwordexpiry function of the Samba policy does not apply if a user changes their password from a Windows client. In this case (strangely enough) the UMC/UDM policy and the password expiry stored there applies. Due to the bug here, it is therefore currently not possible to operate a Samba environment in which users are invited via the self-service and the passwordexpiry policy will be used.
univention-self-service (5.0.10-2) 08e3167b72fe | fix(self-service): Use sambaPwdLastSet in invitation mail listener filter ucs-test (10.0.22-6) faccbafb1f1a | test(self-service): Test self-registration mail delivery Successful build Package: univention-self-service Version: 5.0.10-2 Branch: 5.0-0 Scope: errata5.0-8 The filter was adjusted to use sambaPwdLastSet for the invitation mail listener filter.
OK - univention-self-service 5.0.10-2 OK - tests OK - yaml
<https://errata.software-univention.de/#/?erratum=5.0x1073>