auth/credentials: Dynamically calculate the salt principal (unless speccified)
authorAndrew Bartlett <abartlet@samba.org>
Wed, 20 Dec 2023 23:00:46 +0000 (12:00 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 22:06:39 +0000 (22:06 +0000)
commitdd993c217032ad6f6188947f4d4d96ec7da70823
tree936463a9a21d332d9c34190c480d95e7962bc375
parent9fc11e329c90351b9b14212ce849894acdd50b45
auth/credentials: Dynamically calculate the salt principal (unless speccified)

This helps pull the salt principal calculation into a single spot.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
auth/credentials/credentials.h
auth/credentials/credentials_krb5.c
auth/credentials/pycredentials.c
source3/winbindd/winbindd_util.c