mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3:libads: remove unused time_offset from kerberos_kinit_password()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
890fd84486
commit
32dd400f9e
@ -358,14 +358,13 @@ int create_kerberos_key_from_string(krb5_context context,
|
||||
|
||||
int kerberos_kinit_password(const char *principal,
|
||||
const char *password,
|
||||
int time_offset,
|
||||
const char *cache_name)
|
||||
{
|
||||
return kerberos_kinit_password_ext(principal,
|
||||
password,
|
||||
time_offset,
|
||||
0,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
cache_name,
|
||||
False,
|
||||
False,
|
||||
|
@ -57,7 +57,6 @@ int ads_kdestroy(const char *cc_name);
|
||||
|
||||
int kerberos_kinit_password(const char *principal,
|
||||
const char *password,
|
||||
int time_offset,
|
||||
const char *cache_name);
|
||||
bool create_local_private_krb5_conf_for_domain(const char *realm,
|
||||
const char *domain,
|
||||
|
@ -346,7 +346,6 @@ ADS_STATUS kerberos_set_password(const char *auth_principal,
|
||||
|
||||
ret = kerberos_kinit_password(auth_principal,
|
||||
auth_password,
|
||||
0, /* timeoutset */
|
||||
ccname);
|
||||
if (ret != 0) {
|
||||
DBG_ERR("Failed kinit for principal %s (%s)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user