sssd  2.2.3
About: SSSD provides a set of daemons to manage access to remote directories and authentication mechanisms such as LDAP, Kerberos or FreeIPA. It provides also an NSS and PAM interface toward the system.
  Fossies Dox: sssd-2.2.3.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ad_machine_pw_renewal.c File Reference
#include "util/util.h"
#include "util/strtonum.h"
#include "providers/be_ptask.h"
#include "providers/ad/ad_common.h"
Include dependency graph for ad_machine_pw_renewal.c:

Go to the source code of this file.

Data Structures

struct  renewal_data
 
struct  renewal_state
 

Macros

#define RENEWAL_PROG_PATH   "/usr/sbin/adcli"
 

Functions

static errno_t get_adcli_extra_args (const char *ad_domain, const char *ad_hostname, const char *ad_keytab, size_t pw_lifetime_in_days, size_t period, size_t initial_delay, struct renewal_data *renewal_data)
 
static void ad_machine_account_password_renewal_done (struct tevent_req *subreq)
 
static void ad_machine_account_password_renewal_timeout (struct tevent_context *ev, struct tevent_timer *te, struct timeval tv, void *pvt)
 
static struct tevent_req * ad_machine_account_password_renewal_send (TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct be_ptask *be_ptask, void *pvt)
 
static errno_t ad_machine_account_password_renewal_recv (struct tevent_req *req)
 
errno_t ad_machine_account_password_renewal_init (struct be_ctx *be_ctx, struct ad_options *ad_opts)
 

Macro Definition Documentation

◆ RENEWAL_PROG_PATH

#define RENEWAL_PROG_PATH   "/usr/sbin/adcli"

Definition at line 30 of file ad_machine_pw_renewal.c.

Function Documentation

◆ ad_machine_account_password_renewal_done()

static void ad_machine_account_password_renewal_done ( struct tevent_req *  subreq)
static

◆ ad_machine_account_password_renewal_init()

◆ ad_machine_account_password_renewal_recv()

static errno_t ad_machine_account_password_renewal_recv ( struct tevent_req *  req)
static

Definition at line 293 of file ad_machine_pw_renewal.c.

References EOK, and TEVENT_REQ_RETURN_ON_ERROR.

Referenced by ad_machine_account_password_renewal_init().

◆ ad_machine_account_password_renewal_send()

◆ ad_machine_account_password_renewal_timeout()

static void ad_machine_account_password_renewal_timeout ( struct tevent_context *  ev,
struct tevent_timer *  te,
struct timeval  tv,
void *  pvt 
)
static

◆ get_adcli_extra_args()

static errno_t get_adcli_extra_args ( const char *  ad_domain,
const char *  ad_hostname,
const char *  ad_keytab,
size_t  pw_lifetime_in_days,
size_t  period,
size_t  initial_delay,
struct renewal_data renewal_data 
)
static