diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-16 15:11:38 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 20:25:46 +0200 |
commit | e15a9f81eb33066937710d7dee6976a3646d119c (patch) | |
tree | 12a0d8a30494b6c09653c3a1f7538cd6ec10ed08 /src/providers/dp_dyndns.h | |
parent | e45b81abe0aafa8a04bd64ac31a2fac63ce675b7 (diff) | |
download | sssd-e15a9f81eb33066937710d7dee6976a3646d119c.tar.gz sssd-e15a9f81eb33066937710d7dee6976a3646d119c.tar.bz2 sssd-e15a9f81eb33066937710d7dee6976a3646d119c.zip |
dyndns: new option dyndns_auth
This options is mostly provided for future expansion. Currently it is
undocumented and both IPA and AD dynamic DNS updates default to
GSS-TSIG. Allowed values are GSS-TSIG and none.
Diffstat (limited to 'src/providers/dp_dyndns.h')
-rw-r--r-- | src/providers/dp_dyndns.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/providers/dp_dyndns.h b/src/providers/dp_dyndns.h index a1e31e45..14b2dd08 100644 --- a/src/providers/dp_dyndns.h +++ b/src/providers/dp_dyndns.h @@ -31,8 +31,14 @@ struct sss_iface_addr; typedef void (*nsupdate_timer_fn_t)(void *pvt); +enum be_nsupdate_auth { + BE_NSUPDATE_AUTH_NONE, + BE_NSUPDATE_AUTH_GSS_TSIG, +}; + struct be_nsupdate_ctx { struct dp_option *opts; + enum be_nsupdate_auth auth_type; time_t last_refresh; bool timer_in_progress; @@ -48,6 +54,7 @@ enum dp_dyndns_opts { DP_OPT_DYNDNS_TTL, DP_OPT_DYNDNS_UPDATE_PTR, DP_OPT_DYNDNS_FORCE_TCP, + DP_OPT_DYNDNS_AUTH, DP_OPT_DYNDNS /* attrs counter */ }; @@ -104,6 +111,7 @@ be_nsupdate_create_ptr_msg(TALLOC_CTX *mem_ctx, const char *realm, */ struct tevent_req *be_nsupdate_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, + enum be_nsupdate_auth auth_type, char *nsupdate_msg, bool force_tcp); errno_t be_nsupdate_recv(struct tevent_req *req, int *child_status); |