]> git.sur5r.net Git - openldap/commitdiff
back-ldbm and ldbm tools now compile.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 9 Jul 1999 18:57:56 +0000 (18:57 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 9 Jul 1999 18:57:56 +0000 (18:57 +0000)
servers/slapd/back-ldbm/bind.c
servers/slapd/tools/mimic.c

index 2fb2abedc76c0e35fa0f464d591583d0fbc8ffa9..6ed9272383ef7002d8a94eb09678217e6fe1aef3 100644 (file)
@@ -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;
index 1facaa2f27a97101a4536a4097abac359fa0bd24..b5e80c58030e47e694516a0a7bfa73995296cda3 100644 (file)
@@ -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;
+}