libnet_join_set_machine_spn: simplify adding uniq spn to array
authorIsaac Boukris <iboukris@gmail.com>
Wed, 18 Sep 2019 20:15:57 +0000 (23:15 +0300)
committerRalph Boehme <slow@samba.org>
Fri, 25 Oct 2019 09:21:44 +0000 (09:21 +0000)
commit3e65f72b141a7ee256ae581e5f48f1d930aed76a
tree6027eb13c9a66d29b8cfe26ac76a446eefbe7e2f
parentb8e1264ececf38681ca9a519a51e8336044673f0
libnet_join_set_machine_spn: simplify adding uniq spn to array

and do not skip adding a fully qualified spn to netbios-aliases
in case a short spn already existed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14116

Signed-off-by: Isaac Boukris <iboukris@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/libnet/libnet_join.c