Searched defs:pwd_policy (Results 1 - 2 of 2) sorted by relevance

/sssd-io/src/providers/ldap/
H A Dldap_options.c42 const char *pwd_policy; local
135 pwd_policy = dp_opt_get_string(opts->basic, SDAP_PWD_POLICY);
136 if (pwd_policy == NULL) {
142 if (strcasecmp(pwd_policy, PWD_POL_OPT_NONE) != 0 &&
143 strcasecmp(pwd_policy, PWD_POL_OPT_SHADOW) != 0 &&
144 strcasecmp(pwd_policy, PWD_POL_OPT_MIT) != 0) {
146 "Unsupported password policy [%s].\n", pwd_policy);
H A Dldap_auth.c268 const char *pwd_policy; local
274 pwd_policy = dp_opt_get_string(opts, SDAP_PWD_POLICY);
275 if (pwd_policy == NULL) {
280 if (strcasecmp(pwd_policy, PWD_POL_OPT_NONE) == 0) {
283 } else if (strcasecmp(pwd_policy, PWD_POL_OPT_MIT) == 0) {
307 } else if (strcasecmp(pwd_policy, PWD_POL_OPT_SHADOW) == 0) {

Completed in 14 milliseconds