2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2003 The OpenLDAP Foundation.
5 * Portions Copyright 1998-2003 Kurt D. Zeilenga.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 * This work was initially developed by Kurt Zeilenga for inclusion
18 * in OpenLDAP Software.
23 * Mimic unused interfaces of slapd...
34 /* needed by WIN32 and back-monitor */
37 /* because Versionstr is used in back-monitor */
38 const char Versionstr[] = "";
40 /* bogus ../results.c */
52 send_ldap_disconnect( Operation *op, SlapReply *rs )
59 Operation *op, SlapReply *rs
66 slap_send_ldap_extended(
67 Operation *op, SlapReply *rs
74 slap_send_ldap_intermediate_resp(
75 Operation *op, SlapReply *rs
82 send_ldap_sasl( Operation *op, SlapReply *rs )
88 slap_send_ldap_result( Operation *op, SlapReply *rs )
94 slap_send_search_entry( Operation *op, SlapReply *rs )
101 slap_send_search_reference( Operation *op, SlapReply *rs )
107 int slap_read_controls(
111 const struct berval *oid,
118 int slap_sasl_init(void)
123 int slap_sasl_destroy(void)
128 int slap_sasl_setpass( Operation *op, SlapReply *rs )
133 int slap_sasl_config(
144 int connection_client_setup(
147 ldap_pvt_thread_start_t *func,
154 void connection_client_enable( ber_socket_t s )
159 void connection_client_stop( ber_socket_t s )
164 void connection2anonymous( Connection *c )
169 Connection * connection_first( ber_socket_t *b )
175 Connection * connection_next( Connection *c, ber_socket_t *b )
181 unsigned long connections_nextid(void)
186 void connection_done( Connection *c )
191 const char * connection_state2str( int state )
197 void replog( Operation *op )
202 int add_replica_info( Backend *be, const char *host )
207 int add_replica_suffix( Backend *be, int nr, const char *suffix )
212 int add_replica_attrs( Backend *be, int nr, char *attrs, int exclude )
217 int parse_limits( Backend *be, const char *fname, int lineno, int argc, char **argv )
222 int parse_limit( const char *arg, struct slap_limits_set *limit )
227 int get_limits( Backend *be, struct berval *ndn, struct slap_limits_set **limit )
232 int read_root_dse_file ( const char *file )
238 slap_operational_subschemaSubentry( Backend *be )
244 slap_operational_hasSubordinate( int hs )
250 slapd_get_listeners(void)
257 Operation *op, SlapReply *rs,
261 Modifications **pmod )
266 int slap_sasl_getdn( Connection *conn, Operation *op, char *id, int len,
267 char *user_realm, struct berval *dn, int flags )
272 int slap_sasl_authorized( Operation *op,
273 struct berval *authcDN, struct berval *authzDN )
278 int root_dse_info( Connection *conn, Entry **entry, const char **text )
283 int slap_entry2mods( Entry *e, Modifications **mods, const char **text,
284 char *textbuf, size_t textlen )
289 volatile sig_atomic_t slapd_abrupt_shutdown;
291 int slap_mods_check( Modifications *ml, int update, const char **text,
292 char *textbuf, size_t textlen, void *ctx )
297 int slap_mods2entry( Modifications *mods, Entry **e, int repl_user,
298 int dup, const char **text, char *textbuf, size_t textlen )
303 int slap_mods_opattrs( Operation *op, Modifications *mods,
304 Modifications **modtail, const char **text,
305 char *textbuf, size_t textlen )
310 int slap_parse_user( struct berval *id, struct berval *user,
311 struct berval *realm, struct berval *mech )