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.c90 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 Dldap_attr.c989 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 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()