s3:utils: Modify default behaviour of 'net ads keytab add'
authorNoel Power <noel.power@suse.com>
Fri, 9 Feb 2018 14:03:33 +0000 (14:03 +0000)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 2 Mar 2018 13:07:15 +0000 (14:07 +0100)
commit5adb29f242dde67865017ec8d45852a1fa290ebf
tree64825b5673591dbc75f0a751136d938796fc1d6b
parent4e518ecdda040e1aa47506e436255597437a05ed
s3:utils: Modify default behaviour of 'net ads keytab add'

This change modifies the behaviour of 'net ads keytab add' such
that only the keytab file is modified.

A new command 'net ads keytab add_update_ads' has been added that
preserves the legacy behaviour which can update the AD computer
object with Winows SPN(s) as appropriate. Alternatively the new
command 'net ads setspn add' can be used to manually add the
windows SPN(s) that previously would have been added.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/net_ads.c