Description of problem:
If you pre-create a machine account on AD and then add additional SPNs to that account with:
setspn -A nfs/client01 client01
setspn -A nfs/client01.domain.site
and then join a linux machine to AD with:
net ads join
all previously set SPNs will be overwritten.
libnet_join_set_machine_spn() doesn't check if SPNs already exist and overwrites them.
Created attachment 10311 [details]
Created attachment 10314 [details]
Comment on attachment 10311 [details]
Comment on attachment 10314 [details]
Re-assigning to Karolin for inclusion in 4.0.next, 4.1.next.
Pushed to autobuild-v4-[0|1]-test.
Pushed to both branches.
Closing out bug report.