Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c91 int ldaprc; in authenticate() local
109 ldaprc = __ns_ldap_uid2dn(usrname, &binddn, NULL, &errorp); in authenticate()
110 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
122 ldaprc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P, in authenticate()
124 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
130 ldaprc = __ns_ldap_getServiceAuthMethods("pam_ldap", &authpp, &errorp); in authenticate()
131 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
139 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in authenticate()
141 if ((result = __ldap_to_pamerror(ldaprc)) != PAM_SUCCESS) in authenticate()
170 ldaprc = __ns_ldap_auth(credp, 0, &errorp, NULL, NULL); in authenticate()
[all …]
/titanic_50/usr/src/lib/passwdutil/
H A Dldap_attr.c986 int ldaprc; in ldap_replaceattr() local
1010 ldaprc = __ns_ldap_getParam(NS_LDAP_HOST_CERTPATH_P, in ldap_replaceattr()
1012 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1019 ldaprc = __ns_ldap_getServiceAuthMethods("passwd-cmd", &authpp, in ldap_replaceattr()
1022 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1030 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in ldap_replaceattr()
1032 if (ldaprc != NS_LDAP_SUCCESS) in ldap_replaceattr()
1062 ldaprc = __ns_ldap_repAttr("shadow", dn, in ldap_replaceattr()
1065 if (ldaprc == NS_LDAP_SUCCESS) { in ldap_replaceattr()
1074 if (ldaprc == NS_LDAP_CONFIG && in ldap_replaceattr()
[all …]
/titanic_50/usr/src/cmd/keyserv/
H A Dchkey_common.c579 int ldaprc; in update_ldap_attr() local
682 ldaprc = __ns_ldap_addAttr("publickey", dn, in update_ldap_attr()
686 ldaprc = __ns_ldap_repAttr("publickey", dn, in update_ldap_attr()
689 if (ldaprc == NS_LDAP_SUCCESS) { in update_ldap_attr()
697 if ((ldaprc == NS_LDAP_INTERNAL) && in update_ldap_attr()
/titanic_50/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()
/titanic_50/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.c1188 int rc, ldaprc; in get_admin_passwd() local
1206 if ((ldaprc = __ns_ldap_getParam(NS_LDAP_ADMIN_BINDPASSWD_P, in get_admin_passwd()
1208 return (ldaprc); in get_admin_passwd()
/titanic_50/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c4264 int ldaprc; in main() local
4427 ldaprc = __ns_ldap_getParam(NS_LDAP_AUTH_P, (void ***)&authpp, in main()
4429 if (ldaprc != NS_LDAP_SUCCESS || in main()