Searched refs:authtok_type (Results 1 - 8 of 8) sorted by relevance

/sssd-io/src/providers/
H A Ddp_auth_util.c31 uint32_t authtok_type; local
45 authtok_type = (uint32_t)sss_authtok_get_type(pd->authtok);
62 DBUS_TYPE_UINT32, &authtok_type,
81 uint32_t authtok_type; local
100 DBUS_TYPE_UINT32, &authtok_type,
124 ret = sss_authtok_set((*new_pd)->authtok, authtok_type,
/sssd-io/src/sss_client/
H A Dpam_message.c34 enum sss_authtok_type authtok_type,
51 c = authtok_type;
33 add_authtok_item(enum pam_item_type type, enum sss_authtok_type authtok_type, const char *tok, const size_t size, uint8_t *buf) argument
H A Dpam_sss.c66 #define PAM_SSS_AUTHOK_TYPE "pam_sss:authtok_type"
2088 int *authtok_type; local
2093 (const void **) &authtok_type);
2120 pi->pam_authtok_type = *authtok_type;
2129 int *authtok_type; local
2133 authtok_type = malloc(sizeof(int));
2134 if (authtok_type == NULL) {
2138 *authtok_type = pi->pam_authtok_type;
2140 pam_status = pam_set_data(pamh, PAM_SSS_AUTHOK_TYPE, authtok_type,
2143 free(authtok_type);
[all...]
/sssd-io/src/providers/krb5/
H A Dkrb5_auth.c465 enum sss_authtok_type authtok_type; local
491 authtok_type = sss_authtok_get_type(pd->authtok);
496 if (authtok_type != SSS_AUTHTOK_TYPE_PASSWORD
497 && authtok_type != SSS_AUTHTOK_TYPE_2FA
498 && authtok_type != SSS_AUTHTOK_TYPE_SC_PIN
499 && authtok_type != SSS_AUTHTOK_TYPE_SC_KEYPAD) {
501 if (authtok_type == SSS_AUTHTOK_TYPE_EMPTY) {
515 authtok_type);
524 authtok_type != SSS_AUTHTOK_TYPE_PASSWORD) {
534 if (authtok_type !
[all...]
/sssd-io/src/providers/ldap/
H A Dldap_options.c49 const char *authtok_type; local
325 authtok_type = dp_opt_get_string(opts->basic, SDAP_DEFAULT_AUTHTOK_TYPE);
326 if (authtok_type != NULL &&
327 strcasecmp(authtok_type,"obfuscated_password") == 0) {
H A Dsdap_async_connection.c1339 static int sdap_auth_get_authtok(const char *authtok_type, argument
1343 if (!authtok_type) return EOK;
1346 if (strcasecmp(authtok_type,"password") == 0) {
1352 authtok_type);
1790 const char *authtok_type; local
1831 authtok_type = dp_opt_get_string(state->opts->basic,
1839 if (authtok_type != NULL) {
1840 if (strcasecmp(authtok_type, "password") != 0) {
/sssd-io/src/db/
H A Dsysdb.h1117 enum sss_authtok_type authtok_type,
H A Dsysdb_ops.c3181 enum sss_authtok_type authtok_type,
3215 ret = sysdb_attrs_add_long(attrs, SYSDB_CACHEDPWD_TYPE, authtok_type);
3218 if (authtok_type == SSS_AUTHTOK_TYPE_2FA && second_factor_len > 0) {
3178 sysdb_cache_password_ex(struct sss_domain_info *domain, const char *username, const char *password, enum sss_authtok_type authtok_type, size_t second_factor_len) argument

Completed in 45 milliseconds