samba_spnupdate: don't try to register DNS related SPN if we are not mastering the NC
commit89cb1a46760b2f95abdf832f0db713f1c979caf8
authorMatthieu Patou <mat@matws.net>
Thu, 19 Apr 2012 08:44:14 +0000 (19 01:44 -0700)
committerMatthieu Patou <mat@samba.org>
Thu, 19 Apr 2012 08:57:10 +0000 (19 10:57 +0200)
tree6534eeac1569741545bfbec5d4edc944ebda09a7
parent9ce9389b292dfee7d6c82681a78ef93eeef9b443
samba_spnupdate: don't try to register DNS related SPN if we are not mastering the NC

For RW DC the impact is pretty small but for RODC the whole SPN set is
rejected by the target DC as RODC hasn't the right to register DNS SPN
if it is not mastering this NC.
source4/scripting/bin/samba_spnupdate