summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-05-08 13:30:40 +1200
committerAndrew Bartlett <abartlet@samba.org>2023-05-18 01:03:37 +0000
commit9a78a8b3f21c934f736870b25065278545359d21 (patch)
tree76e0083f3d7b4e5423348c95fb76a185f55bbaa8
parentc782dd2ffea00bef7d218b5db8435e3205187097 (diff)
downloadsamba-9a78a8b3f21c934f736870b25065278545359d21.tar.gz
s4:kdc: Add missing includes and declarations
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/kdc/pac-glue.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/kdc/pac-glue.h b/source4/kdc/pac-glue.h
index 104ab2a0c9f..f819e2e46cf 100644
--- a/source4/kdc/pac-glue.h
+++ b/source4/kdc/pac-glue.h
@@ -21,7 +21,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "system/kerberos.h"
+#include "auth/kerberos/kerberos.h"
+#include <krb5/krb5.h>
+
+#include "lib/util/data_blob.h"
+#include "lib/util/time.h"
+#include "libcli/util/ntstatus.h"
+#include "libcli/util/werror.h"
#include "librpc/gen_ndr/auth.h"
+#include "kdc/samba_kdc.h"
enum samba_asserted_identity {
SAMBA_ASSERTED_IDENTITY_IGNORE = 0,
@@ -120,6 +129,7 @@ krb5_error_code samba_kdc_validate_pac_blob(
* In the RODC case, to confirm that the returned user is permitted to
* be replicated to the KDC (krbgtgt_xxx user) represented by *rodc
*/
+struct dom_sid;
WERROR samba_rodc_confirm_user_is_allowed(uint32_t num_sids,
const struct dom_sid *object_sids,
const struct samba_kdc_entry *rodc,