Bug 54489 - realmd/adcli support for net ads like params osName / osVer / createupn
Summary: realmd/adcli support for net ads like params osName / osVer / createupn
Status: RESOLVED FIXED
Alias: None
Product: realmd
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 63434
Blocks: 62755
  Show dependency treegraph
 
Reported: 2012-09-04 11:27 UTC by Stef Walter
Modified: 2013-04-26 13:18 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
adcli: Add support for setting operatingSystem and related attrs (12.68 KB, patch)
2013-04-10 11:52 UTC, Stef Walter
Details | Splinter Review
realmd: Add support for the os-name and os-version config options (6.55 KB, patch)
2013-04-11 14:18 UTC, Stef Walter
Details | Splinter Review
Add support for the os-name and os-version config options (6.48 KB, patch)
2013-04-11 15:54 UTC, Stef Walter
Details | Splinter Review
Add support for the os-name and os-version config options (6.49 KB, patch)
2013-04-12 07:32 UTC, Stef Walter
Details | Splinter Review
Fine tune the --os-name and --os-version arguments (1.19 KB, patch)
2013-04-26 11:38 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2012-09-04 11:27:45 UTC
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).
Comment 1 Stef Walter 2013-04-10 11:52:17 UTC
Created attachment 77732 [details] [review]
adcli: Add support for setting operatingSystem and related attrs
Comment 2 Stef Walter 2013-04-10 12:00:10 UTC
Attachment 77732 [details] pushed as 428cf87 - Add support for setting operatingSystem and related attrs
Comment 3 Stef Walter 2013-04-11 13:53:27 UTC
UPN work will happen on bug #54489.
Comment 4 Stef Walter 2013-04-11 14:18:37 UTC
Created attachment 77814 [details] [review]
realmd: Add support for the os-name and os-version config options
Comment 5 Stef Walter 2013-04-11 14:19:02 UTC
Er, reopen for the non UPN stuff.
Comment 6 Stef Walter 2013-04-11 15:54:10 UTC
Created attachment 77823 [details] [review]
Add support for the os-name and os-version config options
Comment 7 Stef Walter 2013-04-11 15:55:25 UTC
Yassir, when you get a chance the realmd (second) patch above is ready for review.
Comment 8 Stef Walter 2013-04-12 07:32:27 UTC
Created attachment 77841 [details] [review]
Add support for the os-name and os-version config options
Comment 9 Stef Walter 2013-04-26 11:38:27 UTC
Created attachment 78519 [details] [review]
Fine tune the --os-name and --os-version arguments

The values should be required
Comment 10 Stef Walter 2013-04-26 11:42:08 UTC
The realmd patch depedns on the future adcli 0.6
Comment 11 Stef Walter 2013-04-26 13:15:06 UTC
Attachment 77841 [details] pushed as 163203e - Add support for the os-name and os-version config options
Comment 12 Stef Walter 2013-04-26 13:18:29 UTC
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.