Bug 14396 - Add msDS-AdditionalDnsHostName to the keytab and add net-ads-join dnshostname option
Summary: Add msDS-AdditionalDnsHostName to the keytab and add net-ads-join dnshostname...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-27 16:20 UTC by Isaac Boukris
Modified: 2020-06-17 07:48 UTC (History)
7 users (show)

See Also:


Attachments
port fix for v4.12 branch (25.81 KB, patch)
2020-05-29 14:27 UTC, Isaac Boukris
iboukris: review+
asn: review+
iboukris: ci-passed+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Isaac Boukris 2020-05-27 16:20:13 UTC
In bug #14116 we changed the dnsHostName at join time to netbios name and realm instead of machine fqdn, and provided additional-dns-hostnames as alternative to register other SPNs.

However the additional-dns-hostnames entries weren't added to the keytab and it also doesn't provide a way to specify dnsHostName attribute.
Also, it is not an obvious alternative to someone working on this issue.

- add msDS-AdditionalDnsHostName to the keytab.
- add a new net-ads-join dnshostname=fqdn option.
Comment 1 Isaac Boukris 2020-05-29 14:27:25 UTC
Created attachment 16012 [details]
port fix for v4.12 branch
Comment 2 Isaac Boukris 2020-05-29 14:29:00 UTC
Pipeline for the v4.12 backport:
https://gitlab.com/samba-team/devel/samba/-/commits/iboukris-v4-12-test
Comment 3 Andreas Schneider 2020-06-02 06:50:39 UTC
Comment on attachment 16012 [details]
port fix for v4.12 branch

LGTM
Comment 4 Isaac Boukris 2020-06-02 07:05:34 UTC
Hi Karolin, can you please apply to v4-12-test branch, thanks!
Comment 5 Karolin Seeger 2020-06-04 10:36:16 UTC
(In reply to Isaac Boukris from comment #4)
Pushed to autobuild-v4-12-test.
Comment 6 Isaac Boukris 2020-06-05 08:14:10 UTC
(In reply to Karolin Seeger from comment #5)

Thanks!
Comment 7 Karolin Seeger 2020-06-17 07:47:36 UTC
(In reply to Isaac Boukris from comment #6)
Thank you! :)
Comment 8 Karolin Seeger 2020-06-17 07:48:04 UTC
(In reply to Karolin Seeger from comment #5)
Pushed to v4-12-test.
Closing out bug report.

Thanks!