Commit Graph

9103 Commits

Author SHA1 Message Date
Howard Chu
d7771374e2 Fix alignment issues in hdb_dn2idl_internal 2003-09-23 10:55:57 +00:00
Howard Chu
99d2b7e7e9 Fix back-hdb test006 failures due to bad return code in hdb_dn2idl 2003-09-23 08:16:23 +00:00
Luke Howard
114d0081c1 Fix for Howard's fix for ITS #2704
The oblique SLAPI interface requires that preop bind plugins return 1 in the
case that they have authoritatively handled the bind; of course, this is
the same return value that doPluginFNs() returns in the case of no plugins
being called.

This patch should distinguish between the two cases...
2003-09-23 07:40:29 +00:00
Howard Chu
28d466ba66 ITS#2526 Fix slapi builds
note that -lltdl is added redundantly if --enable-modules was specified.
It seems to me that --enable-slapi should have implied --enable-modules
from the beginning.
2003-09-23 06:11:38 +00:00
Howard Chu
a8ae9bb31d ITS#2704 don't hang client when no preop plugins are loaded 2003-09-23 05:35:38 +00:00
Howard Chu
4e581fed59 ITS#2726 make libldbm.a conditional on --enable-ldbm 2003-09-23 02:56:48 +00:00
Jong Hyuk Choi
e6006f9057 fix ITS#2733
- if test back-ldbm then
-    run the provider with back-bdb when back-bdb is configured
-    run the provider with back-hdb when back-hdb is configured
-    exit when neither is configured
2003-09-23 00:11:46 +00:00
Howard Chu
38a406c8ab ITS#2717, use default SASL_MECH if none was provided.
Note that the mech stored in the void *defaults structure is useless
because we can't look inside the structure, and the mech list is needed
as input to the SASL library, before any callbacks are called. It seems
the mech doesn't belong in the *defaults struct, and/or it should be
visible and not opaque.
2003-09-22 23:50:33 +00:00
Howard Chu
089a4852d6 ITS#2678 complain if updateref is missing on a slave database 2003-09-22 18:54:08 +00:00
Luke Howard
ff073b8cd5 Check for HAVE_LONG_LONG in STRTOL macro 2003-09-22 14:01:31 +00:00
Howard Chu
5fb7ea2294 Cleanup prev commit 2003-09-22 10:11:10 +00:00
Howard Chu
0342904699 back-hdb caching updates, use EntryInfo cache for hdb_dn2idl. 2003-09-22 08:37:32 +00:00
Kurt Zeilenga
8ba0c3a3aa Clean up CYRUS test 2003-09-22 06:07:52 +00:00
Kurt Zeilenga
32c523af3b Fix long long comment 2003-09-22 06:07:25 +00:00
Kurt Zeilenga
0bf7746a75 Fix LONG LONG header comment 2003-09-22 06:07:15 +00:00
Howard Chu
365a3bac3f Tweak entry caching: only maintain LRU list on cached entries, not
on arbitrary EntryInfo.
2003-09-21 23:08:44 +00:00
Howard Chu
14745b74d2 ITS#2497 value-level ACLs 2003-09-21 11:07:32 +00:00
Howard Chu
0eca4fa42f More for dynamic groups 2003-09-21 10:52:44 +00:00
Howard Chu
11148522ec ITS#2573 dynamic group support 2003-09-21 10:45:57 +00:00
Howard Chu
b93a0f45d5 ITS#2497 value-level ACLs 2003-09-21 10:34:40 +00:00
Howard Chu
fddbe13c6e Revert broken index optimizations 2003-09-21 10:11:46 +00:00
Luke Howard
3846a8881a Define SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
usage - necessary to use larger types for interop with a certain client
that would expect the assertion (attr:1.2.840.113556.1.4.803:=2147483648)
to match a signed value (eg. -2147483646).

There are probably better / more portable solutions; review appreciated.
2003-09-21 06:26:43 +00:00
Luke Howard
0143bfaaee Also check for strtoll() 2003-09-21 06:04:14 +00:00
Luke Howard
f4b28f230a Check for strtoq, strtouq 2003-09-21 05:49:07 +00:00
Luke Howard
0ce1c00f09 Check for strtoq, strtouq 2003-09-21 05:37:20 +00:00
Howard Chu
6da0f1e48e ITS#2573 dynamic group support
moved labeledURI into system schema
  attribute types that inherit from labeledURI may be used in dynamic
    groups e.g. access to * by group/groupOfURLs/memberURL=foo
2003-09-20 08:16:04 +00:00
Howard Chu
1e808d5ec9 Fix crashes if test_filter is called with NULL op 2003-09-20 08:12:22 +00:00
Howard Chu
20902a2be3 Fix segfault if entry_get is called with NULL attribute 2003-09-20 07:48:57 +00:00
Howard Chu
bb13266a15 Plug memleak in slap_parseURI 2003-09-20 05:55:48 +00:00
Howard Chu
f2c3ba16d6 cn=ldapsync berval cleanup 2003-09-20 03:26:40 +00:00
Howard Chu
93248cee58 Tweak normalization in slap_entry2mods 2003-09-20 03:25:05 +00:00
Howard Chu
1240c70ff4 ITS#2497, implement value-level ACLs:
access to attr=foo val.regex=bar.*
2003-09-20 03:23:10 +00:00
Howard Chu
8f3d3cf3c9 Revert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported. 2003-09-20 00:33:42 +00:00
Kurt Zeilenga
3ca86ffffd Hide experimental features 2003-09-19 18:41:28 +00:00
Kurt Zeilenga
a9a28794bd Hide experimental controls 2003-09-19 18:38:35 +00:00
Kurt Zeilenga
3e49a9cf6e add "proxy" to "authorization" in a few places 2003-09-19 18:23:37 +00:00
Howard Chu
1881ae872f ITS#2729 fix typos 2003-09-19 00:49:33 +00:00
Kurt Zeilenga
04cecc7666 Fix pre/post attrs init bug (ITS#2728) 2003-09-18 17:12:27 +00:00
Jong Hyuk Choi
f6d883d901 error behavior fix and TODO 2003-09-18 06:04:28 +00:00
Jong Hyuk Choi
0d31f9a251 correction of binddn= requirement in the example section 2003-09-17 23:30:43 +00:00
Jong Hyuk Choi
a0331a0487 missing or empty attrs list in a syncrepl specification
is changed to mean attrs="*"
2003-09-17 23:06:57 +00:00
Luke Howard
9459a7f535 fix typo 2003-09-17 11:05:06 +00:00
Jong Hyuk Choi
537ccc3f5f fix for persistent search termination (ITS#2724)
- the consumer slapd did not terminate when the provider is alive
 - use a timeout in ldap_result() of syncrepl.c
2003-09-17 10:34:10 +00:00
Jong Hyuk Choi
d336d7783b fix config file processing (ITS#2722) 2003-09-17 05:34:47 +00:00
Howard Chu
94e88c3700 ITS#2679 don't use cached ACL state from different attribute 2003-09-16 22:03:26 +00:00
Kurt Zeilenga
e878d7eab9 Require Cyrus SASL 2.1 2003-09-16 20:17:18 +00:00
Kurt Zeilenga
1ef3b58d96 Require Cyrus SASL 2.1 or better 2003-09-16 20:17:07 +00:00
Kurt Zeilenga
99f968b597 Initial support for pre/post read controls.
TODO:
	Fix transactional consistency
	Add client response control handling
2003-09-16 18:56:04 +00:00
Kurt Zeilenga
f5cabd3a68 Update refs 2003-09-16 05:27:20 +00:00
Kurt Zeilenga
34d6b50e45 Initial proxy cache and syncrepl chapters 2003-09-16 05:16:33 +00:00