The Samba-Bugzilla – Bug 9984
'net ads join' overwrites all servicePrincipleNames in AD
Last modified: 2014-10-13 19:03:17 UTC
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.