From: Howard Chu Date: Thu, 11 Apr 2002 07:42:57 +0000 (+0000) Subject: ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h X-Git-Tag: OPENLDAP_REL_ENG_2_MP~229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c4a924f811d830d55057ffb442ed1405ce7477f;p=openldap ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 98972ba518..6e1219ddba 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -605,7 +605,6 @@ void connection2anonymous( Connection *c ) } c->c_cdn.bv_len = 0; - c->c_authc_backend = NULL; c->c_authz_backend = NULL; { diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index dcd97efb69..c965f984d3 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -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; diff --git a/servers/slurpd/main.c b/servers/slurpd/main.c index 17a6ab717c..f3303678c9 100644 --- a/servers/slurpd/main.c +++ b/servers/slurpd/main.c @@ -26,6 +26,7 @@ #include +#include #include "slurp.h" #include "globals.h" #include "lutil.h"