Home
last modified time | relevance | path

Searched refs:PWU_SUCCESS (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/passwdutil/
H A D__failed_count.c43 return (PWU_SUCCESS); in __incr_failed_count()
48 (ret = ops->lock()) != PWU_SUCCESS) { in __incr_failed_count()
54 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count()
59 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { in __incr_failed_count()
70 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count()
74 PWU_SUCCESS) && in __incr_failed_count()
102 return (PWU_SUCCESS); in __rst_failed_count()
107 (ret = ops->lock()) != PWU_SUCCESS) { in __rst_failed_count()
113 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) in __rst_failed_count()
115 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __rst_failed_count()
[all …]
H A D__set_authtoken_attr.c90 if ((err == PWU_SUCCESS) && rops[i]->update) in __set_authtoken_attr()
93 if ((err == PWU_SUCCESS) && rops[i]->putpwnam) in __set_authtoken_attr()
103 if (err == PWU_SUCCESS) { in __set_authtoken_attr()
106 } else if (err != PWU_SUCCESS && err != PWU_NOT_FOUND) { in __set_authtoken_attr()
125 return (PWU_SUCCESS); in __set_authtoken_attr()
H A Dfiles_attr.c114 res = PWU_SUCCESS; in files_lock()
118 res = PWU_SUCCESS; in files_lock()
129 return (PWU_SUCCESS); in files_unlock()
227 int err = PWU_SUCCESS; in files_getpwnam()
313 return (PWU_SUCCESS); in files_getpwnam()
345 if (res != PWU_SUCCESS) in files_user_to_authenticate()
351 res = PWU_SUCCESS; in files_user_to_authenticate()
358 res = PWU_SUCCESS; in files_user_to_authenticate()
429 if ((res = files_getattr(user, &attr, rep)) == PWU_SUCCESS) { in files_checkhistory()
457 res = PWU_SUCCESS; in files_checkhistory()
[all …]
H A Dnis_attr.c146 if (res != PWU_SUCCESS) in nis_user_to_authenticate()
152 res = PWU_SUCCESS; in nis_user_to_authenticate()
161 res = PWU_SUCCESS; in nis_user_to_authenticate()
201 if (res != PWU_SUCCESS) in nis_getattr()
378 return (PWU_SUCCESS); in nis_getpwnam()
454 return (PWU_SUCCESS); in nis_update()
542 case 0: return (PWU_SUCCESS); in nis_putpwnam()
H A Dnss_attr.c94 int err = PWU_SUCCESS; in nss_getpwnam()
202 return (PWU_SUCCESS); in nss_getpwnam()
230 if (res != PWU_SUCCESS) in nss_getattr()
236 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in nss_getattr()
H A Dldap_attr.c201 int res = PWU_SUCCESS; in ldap_user_to_authenticate()
300 if (res != PWU_SUCCESS) in ldap_getattr()
306 for (w = items; res == PWU_SUCCESS && w != NULL; w = w->next) { in ldap_getattr()
433 if (res != PWU_SUCCESS) in ldap_getpwnam()
437 if (res != PWU_SUCCESS) in ldap_getpwnam()
453 return (PWU_SUCCESS); in ldap_getpwnam()
564 int rc = PWU_SUCCESS; in ldap_update()
958 case NS_LDAP_SUCCESS: return (PWU_SUCCESS); in ldap_to_pwu_code()
H A Dutils.c113 return (PWU_SUCCESS); in dup_pw()
139 return (PWU_SUCCESS); in dup_spw()
H A Dpasswdutil.h197 #define PWU_SUCCESS 0 /* update succeeded */ macro
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c363 } else if (result != PWU_SUCCESS) { in pam_sm_acct_mgmt()
395 if (result == PWU_SUCCESS) { in pam_sm_acct_mgmt()
441 } else if (result != PWU_SUCCESS && result != PWU_DENIED) { in pam_sm_acct_mgmt()
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c147 if (res != PWU_SUCCESS) { in pam_sm_authenticate()
230 if (res != PWU_SUCCESS) { in pam_sm_authenticate()
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c337 PWU_SUCCESS) { in main()
479 case PWU_SUCCESS: in main()
549 if (__get_authtoken_attr(name, rep, &oldattr) != PWU_SUCCESS) in userinput()
1223 if (res == PWU_SUCCESS) { in get_attr()
1225 return (PWU_SUCCESS); in get_attr()
/illumos-gate/usr/src/lib/pam_modules/smb/
H A Dsmb_passwd.c134 if (res != PWU_SUCCESS) { in pam_sm_chauthtok()
/illumos-gate/usr/src/lib/pam_modules/unix_auth/
H A Dunix_auth.c238 if (result != PWU_SUCCESS) in pam_sm_authenticate()
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c218 case PWU_SUCCESS:
/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c296 if (res == PWU_SUCCESS && in pam_sm_authenticate()
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c279 if (result != PWU_SUCCESS) { in get_passwd_defaults()
863 if (__check_history(usrname, pwbuf, pwu_rep) == PWU_SUCCESS) { in pam_sm_chauthtok()
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c465 if (result != PWU_SUCCESS) in remove_key()