From: Howard Chu Date: Sun, 30 Mar 2003 04:01:31 +0000 (+0000) Subject: Delete unused source X-Git-Tag: NO_SLAP_OP_BLOCKS~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3afc12ed6cde001c0ffb32de0f0d1b100764b9d7;p=openldap Delete unused source --- diff --git a/servers/slapd/back-ldbm/Makefile.in b/servers/slapd/back-ldbm/Makefile.in index 9d6d9e5a09..c070a975d6 100644 --- a/servers/slapd/back-ldbm/Makefile.in +++ b/servers/slapd/back-ldbm/Makefile.in @@ -4,13 +4,13 @@ SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c entry.c \ id2entry.c index.c id2children.c nextid.c \ compare.c modify.c modrdn.c delete.c init.c \ config.c bind.c attr.c filterindex.c close.c \ - alias.c tools.c key.c extended.c passwd.c sasl.c \ + alias.c tools.c key.c extended.c passwd.c \ referral.c operational.c OBJS = idl.lo add.lo search.lo cache.lo dbcache.lo dn2id.lo entry.lo \ id2entry.lo index.lo id2children.lo nextid.lo \ compare.lo modify.lo modrdn.lo delete.lo init.lo \ config.lo bind.lo attr.lo filterindex.lo close.lo \ - alias.lo tools.lo key.lo extended.lo passwd.lo sasl.lo \ + alias.lo tools.lo key.lo extended.lo passwd.lo \ referral.lo operational.lo $(@BUILD_LDBM@_OBJS) LDAP_INCDIR= ../../../include diff --git a/servers/slapd/back-ldbm/sasl.c b/servers/slapd/back-ldbm/sasl.c deleted file mode 100644 index ae8d05ce67..0000000000 --- a/servers/slapd/back-ldbm/sasl.c +++ /dev/null @@ -1,60 +0,0 @@ -/* bind.c - ldbm backend bind and unbind routines */ -/* $OpenLDAP$ */ -/* - * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. - * COPYING RESTRICTIONS APPLY, see COPYRIGHT file - */ - - -#include "portable.h" - -#if 0 - -#include - -#include -#include -#include -#include - -#include "slap.h" -#include "back-ldbm.h" -#include "proto-back-ldbm.h" - -int -back_ldbm_sasl_authorize( - BackendDB *be, - const char *auth_identity, - const char *requested_user, - const char **user, - const char **errstring) -{ - return SASL_FAIL; -} - -int -back_ldbm_sasl_getsecret( - Backend *be, - const char *mechanism, - const char *auth_identity, - const char *realm, - sasl_secret_t **secret) -{ - return SASL_FAIL; -} - -int -back_ldbm_sasl_putsecret( - Backend *be, - const char *mechanism, - const char *auth_identity, - const char *realm, - const sasl_secret_t *secret) -{ - return SASL_FAIL; -} - -#else -static int dummy = 1; -#endif -