char *ndn;
ber_tag_t tag;
int rc = LDAP_SUCCESS;
- char *text;
+ const char *text;
struct berval cred;
Backend *be;
ndn = suffix_alias( be, ndn );
ret = (*be->be_bind)( be, conn, op, dn, ndn,
- method, mech, &cred, &edn );
+ method, &cred, &edn );
if ( ret == 0 ) {
ldap_pvt_thread_mutex_lock( &conn->c_mutex );
} else {
send_ldap_result( conn, op, rc = LDAP_UNWILLING_TO_PERFORM,
- NULL, "bind function not implemented", NULL, NULL );
+ NULL, "operation not supported within namingContext", NULL, NULL );
}
cleanup: