Commit graph

110 commits

Author SHA1 Message Date
Pierangelo Masarati
add25c2f45 honor 1.1, * and + (ITS#5074 and more) 2007-08-06 12:31:30 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Hallvard Furuseth
767293dd3a Cosmetic change: spaces->tab in last patch. Thus readable with tab-width=4. 2007-07-23 21:50:26 +00:00
Ralf Haferkamp
5b897eef52 Fixed return value of _cleanup function 2007-07-20 17:13:22 +00:00
Ralf Haferkamp
11e8c186bf ITS#4991 restore save_attrs when a request is finished to let do_search()
cleanup correctly
2007-05-31 15:49:45 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
6020a6d81d ITS#4337 implement modrdn for back-config 2006-12-24 00:56:37 +00:00
Howard Chu
69c4495bc2 ITS#4768 more be_add fallout 2006-12-12 21:00:12 +00:00
Pierangelo Masarati
2b242dee14 private database inherits monitoring from underlying one 2006-09-15 00:23:14 +00:00
Pierangelo Masarati
4add034d5d destroy exactly what needs to 2006-09-14 23:53:23 +00:00
Howard Chu
e04275ca04 Use register_at / register_oc 2006-09-13 13:26:56 +00:00
Hallvard Furuseth
8c1210cb78 Format fixes: %p takes void*, not struct* whose representation may differ.
Warning cleanup.
2006-05-25 16:14:41 +00:00
Howard Chu
6f08468e2f Fix concurrency issues 2006-05-25 05:08:04 +00:00
Howard Chu
5e50d2e2e4 Fix prev commit, LE/GE searches advanced in wrong direction.
Terminate EQ/SUBSTR query searches sooner.
2006-05-23 02:53:54 +00:00
Howard Chu
fa2425005a More cleanup 2006-05-20 05:05:13 +00:00
Howard Chu
b83ef38c51 cleanup debug msg 2006-05-20 05:03:35 +00:00
Howard Chu
fde6482629 Cleanup (revert ITS#4472, etc.) 2006-05-19 15:51:09 +00:00
Howard Chu
e6475734fa ITS#4549, rewritten query_containment etc... 2006-05-19 15:25:33 +00:00
Howard Chu
f0adb769ad Cleanup query attrs 2006-05-19 09:15:42 +00:00
Howard Chu
8eace69ddb Cleanup template searching 2006-05-19 08:07:59 +00:00
Hallvard Furuseth
eca5f7bf2d ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
abb01fa437 cleanup 2006-04-04 10:47:42 +00:00
Hallvard Furuseth
da0c0360e4 Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL). 2006-04-02 19:54:24 +00:00
Howard Chu
e18a6ab7f9 ITS#4406 don't cache attrsonly results 2006-02-16 08:16:49 +00:00
Howard Chu
71d439aba7 Use "pcache" dynamic debug level 2006-02-02 08:31:15 +00:00
Howard Chu
57c25cbd68 Fix negative caching again, be sure it's really from zero entries returned 2006-02-02 02:52:54 +00:00
Howard Chu
f50316f141 Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex. 2006-02-01 19:31:35 +00:00
Howard Chu
bedac8bd60 Fix negative caching, only do it on Success 2006-01-27 22:55:28 +00:00
Howard Chu
51c5916149 ITS#4364 add filter_dup, don't use str2filter to dup filters. 2006-01-23 20:53:52 +00:00
Howard Chu
4361a942ab Add ability to cache negative results and specify negative TTL on templates 2006-01-18 02:59:06 +00:00
Howard Chu
03f28de8bb ITS#4225 added proxyCacheQueries parameter for configuring max_queries 2006-01-17 19:51:50 +00:00
Howard Chu
13fdab9509 Optimizations for containment checks 2006-01-09 19:35:03 +00:00
Howard Chu
a393b68656 Plug memleak when query isn't added to cache 2006-01-09 18:00:11 +00:00
Howard Chu
7ce9e7b7c6 Tone down debug messages 2006-01-09 17:27:57 +00:00
Howard Chu
42ec7b40b1 Streamline answerability test 2006-01-09 16:22:55 +00:00
Howard Chu
2be7cf6114 ITS#4316 fix to make attrset subsets work as documented. 2006-01-09 13:56:25 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
22f05c6785 add support for backend/overlay obsolete names... 2005-11-28 14:13:54 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
8d19d52467 use time_t for time-related vars 2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a use lutil_ato*() whenever appropriate 2005-11-24 01:44:29 +00:00
Pierangelo Masarati
990b435ce0 fix return attributes (ITS#4203) 2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd "relax" previous commit; don't leave locks 'round (ITS#4204) 2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91 quick fix to ITS#4204 2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e make controls as strict as possible 2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b add some integrity checks on input, without changing syntax nor semantics (ITS#4199) 2005-11-23 01:15:01 +00:00
Howard Chu
06c96f6cf1 Cleanup 2005-11-03 20:38:51 +00:00
Howard Chu
27b197c36d ITS#4128 use backend_db_init 2005-11-03 20:34:45 +00:00