s4:kdc: Have principal_comp_strcmp_int() properly indicate an error
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 20 Sep 2023 23:22:51 +0000 (11:22 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 26 Oct 2023 01:24:32 +0000 (01:24 +0000)
commit122117357722445526124ec5ecf9e152bc8e2c87
tree8005e4d9414411142c4c77f1ccb0f4ca27518c16
parentddef0e5e1f63775cd22ee3b3febc6f765abbebf8
s4:kdc: Have principal_comp_strcmp_int() properly indicate an error

We should return error codes rather than silently mask failures.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c