/illumos-gate/usr/src/lib/passwdutil/ |
H A D | __failed_count.c | 43 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.c | 90 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 D | files_attr.c | 114 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 D | nis_attr.c | 146 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 D | nss_attr.c | 94 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 D | ldap_attr.c | 201 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 D | utils.c | 113 return (PWU_SUCCESS); in dup_pw() 139 return (PWU_SUCCESS); in dup_spw()
|
H A D | passwdutil.h | 197 #define PWU_SUCCESS 0 /* update succeeded */ macro
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 363 } 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 D | passwd_auth.c | 147 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 D | passwd.c | 337 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 D | smb_passwd.c | 134 if (res != PWU_SUCCESS) { in pam_sm_chauthtok()
|
/illumos-gate/usr/src/lib/pam_modules/unix_auth/ |
H A D | unix_auth.c | 238 if (result != PWU_SUCCESS) in pam_sm_authenticate()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_store/ |
H A D | authtok_store.c | 218 case PWU_SUCCESS:
|
/illumos-gate/usr/src/lib/pam_modules/authtok_get/ |
H A D | authtok_get.c | 296 if (res == PWU_SUCCESS && in pam_sm_authenticate()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 279 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 D | dhkeys.c | 465 if (result != PWU_SUCCESS) in remove_key()
|