Commit Graph

8765 Commits

Author SHA1 Message Date
Pierangelo Masarati
9fdb9b6e02 give cleanup another chance to free the temporary callback (ITS#4771) 2006-12-07 19:44:04 +00:00
Pierangelo Masarati
0b29856b16 don't use conditionals in macro arguments (ITS#4769) 2006-12-06 11:39:07 +00:00
Howard Chu
77ed3423b9 ITS#4767 fix bdb_add / translucent interaction 2006-12-04 22:06:58 +00:00
Pierangelo Masarati
c89d0db64f fix deadlock in case of bind error; propagate error as appropriate 2006-12-02 17:09:20 +00:00
Pierangelo Masarati
41c4afb331 improve error message 2006-12-02 16:17:01 +00:00
Pierangelo Masarati
e73ce756cc fix DN (and berval'ued items requiring) normalization in bindconf_parse (ITS#4766) 2006-12-02 16:13:25 +00:00
Pierangelo Masarati
19dabd2fa8 complain if instantiated outside of a database definition 2006-12-02 10:42:42 +00:00
Pierangelo Masarati
78af5454d2 use case consistent with RFCs (ITS#4764) 2006-12-02 10:30:29 +00:00
Howard Chu
c8a000cb7b ITS#4765 init slap_daemon.sd_actives 2006-12-01 15:02:14 +00:00
Howard Chu
43f0177a08 Fix prev commit, attrs_dup left a_desc uninit'd 2006-12-01 15:00:10 +00:00
Howard Chu
eb47d50da7 Tweak bei_state so cache_lru_add doesn't ever try to free just-added
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
2006-12-01 14:48:38 +00:00
Howard Chu
b79d63516d Rewrite attrs_dup with attrs_alloc.
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
3711183610 Skip checkpoint call if size was not specified - defer time-based
checkpoints to the runq job
2006-11-27 19:54:04 +00:00
Howard Chu
ee9623ad0f Use quicksort in slap_mods_check for finding duplicates.
Currently enabled, preserving original order of input. See ifdefs to
alter the behavior: SLAP_MODS_CHECK_QUICKSORT, PRESERVE_ORDER
2006-11-25 10:58:45 +00:00
Pierangelo Masarati
0981516abf fix ITS#4760 differently 2006-11-24 13:02:26 +00:00
Pierangelo Masarati
de254abb27 destroy cached groups after identity change (ITS#4760) 2006-11-24 11:43:47 +00:00
Pierangelo Masarati
14ac05436a fix defaults in "group" in parsing (ITS#4761) 2006-11-24 11:29:05 +00:00
Pierangelo Masarati
09abc9f8ae fix leak in case of retry 2006-11-24 01:44:11 +00:00
Pierangelo Masarati
8326ac21b1 add "report" to "onerr" modes: continue a search in case one target returns an error, and only propagate the error at the end 2006-11-23 23:50:36 +00:00
Pierangelo Masarati
a06fc9cb02 fix backward compatibility issues in ACI; more debug logging (ITS#4759) 2006-11-23 23:29:45 +00:00
Howard Chu
574769395a ITS#4600 #if out redundant checks. will delete them later. 2006-11-23 11:07:03 +00:00
Pierangelo Masarati
14e1feed1f fix leak when 'rebind-as-user' is set (and client searches without prior bind) 2006-11-18 18:02:46 +00:00
Howard Chu
dfafda4128 Better tracking of system schema, refresh cn=schema after moduleloads 2006-11-17 22:52:20 +00:00
Howard Chu
701c39ed83 Tone down enum_tree warning 2006-11-17 22:51:04 +00:00
Howard Chu
f0f7324e0e Keep hardcoded schema together in lists 2006-11-17 20:11:11 +00:00
Howard Chu
28bd54a06d ITS#4755 add rid to syncrepl debug msgs 2006-11-17 02:11:57 +00:00
Howard Chu
b711426a99 Fix prev commit, reset DB pointer 2006-11-16 14:27:49 +00:00
Howard Chu
7cfa3ae34a Use runq to defer creation of log root entry; allows the log DB to come
after the main DB in the configuration. Allows logging cn=config.
2006-11-16 14:12:09 +00:00
Howard Chu
ee0026ec1e Don't bother setting up threads if there are no indexed attrs (unlikely...) 2006-11-15 01:20:34 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Ralf Haferkamp
cdb9b2e2aa Add calls to PERL_SET_CONTEXT, as the active thread might not be the one
that created the PerlInterpreter object (ITS#4751)
2006-11-14 15:18:50 +00:00
Howard Chu
510c2b881e ITS#4746 additional leaks 2006-11-13 02:57:05 +00:00
Howard Chu
c9da788f78 ITS#4746 plug leaks 2006-11-13 02:44:45 +00:00
Howard Chu
bd95f8ab1c ITS#4738 provisional fix, still needs confirmation 2006-11-13 00:24:59 +00:00
Howard Chu
c6bf6672aa Add valx arg to config_parse_add - indicate which value in the current
operation is executing (as opposed to c->valx which indicates which
value in the target is being changed)
2006-11-12 02:22:23 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00
Howard Chu
7a92d4af1f Short-circuit the mapping search if more than 1 entry is found 2006-11-12 00:54:37 +00:00
Howard Chu
4df4d4f46c Tweak prev commit, use LDAP_UNAVAILABLE to force early termination 2006-11-11 23:38:01 +00:00
Howard Chu
161574b00d ITS#4744 authzTo/authzFrom patterns are supposed to allow multiple targets.
Partially revert rev 1.126.
2006-11-11 22:55:09 +00:00
Howard Chu
b42d93f24f ITS#3755 silence strict-aliasing warnings 2006-11-10 10:39:54 +00:00
Howard Chu
47793aa3c9 Fix typo in prev commit 2006-11-09 06:47:47 +00:00
Howard Chu
64a2dbf9d4 ITS#4741 fix error check from external password quality module 2006-11-09 04:06:37 +00:00
Howard Chu
6ac62a7573 Fix - failed Binds could leave a closing connection open. 2006-11-09 01:42:21 +00:00
Howard Chu
d3dc069a62 ITS#4704 use an old CSN while purging log. 2006-11-07 02:12:29 +00:00
Pierangelo Masarati
efb04832bd rework compare
fix several minor issues with using dangling pointers and uninitialized data
fix caching of privileged connections
fix issues with unresponsive target failures during search
2006-11-05 12:05:47 +00:00
Pierangelo Masarati
6f1d78b3ce s/fprintf/Debug/; improve logging 2006-11-05 09:24:51 +00:00
Pierangelo Masarati
2f861c56a6 cleanup variables scope; re-sort conditions 2006-11-05 09:24:01 +00:00
Pierangelo Masarati
c148b2381e improve previous commit (ITS#4729) 2006-11-03 08:35:51 +00:00
Pierangelo Masarati
3a2277cdf8 fix dynlist dynamic build (ITS#4729) 2006-11-03 00:29:19 +00:00