s4:kdc/db-glue: let samba_kdc_trust_message2entry always generate the principal
commit3a14835d18905b162929d65175f7ee24a99d522a
authorStefan Metzmacher <metze@samba.org>
Wed, 10 Jun 2015 08:25:20 +0000 (10 10:25 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2015 16:38:20 +0000 (8 18:38 +0200)
tree3c2d1cf62248a96f08490f0358ccb7284e662ac3
parent3943f02691d167cf092a19a10c5bdf4302ab33c3
s4:kdc/db-glue: let samba_kdc_trust_message2entry always generate the principal

We should always return the principal from the values stored in the database.
This also means we need to ignore a missing HDB_F_CANON.

This was demonstrated by running some new tests against windows.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c