adcli should have support parameters like osName / osVer / createupn Samba documentation: createupn[=UPN] Set the userPrincipalName attribute during the join. The deault UPN is in the form host/netbiosname@REALM. createcomputer=OU Precreate the computer account in a specific OU. The OU string read from top to bottom without RDNs and delimited by a '/'. E.g. "createcomputer=Computers/Servers/Unix" NB: A backslash '\' is used as escape at multiple levels and may need to be doubled or even quadrupled. It is not used as a separator. osName=string Set the operatingSystem attribute during the join. osVer=string Set the operatingSystemVersion attribute during the join. NB: osName and osVer must be specified together for either to take effect. Also, the operatingSystemService attribute is also set when along with the two other attributes. And realmd should probably fill in osName and osVer automatically (from its settings), and allow createupn to be specified from the client (such as the realm command).
Created attachment 77732 [details] [review] adcli: Add support for setting operatingSystem and related attrs
Attachment 77732 [details] pushed as 428cf87 - Add support for setting operatingSystem and related attrs
UPN work will happen on bug #54489.
Created attachment 77814 [details] [review] realmd: Add support for the os-name and os-version config options
Er, reopen for the non UPN stuff.
Created attachment 77823 [details] [review] Add support for the os-name and os-version config options
Yassir, when you get a chance the realmd (second) patch above is ready for review.
Created attachment 77841 [details] [review] Add support for the os-name and os-version config options
Created attachment 78519 [details] [review] Fine tune the --os-name and --os-version arguments The values should be required
The realmd patch depedns on the future adcli 0.6
Attachment 77841 [details] pushed as 163203e - Add support for the os-name and os-version config options
Attachment 78519 [details] pushed as 46361aa - Fine tune the --os-name and --os-version arguments Pushed because we would like to get this in for the Test day. Reviewed, tested, and fixed up documentation. Testing info: https://fedoraproject.org/wiki/QA:Testcase_realmd_join_os
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.