Searched refs:ldaprc (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/pam_modules/ldap/ |
H A D | ldap_utils.c | 90 int ldaprc; in authenticate() local 108 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp); in authenticate() 109 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate() 121 ldaprc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P, in authenticate() 123 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate() 129 ldaprc = __ns_ldap_getServiceAuthMethods("pam_ldap", &authpp, &errorp); in authenticate() 130 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate() 138 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in authenticate() 140 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate() 169 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL); in authenticate() [all …]
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | ldap_attr.c | 989 int ldaprc; in ldap_replaceattr() local 1013 ldaprc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P, in ldap_replaceattr() 1015 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr() 1022 ldaprc = __ns_ldap_getServiceAuthMethods("passwd-cmd", &authpp, in ldap_replaceattr() 1025 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr() 1033 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in ldap_replaceattr() 1035 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr() 1065 ldaprc = __ns_ldap_repAttr("shadow", dn, in ldap_replaceattr() 1068 if (ldaprc == NS_LDAP_SUCCESS) { in ldap_replaceattr() 1077 if (ldaprc == NS_LDAP_CONFIG && in ldap_replaceattr() [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | chkey_common.c | 570 int ldaprc; in update_ldap_attr() local 673 ldaprc = __ns_ldap_addAttr("publickey", dn, in update_ldap_attr() 677 ldaprc = __ns_ldap_repAttr("publickey", dn, in update_ldap_attr() 680 if (ldaprc == NS_LDAP_SUCCESS) { in update_ldap_attr() 688 if ((ldaprc == NS_LDAP_INTERNAL) && in update_ldap_attr()
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 797 int ldaprc; in idmap_nldap_set() local 829 ldaprc = __ns_ldap_delAttr( in idmap_nldap_set() 834 ldaprc = __ns_ldap_addAttr( in idmap_nldap_set() 839 ldaprc = __ns_ldap_repAttr( in idmap_nldap_set() 844 if (ldaprc != NS_LDAP_SUCCESS) { in idmap_nldap_set()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connect.c | 1129 process_pwd_mgmt(char *bind_type, int ldaprc, in process_pwd_mgmt() argument 1147 (*errmsg == '\0' || ldaprc == LDAP_SUCCESS)) { in process_pwd_mgmt() 1152 if (ldaprc != LDAP_SUCCESS) { in process_pwd_mgmt() 1161 ldaprc, errmsg); in process_pwd_mgmt() 1168 "- %s"), bind_type, ldap_err2string(ldaprc)); in process_pwd_mgmt() 1172 ldaprc, strdup(errstr), in process_pwd_mgmt() 1175 MKERROR(LOG_ERR, *errorp, ldaprc, strdup(errstr), in process_pwd_mgmt()
|
H A D | ns_writes.c | 1190 int rc, ldaprc; in get_admin_passwd() local 1208 if ((ldaprc = __ns_ldap_getParam(NS_LDAP_ADMIN_BINDPASSWD_P, in get_admin_passwd() 1210 return (ldaprc); in get_admin_passwd()
|
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 4266 int ldaprc; in main() local 4429 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in main() 4431 if (ldaprc != NS_LDAP_SUCCESS || in main()
|