Commit 938fb975 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

back-ldbm and ldbm tools now compile.

parent fe242e3c
......@@ -200,7 +200,7 @@ ldbm_back_bind(
if ( krbv4_ldap_auth( be, cred, &ad ) != LDAP_SUCCESS ) {
send_ldap_result( conn, op, LDAP_INVALID_CREDENTIALS,
NULL, NULL );
NULL, NULL, NULL );
rc = 1;
goto return_results;
}
......@@ -208,7 +208,8 @@ ldbm_back_bind(
if ( ! access_allowed( be, conn, op, e,
"krbname", NULL, ACL_AUTH ) )
{
send_ldap_result( conn, op, LDAP_INSUFFICIENT_ACCESS, "", "" );
send_ldap_result( conn, op, LDAP_INSUFFICIENT_ACCESS,
NULL, NULL, NULL );
rc = 1;
goto return_results;
}
......@@ -226,7 +227,7 @@ ldbm_back_bind(
break;
}
send_ldap_result( conn, op, LDAP_INAPPROPRIATE_AUTH,
NULL, NULL );
NULL, NULL, NULL );
rc = 1;
goto return_results;
......@@ -238,7 +239,7 @@ ldbm_back_bind(
if ( value_find( a->a_vals, &krbval, a->a_syntax, 3 ) != 0 ) {
send_ldap_result( conn, op,
LDAP_INVALID_CREDENTIALS, NULL, NULL );
LDAP_INVALID_CREDENTIALS, NULL, NULL, NULL );
rc = 1;
goto return_results;
}
......@@ -247,7 +248,7 @@ ldbm_back_bind(
break;
case LDAP_AUTH_KRBV42:
send_ldap_result( conn, op, LDAP_SUCCESS, NULL, NULL );
send_ldap_result( conn, op, LDAP_SUCCESS, NULL, NULL, NULL );
/* stop front end from sending result */
rc = 1;
goto return_results;
......
......@@ -29,7 +29,8 @@ send_ldap_result(
Operation *op,
int err,
char *matched,
char *text
char *text,
struct berval **refs
)
{
assert(0);
......@@ -42,6 +43,7 @@ send_search_result(
int err,
char *matched,
char *text,
struct berval **refs,
int nentries
)
{
......@@ -62,3 +64,16 @@ send_search_entry(
assert(0);
return -1;
}
int send_search_reference(
Backend *be,
Connection *conn,
Operation *op,
Entry *e,
struct berval **refs,
struct berval ***v2refs
)
{
assert(0);
return -1;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment