1096
1096
if ((rc = ldap_sasl_bind(ld, bindid, mech, &bvcreds, serverctrls,
1097
1097
NULL /* clientctrls */, &mymsgid))) {
1116
1113
struct addrinfo *result = NULL;
1117
gaierr = getaddrinfo(myhostname, NULL, NULL, &result);
1114
gaierr = getaddrinfo(hostname, NULL, NULL, &result);
1123
1121
slapi_log_error(SLAPI_LOG_FATAL, "slapi_ldap_bind",
1124
1122
"Error: could not send bind request for id "
1125
1123
"[%s] authentication mechanism [%s]: error %d (%s), system error %d (%s), "