Commit Graph

9866 Commits

Author SHA1 Message Date
Pierangelo Masarati
5ebb7ee175 fix zeroing out attribute values (should fix ITS#5311) 2008-01-08 14:58:24 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Hallvard Furuseth
d3c90c989c Fix spew_file() comment 2008-01-08 00:02:58 +00:00
Hallvard Furuseth
0dab27bb1e Fix comment for be_rootdn_bind() 2008-01-07 23:23:12 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Hallvard Furuseth
f763967c48 Fix Debug() format in previous change 2008-01-07 20:13:01 +00:00
Hallvard Furuseth
e9c2a7dcb3 ITS#5309: Use ldap_pvt_thread_pool_setkey_x() more. Fix void** arguments. 2008-01-07 20:10:22 +00:00
Hallvard Furuseth
d0a379ed45 ITS#5309: Use ldap_pvt_thread_pool_setkey_x() in slap_passwd_check() and
be_rootdn_bind() - push/pop any old value instead of resetting it.
2008-01-07 20:08:22 +00:00
Hallvard Furuseth
8a1f904ed9 Avoid use of uninitialized variable 'e' after failed overlay_entry_get_ov().
(It was harmless unless the value was a trap representation.)
2008-01-07 18:50:54 +00:00
Howard Chu
cdaf0769f7 ITS#4112 temporarily disable broken code 2008-01-06 07:34:19 +00:00
Pierangelo Masarati
741efa1674 don't leave 'round pointers to buffers on the stack 2008-01-02 23:08:04 +00:00
Pierangelo Masarati
2969c69747 fix modlist cleanup during rename 2008-01-02 22:49:45 +00:00
Pierangelo Masarati
622c4d3884 new ldap_pvt_thread_pool_setkey API 2007-12-29 18:14:54 +00:00
Pierangelo Masarati
ac689156bc plug leak (ITS#5302) 2007-12-29 17:59:28 +00:00
Pierangelo Masarati
22f0fa7eb8 allow slapo-memberof to be used as global overlay, and thus provide cross-database integrity (ITS#5301) 2007-12-29 16:07:07 +00:00
Howard Chu
4068c51739 Remove unnneded boi_locker field 2007-12-28 07:44:41 +00:00
Howard Chu
7bc127aab8 ITS#5086 fix Adds in IDL cache 2007-12-28 07:40:18 +00:00
Pierangelo Masarati
64900d539d allow to programmatically register new response code names 2007-12-28 01:21:22 +00:00
Pierangelo Masarati
18b2885f69 allow to customize the error code in case of constraint violation 2007-12-28 00:38:27 +00:00
Pierangelo Masarati
ce43877f6f if referential integrity is broken, things could go wrong; don't assert 2007-12-27 20:57:42 +00:00
Pierangelo Masarati
17294602c4 fix ITS#5286 (NULL + set = NULL); add more verbose set logging if requested 2007-12-27 20:27:51 +00:00
Pierangelo Masarati
63e0046eab fix previous commit 2007-12-27 19:57:51 +00:00
Pierangelo Masarati
8a529a1f72 check objectClass inheritance on add (consistent with modify; ITS#5299) 2007-12-27 19:50:12 +00:00
Pierangelo Masarati
096ce6f741 pass ConfigReply to overlays; don't complain unless once-only overlays are instantiated multiple times 2007-12-27 17:36:39 +00:00
Howard Chu
b0a0ac4914 Require compare (not read) access to entry attr for compare ops 2007-12-27 00:51:45 +00:00
Howard Chu
64f81ee43b Complete prev commit 2007-12-24 05:32:13 +00:00
Howard Chu
6f6bc1ce04 Convert back-sock to dynamic config 2007-12-24 05:18:25 +00:00
Howard Chu
94db6fc9e8 Axe obsolete Cyrus 1.5 support 2007-12-23 01:33:39 +00:00
Howard Chu
95a37bc024 ITS#5298 use SASL's memory for temporary DN storage 2007-12-23 01:21:56 +00:00
Howard Chu
d0eac819f7 ITS#5259 fix sasl_auxprop_store to allow cleanup after bindop is gone 2007-12-22 22:53:58 +00:00
Howard Chu
d88ab7bf36 ITS#5264 don't log NULL/anonymous DNs 2007-12-22 21:16:54 +00:00
Howard Chu
d38ff5403f ITS#5261 quick fix, don't checkpoint on first write to DB 2007-12-22 05:00:38 +00:00
Gavin Henry
4d06dc7ddd DB_CONFIG.example URL wrong in comments (ITS#5288) 2007-12-18 12:50:27 +00:00
Howard Chu
13491b3905 ITS#5285 don't check for password reuse if history is not enabled 2007-12-15 19:35:11 +00:00
Howard Chu
ddd90958a1 Support DB encryption 2007-12-15 19:07:41 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
8a622361d1 ITS#4987 extensions from Emmanuel Dreyfus manu @ netbsd.org with major
cleanups
2007-12-15 11:12:56 +00:00
Howard Chu
5919312796 ITS#5284 fix overlay order 2007-12-15 01:34:39 +00:00
Howard Chu
3a7830ff01 More cleanup 2007-12-15 00:50:37 +00:00
Howard Chu
b96a96c598 Fix prev commit, must test filter on cleanup 2007-12-14 20:24:31 +00:00
Howard Chu
f84a67ef34 Don't test filter before saving, need the copy for local lookup 2007-12-14 20:04:40 +00:00
Howard Chu
a58ea1efdd More cleanup 2007-12-14 19:50:06 +00:00
Howard Chu
be32a57637 Add missing cleanup 2007-12-14 19:15:06 +00:00
Howard Chu
75b7f19ae3 ITS#5283 add remote/local attribute lists, search both local and remote 2007-12-14 19:02:44 +00:00
Howard Chu
7f81edc6fa Align MRA desc with AVA/SSA desc 2007-12-14 05:44:10 +00:00
Howard Chu
3d632e79d8 Revert prev commit, different fix 2007-12-14 02:48:11 +00:00
Howard Chu
e9ab15ba87 ITS#5276 don't stack config state for includes 2007-12-14 02:25:26 +00:00
Howard Chu
d84eb76d57 ITS#5236 add 'countryName' alias back, should not have been dropped. 2007-12-13 08:30:12 +00:00
Howard Chu
23116be5ae More for -q tool mode 2007-12-13 08:02:40 +00:00
Howard Chu
3218f6c110 Fix segv with -q 2007-12-13 07:51:56 +00:00
Pierangelo Masarati
64c662c5b2 behave when the empty DN is used as database suffix (ITS#5265) 2007-12-11 16:59:40 +00:00
Pierangelo Masarati
4d53c886a8 fix back-ldif delete (ITS#5265) 2007-12-11 15:12:48 +00:00
Pierangelo Masarati
bd64ab8d17 don't try to count non-expired entries if database does not exist (ITS#5267) 2007-12-08 21:57:22 +00:00
Howard Chu
6c0b815b6f ITS#5268 omit contextCSN when replicating 2007-12-08 17:45:10 +00:00
Howard Chu
bcc108a7ff ITS#5268 don't replicate dSAOperation attributes unless specifically
requested. (It doesn't actually make sense to request them in that
case, but allow it.)
2007-12-08 17:44:15 +00:00
Howard Chu
562b88a3cf Omit auditContext when sync control is present 2007-12-08 17:03:47 +00:00
Pierangelo Masarati
bfd50b6ec5 don't try to delete expired entries if database does not exist (ITS#5267) 2007-12-08 17:00:34 +00:00
Howard Chu
54a3ef323b ITS#5161 make sure accesslog_response is called for abandoned writes
This probably needs to be cleaned up more. There should be a log
schema flag that indicates that an op was abandoned.
2007-12-07 11:27:57 +00:00
Hallvard Furuseth
8f74e9cacc ITS#5248: use volatile sig_atomic_t for signal variable gotsig 2007-12-06 17:15:41 +00:00
Hallvard Furuseth
af50afcbe0 Remove unused variable 2007-12-06 17:13:01 +00:00
Hallvard Furuseth
e50cb47542 Restore pre-C99 preprocessor support (since rev 1.165) 2007-12-06 17:08:10 +00:00
Howard Chu
f7ec966aad Cleanup dup_compare 2007-12-06 16:54:47 +00:00
Howard Chu
3658226e95 Drop unnecessary lock 2007-12-06 15:59:28 +00:00
Howard Chu
e237f4cc43 Re-introduce hdb dup_compare function, default compares too much 2007-12-06 15:58:47 +00:00
Howard Chu
f06fdb2821 More cleanup, hdb fixes 2007-12-06 14:16:34 +00:00
Pierangelo Masarati
8958bcd60f save old values when deleting (ITS#5258; not optimal) 2007-12-06 12:29:04 +00:00
Howard Chu
7a3f73efd8 More cleanup 2007-12-06 06:40:13 +00:00
Howard Chu
ebbb6ab216 Cleanup prev commits 2007-12-06 06:20:42 +00:00
Howard Chu
cb0e31fc65 ITS#5262 must protect dn2id between the time it's read from the DB
and it's inserted into EntryInfo cache.
2007-12-06 05:48:02 +00:00
Howard Chu
c2a02618bb BDB 4.2 compatibility for log_printf (requires modern C preprocessor) 2007-12-06 01:51:32 +00:00
Howard Chu
abff944303 Prefix log msgs with "slapd" 2007-12-05 22:35:39 +00:00
Howard Chu
cff654bd60 Use BDB transaction log for debug messages 2007-12-05 22:27:12 +00:00
Howard Chu
460e94c001 ITS#5262 additional cleanup 2007-12-05 14:56:47 +00:00
Howard Chu
6ac8a0c584 ITS#5262 use explicit cursor and locker in dn2id 2007-12-05 14:09:34 +00:00
Howard Chu
eda5b4d01f Fix ITS#5257 2007-12-05 05:24:15 +00:00
Howard Chu
2953cd459f Revert 1.159, seems to trigger a concurrency bug. ??? 2007-12-05 02:36:53 +00:00
Hallvard Furuseth
8667a535dc Integer indexing - cleanup, signedness, redefine signmask => RIP overflow test 2007-12-03 09:54:01 +00:00
Howard Chu
ccfe26fca9 Cleanup overflow check 2007-12-02 21:46:50 +00:00
Hallvard Furuseth
3b6122cb73 Integer indexing - cleanup 2007-12-02 19:25:33 +00:00
Howard Chu
304520c113 Add memctx to lutil_str2bin() 2007-12-02 19:11:41 +00:00
Hallvard Furuseth
283313ba15 Fix last patch, and reduce allocations in lutil_str2bin(). 2007-12-02 17:32:08 +00:00
Hallvard Furuseth
bddba8ae17 Integer indexing - handle huge values 2007-12-02 16:10:23 +00:00
Howard Chu
89b03a7db7 Shrink presence key 2007-12-01 19:08:30 +00:00
Howard Chu
60c0a68249 Trim unneeded tmp var 2007-12-01 11:44:18 +00:00
Howard Chu
95993844dd Omit leading zero pad byte 2007-12-01 11:41:52 +00:00
Howard Chu
d513108ea3 Fix sign bit 2007-12-01 11:00:40 +00:00
Howard Chu
b7f3bb05f5 Fix 1.426, must sign-extend small numbers, not zero-pad 2007-11-30 18:12:17 +00:00
Howard Chu
0189fcc32a Pop local callback for modify 2007-11-29 23:03:44 +00:00
Howard Chu
dba1b54b47 Fix prev commit, leave callback stack alone in compare() 2007-11-29 22:56:54 +00:00
Ralf Haferkamp
67ec05ef18 Allow initialization when using custom "memberof-group-oc" and
"memberof-member-ad" and "groupOfNames" and "member" are undefined
2007-11-28 12:09:55 +00:00
Quanah Gibson-Mount
cb286fa4b1 cleanup 2007-11-27 20:58:19 +00:00
Howard Chu
eb16972d23 Streamlined Winsock connection management 2007-11-26 17:03:26 +00:00
Howard Chu
8a8a05d811 Change integer indexing to ordered only, no backward compatibility 2007-11-25 13:19:08 +00:00
Howard Chu
e8d7074802 Fix connection teardown 2007-11-24 11:33:04 +00:00
Pierangelo Masarati
7aeac21440 silence warnings 2007-11-23 12:47:53 +00:00
Howard Chu
3640a6f7e5 Fix typo in prev commit 2007-11-22 08:52:39 +00:00
Howard Chu
1ed9b5c3bc Fix, truncate should not be valid for slapadd, should be for slapindex. 2007-11-21 15:40:09 +00:00
Howard Chu
b8fcecd69b More for #5221, don't muck with kids counters on simple renames 2007-11-21 15:11:26 +00:00
Howard Chu
a0fbe9f043 Minor cleanup 2007-11-21 14:55:40 +00:00
Howard Chu
a6c4cf8578 ITS#5221 fix NO_KIDS/NO_GRANDKIDS flags on rename ops 2007-11-21 14:51:55 +00:00