1999-09-08 15:06:24 -04:00
|
|
|
/* $OpenLDAP$ */
|
1999-08-04 19:59:13 -04:00
|
|
|
/*
|
2000-05-12 22:47:56 -04:00
|
|
|
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
|
1999-08-04 19:59:13 -04:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
|
*/
|
1999-03-22 02:14:54 -05:00
|
|
|
/*
|
|
|
|
|
* Mimic unused interfaces of slapd...
|
|
|
|
|
* needed for linking.
|
|
|
|
|
*/
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
|
#include "../slap.h"
|
|
|
|
|
|
1999-04-14 10:12:49 -04:00
|
|
|
#ifdef WIN32
|
|
|
|
|
time_t starttime;
|
|
|
|
|
#endif
|
|
|
|
|
|
1999-03-22 02:38:27 -05:00
|
|
|
/* bogus ../results.c */
|
|
|
|
|
int str2result(
|
|
|
|
|
char* s,
|
|
|
|
|
int *code,
|
|
|
|
|
char **matched,
|
|
|
|
|
char **info )
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
1999-04-14 10:12:49 -04:00
|
|
|
return 0;
|
1999-03-22 02:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
1999-07-15 22:45:46 -04:00
|
|
|
void
|
|
|
|
|
send_ldap_disconnect(
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
|
|
|
|
ber_int_t err,
|
1999-08-20 15:00:44 -04:00
|
|
|
const char *text
|
1999-07-15 22:45:46 -04:00
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-11-29 12:44:14 -05:00
|
|
|
void
|
|
|
|
|
send_ldap_extended(
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
|
|
|
|
ber_int_t err,
|
|
|
|
|
const char *matched,
|
|
|
|
|
const char *text,
|
1999-12-10 14:18:33 -05:00
|
|
|
struct berval **refs,
|
2000-05-21 23:46:57 -04:00
|
|
|
const char *rspoid,
|
1999-12-09 23:52:32 -05:00
|
|
|
struct berval *rspdata,
|
|
|
|
|
LDAPControl **ctrls
|
1999-11-29 12:44:14 -05:00
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
send_ldap_sasl(
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
|
|
|
|
ber_int_t err,
|
|
|
|
|
const char *matched,
|
|
|
|
|
const char *text,
|
1999-12-15 18:22:47 -05:00
|
|
|
struct berval **refs,
|
1999-12-09 23:52:32 -05:00
|
|
|
LDAPControl **ctrls,
|
1999-11-29 12:44:14 -05:00
|
|
|
struct berval *cred
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
|
|
|
|
|
1999-03-22 02:14:54 -05:00
|
|
|
void
|
|
|
|
|
send_ldap_result(
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
1999-11-25 12:52:47 -05:00
|
|
|
ber_int_t err,
|
1999-08-20 15:00:44 -04:00
|
|
|
const char *matched,
|
|
|
|
|
const char *text,
|
1999-07-15 22:45:46 -04:00
|
|
|
struct berval **refs,
|
|
|
|
|
LDAPControl **ctrls
|
1999-03-22 02:14:54 -05:00
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void
|
1999-07-15 22:45:46 -04:00
|
|
|
send_search_result(
|
1999-03-22 02:14:54 -05:00
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
1999-11-25 12:52:47 -05:00
|
|
|
ber_int_t err,
|
1999-08-20 15:00:44 -04:00
|
|
|
const char *matched,
|
|
|
|
|
const char *text,
|
1999-07-15 22:45:46 -04:00
|
|
|
struct berval **refs,
|
|
|
|
|
LDAPControl **ctrls,
|
1999-03-22 02:14:54 -05:00
|
|
|
int nentries
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
send_search_entry(
|
|
|
|
|
Backend *be,
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
|
|
|
|
Entry *e,
|
|
|
|
|
char **attrs,
|
1999-07-07 14:51:39 -04:00
|
|
|
int attrsonly,
|
1999-07-15 22:45:46 -04:00
|
|
|
LDAPControl **ctrls
|
1999-03-22 02:14:54 -05:00
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
1999-07-15 22:45:46 -04:00
|
|
|
|
|
|
|
|
int send_search_reference(
|
|
|
|
|
Backend *be,
|
|
|
|
|
Connection *conn,
|
|
|
|
|
Operation *op,
|
|
|
|
|
Entry *e,
|
|
|
|
|
struct berval **refs,
|
|
|
|
|
int scope,
|
|
|
|
|
LDAPControl **ctrls,
|
|
|
|
|
struct berval ***v2refs
|
|
|
|
|
)
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
struct berval **get_entry_referrals(
|
|
|
|
|
Backend *be, Connection *conn, Operation *op, Entry *e )
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
1999-08-03 19:23:05 -04:00
|
|
|
|
2000-07-13 18:54:38 -04:00
|
|
|
int slap_sasl_init(void)
|
|
|
|
|
{
|
2000-07-13 19:43:24 -04:00
|
|
|
return LDAP_SUCCESS;
|
1999-08-03 19:23:05 -04:00
|
|
|
}
|
|
|
|
|
|
2000-07-13 18:54:38 -04:00
|
|
|
int slap_sasl_destroy(void)
|
|
|
|
|
{
|
2000-07-13 19:43:24 -04:00
|
|
|
return LDAP_SUCCESS;
|
1999-08-03 19:23:05 -04:00
|
|
|
}
|
2000-01-01 20:21:25 -05:00
|
|
|
|
2000-07-13 18:54:38 -04:00
|
|
|
char * slap_sasl_secprops( const char *in )
|
2000-01-01 20:21:25 -05:00
|
|
|
{
|
2000-09-21 17:32:13 -04:00
|
|
|
return "";
|
2000-01-01 20:21:25 -05:00
|
|
|
}
|
2000-07-13 18:54:38 -04:00
|
|
|
|
2000-09-21 13:32:54 -04:00
|
|
|
|
|
|
|
|
int slap_sasl_regexp_config( const char *match, const char *replace )
|
|
|
|
|
{
|
2000-09-21 17:28:32 -04:00
|
|
|
return(0);
|
2000-09-21 13:32:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-09-08 18:59:01 -04:00
|
|
|
void connection2anonymous( Connection *c )
|
|
|
|
|
{
|
|
|
|
|
assert(0);
|
|
|
|
|
}
|
2000-09-21 13:32:54 -04:00
|
|
|
|