s4-auth: Don't check for NULL saltPrincipal if it doesn't need it
authorGarming Sam <garming@catalyst.net.nz>
Wed, 7 Sep 2016 00:18:29 +0000 (12:18 +1200)
committerGarming Sam <garming@samba.org>
Tue, 22 Nov 2016 01:10:16 +0000 (02:10 +0100)
commitb02da114980d46e9e251a5d3dfbf549ef348548a
tree26ce8c6da8fb429f648c1474aba0a9769c96e745
parent44d209c893d28030cb9928b974c8aa31348ac395
s4-auth: Don't check for NULL saltPrincipal if it doesn't need it

This check causes 4.1 domains to be unable to change their DNS backend
correctly as they do not have the saltPrincipal value stored.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10882
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/auth/kerberos/srv_keytab.c