summaryrefslogtreecommitdiff
path: root/source4/kdc/pac-glue.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-11 15:11:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:27 -0500
commitc7792701169baa0ab0d86d5f2b221dd3e7665679 (patch)
treefaf5ab23d0f0659d7828ff8a10f512668853a15f /source4/kdc/pac-glue.c
parentd822b963f9c178f3f2278be717ac97fbcb8de01c (diff)
downloadsamba-c7792701169baa0ab0d86d5f2b221dd3e7665679.tar.gz
samba-c7792701169baa0ab0d86d5f2b221dd3e7665679.tar.bz2
samba-c7792701169baa0ab0d86d5f2b221dd3e7665679.zip
r19664: fix compiler warnings...
should _krb5_find_type_in_ad() also take a const? metze (This used to be commit addc31bd9309cb2b41cbb548c82c80de1cf96c4f)
Diffstat (limited to 'source4/kdc/pac-glue.c')
-rw-r--r--source4/kdc/pac-glue.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c
index 143690ff0d..da920c5fd6 100644
--- a/source4/kdc/pac-glue.c
+++ b/source4/kdc/pac-glue.c
@@ -38,8 +38,8 @@ struct _krb5_krb_auth_data;
static krb5_error_code samba_get_pac(krb5_context context,
struct hdb_ldb_private *private,
krb5_principal client,
- krb5_keyblock *krbtgt_keyblock,
- krb5_keyblock *server_keyblock,
+ const krb5_keyblock *krbtgt_keyblock,
+ const krb5_keyblock *server_keyblock,
time_t tgs_authtime,
krb5_data *pac)
{
@@ -150,11 +150,11 @@ static krb5_error_code wrap_pac(krb5_context context, krb5_data *pac, Authorizat
*/
krb5_error_code hdb_ldb_authz_data_as_req(krb5_context context, struct hdb_entry_ex *entry_ex,
- METHOD_DATA* pa_data_seq,
- time_t authtime,
- EncryptionKey *tgtkey,
- EncryptionKey *sessionkey,
- AuthorizationData **out)
+ METHOD_DATA* pa_data_seq,
+ time_t authtime,
+ const EncryptionKey *tgtkey,
+ const EncryptionKey *sessionkey,
+ AuthorizationData **out)
{
krb5_error_code ret;
int i;
@@ -210,13 +210,13 @@ krb5_error_code hdb_ldb_authz_data_as_req(krb5_context context, struct hdb_entry
/* Resign (and reform, including possibly new groups) a PAC */
krb5_error_code hdb_ldb_authz_data_tgs_req(krb5_context context, struct hdb_entry_ex *entry_ex,
- krb5_principal client,
- AuthorizationData *in,
- time_t authtime,
- EncryptionKey *tgtkey,
- EncryptionKey *servicekey,
- EncryptionKey *sessionkey,
- AuthorizationData **out)
+ krb5_principal client,
+ AuthorizationData *in,
+ time_t authtime,
+ const EncryptionKey *tgtkey,
+ const EncryptionKey *servicekey,
+ const EncryptionKey *sessionkey,
+ AuthorizationData **out)
{
NTSTATUS nt_status;
krb5_error_code ret;