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. Code: libnet_join_set_machine_spn() doesn't check if SPNs already exist and overwrites them.
Created attachment 10311 [details] v4-1-test patch
Created attachment 10314 [details] v4-0-test patch
Comment on attachment 10311 [details] v4-1-test patch LGTM.
Comment on attachment 10314 [details] v4-0-test patch LGTM.
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. Thanks!