mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:kdc: Add ‘samdb’ parameter to samba_kdc_verify_pac()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
16cb8c4787
commit
29c230531c
@ -671,6 +671,7 @@ krb5_error_code mit_samba_update_pac(struct mit_samba_context *ctx,
|
|||||||
|
|
||||||
code = samba_kdc_verify_pac(tmp_ctx,
|
code = samba_kdc_verify_pac(tmp_ctx,
|
||||||
context,
|
context,
|
||||||
|
krbtgt_skdc_entry->kdc_db_ctx->samdb,
|
||||||
flags,
|
flags,
|
||||||
client_pac_entry,
|
client_pac_entry,
|
||||||
krbtgt_skdc_entry);
|
krbtgt_skdc_entry);
|
||||||
|
@ -2117,6 +2117,8 @@ static krb5_error_code samba_kdc_get_device_info_blob(TALLOC_CTX *mem_ctx,
|
|||||||
*
|
*
|
||||||
* @param context A krb5 context
|
* @param context A krb5 context
|
||||||
*
|
*
|
||||||
|
* @param samdb An open samdb connection.
|
||||||
|
*
|
||||||
* @param flags Bitwise OR'ed flags
|
* @param flags Bitwise OR'ed flags
|
||||||
*
|
*
|
||||||
* @param client The client samba kdc PAC entry.
|
* @param client The client samba kdc PAC entry.
|
||||||
@ -2127,6 +2129,7 @@ static krb5_error_code samba_kdc_get_device_info_blob(TALLOC_CTX *mem_ctx,
|
|||||||
*/
|
*/
|
||||||
krb5_error_code samba_kdc_verify_pac(TALLOC_CTX *mem_ctx,
|
krb5_error_code samba_kdc_verify_pac(TALLOC_CTX *mem_ctx,
|
||||||
krb5_context context,
|
krb5_context context,
|
||||||
|
struct ldb_context *samdb,
|
||||||
uint32_t flags,
|
uint32_t flags,
|
||||||
const struct samba_kdc_entry_pac client,
|
const struct samba_kdc_entry_pac client,
|
||||||
const struct samba_kdc_entry *krbtgt)
|
const struct samba_kdc_entry *krbtgt)
|
||||||
|
@ -121,6 +121,7 @@ NTSTATUS samba_kdc_check_client_access(struct samba_kdc_entry *kdc_entry,
|
|||||||
|
|
||||||
krb5_error_code samba_kdc_verify_pac(TALLOC_CTX *mem_ctx,
|
krb5_error_code samba_kdc_verify_pac(TALLOC_CTX *mem_ctx,
|
||||||
krb5_context context,
|
krb5_context context,
|
||||||
|
struct ldb_context *samdb,
|
||||||
uint32_t flags,
|
uint32_t flags,
|
||||||
const struct samba_kdc_entry_pac client,
|
const struct samba_kdc_entry_pac client,
|
||||||
const struct samba_kdc_entry *krbtgt);
|
const struct samba_kdc_entry *krbtgt);
|
||||||
|
@ -372,6 +372,7 @@ static krb5_error_code samba_wdc_verify_pac2(astgs_request_t r,
|
|||||||
|
|
||||||
ret = samba_kdc_verify_pac(mem_ctx,
|
ret = samba_kdc_verify_pac(mem_ctx,
|
||||||
context,
|
context,
|
||||||
|
krbtgt_skdc_entry->kdc_db_ctx->samdb,
|
||||||
flags,
|
flags,
|
||||||
client_pac_entry,
|
client_pac_entry,
|
||||||
krbtgt_skdc_entry);
|
krbtgt_skdc_entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user