libnet_join: add SPNs for additional-dns-hostnames entries

and set msDS-AdditionalDnsHostName to the specified list.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14116

Signed-off-by: Isaac Boukris <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
Reviewed-by: Alexander Bokovoy <[email protected]>

Autobuild-User(master): Ralph Böhme <[email protected]>
Autobuild-Date(master): Fri Oct 25 10:43:08 UTC 2019 on sn-devel-184
31 jobs for iboukris-v4-11-test in 62 minutes and 39 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #334827996
shared docker
centos7-samba-o3

00:35:12

passed #334827974
shared docker
ctdb

00:35:44

passed #334827992
shared docker
debian9-samba-o3

00:33:55

passed #334827997
shared docker
fedora29-samba-o3

00:33:43

passed #334827998
shared docker
fedora30-samba-o3

00:34:49

passed #334827994
shared docker
opensuse150-samba-o3

00:41:11

passed #334827995
shared docker
opensuse151-samba-o3

00:37:30

passed #334827959
shared docker
others

00:14:12

passed #334827960
shared docker
samba

00:24:28

passed #334827980
samba-ci-private docker
samba-ad-dc-1

00:36:16

passed #334827967
shared docker
samba-ad-dc-2

00:58:22

passed #334827968
shared docker
samba-ad-dc-3

00:45:29

passed #334827969
shared docker
samba-ad-dc-4

01:02:34

passed #334827970
shared docker
samba-ad-dc-5

00:46:19

passed #334827971
shared docker
samba-ad-dc-6

00:32:59

passed #334827977
samba-ci-private docker
samba-ad-dc-backup

00:39:16

passed #334827976
shared docker
samba-ad-dc-ntvfs

00:45:40

passed #334827966
shared docker
samba-ad-member

00:20:13

passed #334827975
shared docker
samba-ctdb

00:21:57

passed #334827978
samba-ci-private docker
samba-fileserver

00:26:52

passed #334827972
shared docker
samba-libs

00:37:46

passed #334827961
shared docker
samba-none-env

01:01:10

passed #334827962
shared docker
samba-nopython

00:32:48

passed #334827963
shared docker
samba-nopython-py2

00:43:39

passed #334827983
samba-ci-private docker
samba-nt4

00:46:09

passed #334827984
samba-ci-private docker
samba-schemaupgrade

00:24:49

passed #334827973
shared docker
samba-static

01:01:09

passed #334827964
shared docker
samba-systemkrb5

00:20:16

passed #334827965
shared docker
samba-xc

00:06:38

passed #334827989
shared docker
ubuntu1604-samba-o3

00:34:15

passed #334827985
shared docker
ubuntu1804-samba-o3

00:35:44