From 5c4a924f811d830d55057ffb442ed1405ce7477f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 11 Apr 2002 07:42:57 +0000 Subject: [PATCH] ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h --- servers/slapd/connection.c | 1 - servers/slapd/slap.h | 5 +---- servers/slurpd/main.c | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) 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" -- 2.39.5