Pierangelo Masarati
87a63d3b5d
improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE
2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657
add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views
2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38
cleanup naming; minor fixes
2004-10-02 12:05:42 +00:00
Sang Seok Lim
258d0d3da2
Bug fix : msiing SLAPD_GLOBAL
2004-10-02 01:01:00 +00:00
Howard Chu
bbe986b94e
Add a retry for failed connections
2004-10-01 12:00:41 +00:00
Howard Chu
55f12a7eee
Add a retry for failed connections
2004-10-01 11:16:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Pierangelo Masarati
60d4aaba54
fix, rework and optimize search base; allow orphaned entries addition
2004-09-28 23:27:39 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Howard Chu
e014144f98
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:23:37 +00:00
Howard Chu
fc44ed4593
Tweak exact hashing in prev commit
2004-09-28 04:13:09 +00:00
Howard Chu
bf7c7a22d6
ITS#2661: configurable substring index lengths
...
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
39195e48a3
minor cleanup
2004-09-27 23:04:34 +00:00
Pierangelo Masarati
0fc89b6203
more cleanup
2004-09-27 22:16:21 +00:00
Pierangelo Masarati
b2cd66c0d8
fix ITS#3346
2004-09-27 22:04:20 +00:00
Jong Hyuk Choi
e8f30c8d0b
preserve attrs="*"
2004-09-27 16:16:53 +00:00
Pierangelo Masarati
c2c27c6839
fix csne destroy
2004-09-27 08:11:04 +00:00
Pierangelo Masarati
d2c08ed8d3
misc syncrepl cleanup/fixes
2004-09-26 23:00:35 +00:00
Pierangelo Masarati
d026e2c9f7
preformat "conn=%lu op=%lu"
2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
2e9d64741c
put overlays in alphabetical order
2004-09-26 22:53:54 +00:00
Pierangelo Masarati
b09663d784
consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers)
2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded
add column size to SQLBindParameter when SQL_CHAR parameter type is used
2004-09-25 11:38:00 +00:00
Kurt Zeilenga
f0190506f1
ITS#3344: initialize threads early
2004-09-25 05:36:06 +00:00
Jong Hyuk Choi
292c568f36
a fix to prev commit
2004-09-25 03:21:30 +00:00
Kurt Zeilenga
31a6de16b0
ITS#3345: reorder includes to workaround Pth signal redefine problem
2004-09-25 01:47:02 +00:00
Jong Hyuk Choi
dda85fafe9
rework of slap_mods2entry dup
2004-09-24 08:19:50 +00:00
Jong Hyuk Choi
c7d4f2841e
back out prev commit
2004-09-24 07:26:44 +00:00
Jong Hyuk Choi
e4d199d7bb
A follow-on commit to the previous @oc support change to use anlist
2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Pierangelo Masarati
0055675bfc
improve candidate selection when filtering by objectClass
2004-09-22 23:17:32 +00:00
Jong Hyuk Choi
a116c2fb5e
a memory fix for slap_mods2entry(): don't trim mods array - trim it outside
2004-09-21 03:08:07 +00:00
Howard Chu
89b03a1c7e
Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
...
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Jong Hyuk Choi
34280359b5
misc bug fix for @oc support
2004-09-20 19:44:05 +00:00
Luke Howard
0ac9b6889e
Remove unused variable if not compiling with HAVE_TLS - NB slapd always
...
exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
2004-09-20 04:06:25 +00:00
Luke Howard
eb9720c802
Add register_certificate_map_function() native plugin API for registering
...
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Kurt Zeilenga
2647a615ce
value_match cleanup
2004-09-18 06:04:57 +00:00
Kurt Zeilenga
7f773613f8
component cleanup
2004-09-18 02:32:06 +00:00
Jong Hyuk Choi
ffbb5d4ed2
*oc support in attr list
2004-09-18 02:07:41 +00:00
Kurt Zeilenga
d600afca9f
cleanup
2004-09-18 02:05:01 +00:00
Kurt Zeilenga
9c9d1917ce
ITS#3333 fix presence and substrings
2004-09-18 01:59:43 +00:00
Kurt Zeilenga
d4c7dfe847
cleanup
2004-09-18 01:19:07 +00:00
Kurt Zeilenga
ef1ebe0b2c
descriptors are case insenstive (ITS#3334)
2004-09-18 00:21:29 +00:00
Kurt Zeilenga
a997b94f1f
ITS#3333 fix for compare
...
filterentry cleanup
2004-09-17 22:07:29 +00:00
Kurt Zeilenga
9c5768cd8e
Initial ITS#3333 fix
...
(needs to be applied to other filter cases)
2004-09-17 21:43:28 +00:00
Sang Seok Lim
452fc403dd
Bug Fix : removing problematic counter increment
2004-09-17 16:49:38 +00:00
Jong Hyuk Choi
c60dca5c1e
free default_referral
2004-09-14 01:04:28 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Jong Hyuk Choi
7dc0487341
support for syncrepl attr list in file (both attrs and exattrs)
2004-09-14 01:02:18 +00:00
Pierangelo Masarati
55e251e6e8
lots of cleanup; few improvements; fix RDN selection bug when creating connection dynamic entries; rework entries ordering - now it's more intuitive and regular; optimize counters update
2004-09-12 22:12:58 +00:00
Jong Hyuk Choi
1fe8f20516
release syncinfo mem upon syncrepl failure as well as shutdown
2004-09-11 22:37:21 +00:00
Kurt Zeilenga
444c49827c
Fix result codes
2004-09-11 20:01:03 +00:00
Pierangelo Masarati
9eca1bd75e
fix previous commit...
2004-09-11 17:46:00 +00:00
Pierangelo Masarati
c07979b968
fix previous commit when GMP is not defined
2004-09-11 17:29:05 +00:00
Pierangelo Masarati
c04bebe750
minor improvements
2004-09-11 16:16:41 +00:00
Pierangelo Masarati
a637926bf2
use GMP for multiple precision in counters
2004-09-11 16:15:53 +00:00
Pierangelo Masarati
7dc5a0bb83
fix negative counters; prepare for imrpved count of sent data
2004-09-11 11:05:41 +00:00
Pierangelo Masarati
48b7292fc6
blind update to new tests
2004-09-11 11:05:01 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d
Add localSSF slapd.conf(5) directive to set SSF associated
...
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
0fa3715e04
ITS#3326: fix slaptest shutdown
2004-09-10 17:15:33 +00:00
Kurt Zeilenga
31cfbb90df
Use a statically allocated globals
...
Still failing on Freebsd 4.
2004-09-09 19:07:46 +00:00
Kurt Zeilenga
0b331b8159
changing a malloc to a calloc shouldn't change behavior, but
...
this change seems to causes test007 to fail on some systems
(e.g., FreeBSD 4).
2004-09-09 06:16:03 +00:00
Kurt Zeilenga
910076d26f
Add additional DN matching rules.
2004-09-09 03:56:58 +00:00
Kurt Zeilenga
741f9ea383
Add initial dnSubtreeMatch.
...
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +00:00
Kurt Zeilenga
f1f18f7b93
improve last commit
2004-09-08 21:53:46 +00:00
Kurt Zeilenga
c54a8de9c8
Fix entryDN matching
2004-09-08 21:51:12 +00:00
Kurt Zeilenga
cdd94c7aa1
Add "slapcat -a filter" support
2004-09-08 21:44:28 +00:00
Kurt Zeilenga
ee66a01b8c
Add entryDN MRA support. This is intended to be used:
...
(entryDN:isSubordinate:=dc=example,dc=net)
isSubordinate should be implemented in component matching terms
2004-09-07 21:10:28 +00:00
Kurt Zeilenga
f9c9219f98
Add presence and equality support for entryDN,
...
extensible matching (the main objective) coming soon.
(This stuff should really be table driven (for extensibility reasons).)
2004-09-07 20:58:46 +00:00
Kurt Zeilenga
f317696520
cleanup
2004-09-07 20:18:07 +00:00
Kurt Zeilenga
61d0fd3667
Fix OID assignment
2004-09-07 05:27:30 +00:00
Kurt Zeilenga
756a677482
entryDN is dynamic
2004-09-07 05:06:50 +00:00
Kurt Zeilenga
094bc99b83
Initial entryDN implementation.
...
Need to implement filter support (for entryDN and subschemaSubentry).
Fixed hasSubordinate assert() bug in entry filters
2004-09-07 05:00:33 +00:00
Kurt Zeilenga
7e2fe5babe
Use shtool(1) (to a limited degree, more use would simplify things)
...
Fix ITS#3285 (relative linking of slap tools).
2004-09-05 03:24:28 +00:00
Pierangelo Masarati
431acda61b
trying to make names consistent
2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Kurt Zeilenga
64c5fa4a9d
ITS#3320: 'restrict' cleanup
2004-09-03 21:49:13 +00:00
Jong Hyuk Choi
76dfffafe4
fix for test019 glitch
2004-09-03 12:16:15 +00:00
Jong Hyuk Choi
899848181d
added avl_free() at the end of do_syncrep2()
2004-09-02 18:12:37 +00:00
Howard Chu
88e2771bca
ITS#3309 better fix, add op->ord_csn in frontend and use it in backend.
2004-09-02 11:05:13 +00:00
Jong Hyuk Choi
320ab38e45
use of NULL ctx in slap_modrdn2mods
2004-09-01 16:27:19 +00:00
Jong Hyuk Choi
70fda7725a
revert prev commit to normalizers
2004-09-01 16:01:36 +00:00
Howard Chu
559b746437
Avoid gratuitous reindexing of cn and objectclass in syncrepl_updateCookie
2004-09-01 04:18:56 +00:00
Howard Chu
5c1c0902b4
ITS#3309 fix syncrepl psearch propagation of Delete operations
2004-09-01 03:23:36 +00:00
Kurt Zeilenga
17d920063a
subsequent allows/disallows directives should be additive
2004-09-01 00:34:34 +00:00
Kurt Zeilenga
1ece02dc7d
cleanup
2004-09-01 00:23:34 +00:00
Jong Hyuk Choi
6baa9b1e2b
use ch_malloc for normailzed values
2004-08-31 14:22:56 +00:00
Jong Hyuk Choi
e6df94946d
patch for ITS#3296 - do not use sl_malloc on normalized attr values
2004-08-31 13:47:33 +00:00
Kurt Zeilenga
7f22fd5b45
Add note about test.schema
2004-08-30 22:43:38 +00:00
Kurt Zeilenga
c01e9a109d
On second thought, reverse that commit.
...
Rather not promote use of the old schema.
2004-08-30 22:33:18 +00:00
Kurt Zeilenga
efbef99de7
krbName may be useful without old k4bind
2004-08-30 22:28:21 +00:00
Kurt Zeilenga
4d1e5d90a5
Zap old krb5-kdc schema.
2004-08-30 22:23:50 +00:00
Pierangelo Masarati
a469dc6741
fix previous commit
2004-08-30 07:30:01 +00:00
Jong Hyuk Choi
6f9025423f
ITS#3289 - exattrs support
2004-08-29 22:28:28 +00:00
Jong Hyuk Choi
a6c08d747f
Use global alloc for now
2004-08-29 20:01:21 +00:00
Jong Hyuk Choi
71f45bd40b
Further fixes for ITS#3297
2004-08-29 19:19:22 +00:00
Kurt Zeilenga
c449fdd217
TLS SSF does not imply a transport_ssf.
2004-08-28 21:58:20 +00:00
Kurt Zeilenga
89772e9bdd
Replace compfilter.schema with test.schema, which now
...
holds a single attribute type 'componentTest'. Fix
up test031 to avoid modification of standard schema.
(Not sure why this attribute is needed, tests likely
should operate on userCertificate and other existing
attributes which complex syntaxes.)
2004-08-28 19:41:13 +00:00