Home
last modified time | relevance | path

Searched refs:ldaprc (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c89 int ldaprc; in authenticate() local
107 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp); in authenticate()
108 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
120 ldaprc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P, in authenticate()
122 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
129 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
139 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
168 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL); in authenticate()
177 if (ldaprc == NS_LDAP_SUCCESS) { in authenticate()
184 } else if (ldaprc == NS_LDAP_SUCCESS_WITH_INFO) { in authenticate()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c987 int ldaprc; in ldap_replaceattr() local
1013 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1023 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1033 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1063 ldaprc = __ns_ldap_repAttr("shadow", dn, in ldap_replaceattr()
1066 if (ldaprc == NS_LDAP_SUCCESS) { in ldap_replaceattr()
1075 if (ldaprc == NS_LDAP_CONFIG && in ldap_replaceattr()
1086 if ((ldaprc == NS_LDAP_INTERNAL) && in ldap_replaceattr()
1090 result = ldaprc; in ldap_replaceattr()
1098 if ((ldaprc == NS_LDAP_INTERNAL) && in ldap_replaceattr()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c570 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 Dnamemaps.c797 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 Dns_connect.c1129 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 Dns_writes.c1190 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 Dldapaddent.c4266 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()