/*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*
* Copyright 1999, Howard Chu, All rights reserved. <hyc@highlandsun.com>
/* String rewrite library */
#include "rewrite.h"
-
+#include "cache.h"
LDAP_BEGIN_DECL
struct slap_conn;
LDAP *ld;
struct berval bound_dn;
+ struct berval cred;
int bound;
#define META_UNBOUND 0
#define META_BOUND 1
#define META_DEFAULT_TARGET_NONE -1
struct metatarget **targets;
+#ifdef LDAP_CACHING
+ struct rewrite_info *rwinfo;
+ cache_manager *cm;
+ Backend *glue_be;
+#endif /* LDAP_CACHING */
+
struct metadncache cache;
ldap_pvt_thread_mutex_t conn_mutex;
Avlnode *conntree;
+
+ int savecred;
};
#define META_OP_ALLOW_MULTIPLE 0x00