Commit Graph

841 Commits

Author SHA1 Message Date
Howard Chu
d2f75ebaa5 Plug leak 2007-10-08 13:28:25 +00:00
Howard Chu
ade1fcff20 ITS#5173 simplify defer open behavior 2007-10-08 07:37:53 +00:00
Howard Chu
2659caf322 ITS#5173 fix for dynamic add in cn=config 2007-10-08 07:13:58 +00:00
Howard Chu
dbcf98b4d9 Refuse to operate on cacheDB if it hasn't been started yet 2007-10-08 06:34:57 +00:00
Howard Chu
e60536c04a Fix for dynamic adds 2007-10-08 06:21:13 +00:00
Pierangelo Masarati
617bd11452 de-normalize simple filter values consistently 2007-10-05 09:49:19 +00:00
Pierangelo Masarati
4cf03ca277 fix ITS#5168 (a better fix would probably be a generic handler to de-normalize values) 2007-10-04 21:53:49 +00:00
Howard Chu
9dc35b8997 Don't queue zero-length CSNs 2007-10-02 23:51:40 +00:00
Pierangelo Masarati
14bcd332ce log cookie (until we find what's going on...) 2007-10-02 18:09:15 +00:00
Pierangelo Masarati
2de9d97ad2 first round of s/sprintf/snprintf/; the rationale is: truncate error messages rather than buffer overflow; otherwise, assert that no buffer overflow occurred. In some cases, error handling could be added. Please note: no real error in the code was found so far, apart from that in syncprov.c and from some config-time error logging; however, errors could slip thru again if things don't change consistently 2007-09-29 17:55:33 +00:00
Ralf Haferkamp
3d1df12527 set mod->sm_numvals 2007-09-26 01:59:24 +00:00
Howard Chu
0f2b1d551b More for Mod.sm_numvals 2007-09-24 05:30:53 +00:00
Howard Chu
dcaa5a27f5 Partially revert prev commit, unintended. 2007-09-24 05:30:36 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
e8c2414831 Preliminary sorted value support 2007-09-24 01:31:23 +00:00
Howard Chu
ebb9e029a7 Make slap_passwd_parse non-destructive 2007-09-23 04:40:51 +00:00
Howard Chu
a3547e2758 More for a_numvals 2007-09-23 04:40:16 +00:00
Hallvard Furuseth
cea5e5664d assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2007-09-21 13:02:36 +00:00
Hallvard Furuseth
8b7fd262b8 Cast away const 2007-09-21 12:58:34 +00:00
Howard Chu
8c6d828a1f More for Modification value counter 2007-09-21 09:34:31 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Ralf Haferkamp
b99749aba4 Use rwlock for CachedQuery to avoid returning incomplete results (ITS#5113) 2007-09-20 17:23:56 +00:00
Ralf Haferkamp
af7f86a2cd Fixed memory leak in pcache. Cache is now populated in cleanup handler.
ITS#5112
2007-09-20 16:15:23 +00:00
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Pierangelo Masarati
76974d412a add support for dgAuthz --- see discussion on -devel 2007-09-14 22:42:16 +00:00
Pierangelo Masarati
f7bda3be0a release entry (ITS#5135) 2007-09-14 22:39:49 +00:00
Pierangelo Masarati
1157b6dc6a handle sizelimit in caching (in partial fulfilment of ITS#5114) 2007-09-12 21:09:04 +00:00
Howard Chu
aec54643c2 Don't populate member list unless it was requested 2007-09-11 14:10:50 +00:00
Pierangelo Masarati
00ad93ac70 also copy modifications we don't deal with, as they will be freed altogether (ITS#5124) 2007-09-07 09:38:38 +00:00
Pierangelo Masarati
9beb9f9f51 fix one-time leak (coverity) 2007-09-03 16:27:01 +00:00
Pierangelo Masarati
55e908dca2 fix helper pointer inizialization (coverity) 2007-09-03 16:22:53 +00:00
Howard Chu
dbac914e33 Hide log schema 2007-09-01 22:28:06 +00:00
Pierangelo Masarati
bcf9bce5f4 hide (experimental) schema 2007-09-01 16:09:06 +00:00
Pierangelo Masarati
f89f552d2a fix previous commit 2007-09-01 15:47:23 +00:00
Pierangelo Masarati
4edd5cca23 hide (experimental) schema 2007-09-01 15:38:03 +00:00
Pierangelo Masarati
63a7a69b89 hide schema 2007-09-01 15:32:47 +00:00
Howard Chu
c06ed65f2a Protect Debug messages from NULL pointers 2007-09-01 13:35:34 +00:00
Ralf Haferkamp
cd103f9010 Additional fix for ITS#4991. _cleanup callback was always executed when
needed.
2007-08-29 14:29:37 +00:00
Pierangelo Masarati
7ceaad7eb2 plug yet another leak 2007-08-29 00:27:47 +00:00
Pierangelo Masarati
5ed5bc5803 first round of CSN normalization consequences 2007-08-28 18:38:27 +00:00
Howard Chu
4ccb430c8c Convert collect to dynamic config. Even though it's only a demo... 2007-08-28 09:19:07 +00:00
Pierangelo Masarati
e33abd467c needs work: memberOf should not be replicated 2007-08-25 16:02:43 +00:00
Howard Chu
da5c3285d2 Fix config delete 2007-08-24 23:56:55 +00:00
Howard Chu
ecf59634e9 Fix prev commit 2007-08-24 23:28:43 +00:00
Pierangelo Masarati
6f9519543e - fix logging of controls;
- add support for Control syntax;
- use Control syntax and objectIdentifierFirstComponentMatch
  with reqControls/reqRespControls
2007-08-24 23:13:41 +00:00
Pierangelo Masarati
511a71067f add logging of request/response controls 2007-08-24 12:50:01 +00:00
Pierangelo Masarati
ee8431b22d add memberOf overlay 2007-08-24 02:46:55 +00:00
Howard Chu
2d4f198662 Add dgIdentity support 2007-08-23 23:33:37 +00:00
Howard Chu
43463852f6 Add cn=config support 2007-08-23 01:40:09 +00:00
Pierangelo Masarati
7c9f63a60d fix subtree rename integrity; curiously enough, tes023 only failed on 64 bit arch; probably because we'd need to double the stack of the slab on 64 bit archs... 2007-08-22 17:46:55 +00:00