When "net ads join createupn" is called and the system is configured to create a keytab, the upn composed is email@example.com. We should always uppercase the realm part of that principal, so e.g. kinit -k can be called with it.
Created attachment 9407 [details]
patch for master
Created attachment 9408 [details]
patch for 4-1-test
patch is in master now
Karolin, please add the patch to v4-1-test. Thanks!
Pushed to autobuild-v4-1-test.
Pushed to v4-1-test.
Closing out bug report.