]> git.sur5r.net Git - openldap/commitdiff
ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h
authorHoward Chu <hyc@openldap.org>
Thu, 11 Apr 2002 07:42:57 +0000 (07:42 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 11 Apr 2002 07:42:57 +0000 (07:42 +0000)
servers/slapd/connection.c
servers/slapd/slap.h
servers/slurpd/main.c

index 98972ba51899f53160d7335e4ca0dde36d6eecd6..6e1219ddbaa15252870c36725e38ff1b518b053f 100644 (file)
@@ -605,7 +605,6 @@ void connection2anonymous( Connection *c )
        }
        c->c_cdn.bv_len = 0;
 
-       c->c_authc_backend = NULL;
        c->c_authz_backend = NULL;
     
     {
index dcd97efb695c2dbb1ca1ed2ceca4f67466b5fd4f..c965f984d330fd9f1a44ced96dccf3d8eb24f505 100644 (file)
@@ -1513,10 +1513,7 @@ typedef struct slap_conn {
        struct berval   c_sasl_bind_mech;                       /* mech in progress */
        struct berval   c_cdn;
 
-       /* authentication backend */
-       Backend *c_authc_backend;
-
-       /* authorization backend - normally same as c_authc_backend */
+       /* authorization backend */
        Backend *c_authz_backend;
 
        AuthorizationInformation c_authz;
index 17a6ab717cd1aa5f8ef53b52fa0a7da7be4f9454..f3303678c90851e3315b7fe1d8a48f47e7e498de 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <stdio.h>
 
+#include <ldap_pvt.h>
 #include "slurp.h"
 #include "globals.h"
 #include "lutil.h"