Commit Graph

7107 Commits

Author SHA1 Message Date
Pierangelo Masarati
c7c572f883 fix ITS#3785: do our best to deal with invalid filters... 2005-06-16 19:27:03 +00:00
Pierangelo Masarati
7fdcd2ec60 fix ITS#3785: do our best to deal with invalid filters... 2005-06-16 19:19:11 +00:00
Kurt Zeilenga
b703938d61 symbol rename for AIX (ITS#3787) 2005-06-16 19:17:38 +00:00
Luke Howard
f90800667d Fix OpenLDAP ITS#3782 - broken logic in bitwise matching rules 2005-06-16 05:31:24 +00:00
Howard Chu
b6aa697000 ITS#3779 fix pwdLockoutDuration handling 2005-06-15 21:21:12 +00:00
Ralf Haferkamp
f9fb5e63f4 silence warning 2005-06-15 18:00:49 +00:00
Howard Chu
60339c7f77 ITS#3777 fix scheme comparison 2005-06-15 03:06:48 +00:00
Howard Chu
4667a44ae6 Fix typo in prev commit 2005-06-13 23:57:30 +00:00
Howard Chu
f84fc983fd ITS#3774 delete backend/overlay structures after a failed add 2005-06-13 22:49:01 +00:00
Pierangelo Masarati
ba8b6bbd88 add delete stuff to all attributes (needed to deelete with "fail_if_no_mapping yes"); passes write test(s) 2005-06-13 22:13:10 +00:00
Pierangelo Masarati
acf5187b2e rework assertion 2005-06-13 22:12:11 +00:00
Pierangelo Masarati
495106c213 fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql_add() 2005-06-13 22:11:41 +00:00
Howard Chu
a4d2c63a61 ITS#3773 additional fix 2005-06-13 21:25:51 +00:00
Howard Chu
6cacc7fb5d ITS#3773 fix RDN comparison 2005-06-13 21:21:27 +00:00
Pierangelo Masarati
e12c4ca230 preemptive time limit check in proxy backends 2005-06-13 19:14:40 +00:00
Howard Chu
63f6e91a97 ITS#3772 fix dependencies for static overlays 2005-06-13 10:24:39 +00:00
Howard Chu
2cc3190c62 ITS#3770 lockf can return either EACCES or EAGAIN 2005-06-11 19:32:03 +00:00
Howard Chu
117b686da4 ITS#3765 don't allocate cache for empty IDLs 2005-06-11 19:12:49 +00:00
Howard Chu
22b9f5f595 Converted openldap.schema to .ldif, added explanatory text 2005-06-11 00:54:32 +00:00
Howard Chu
0dc29f4dd4 Fix prev commit 2005-06-11 00:53:28 +00:00
Howard Chu
4f28194820 Fix modload/modpath, allow either/both to be empty 2005-06-11 00:47:12 +00:00
Howard Chu
8fe7576158 ITS#3764 add signal handlers so slapcat will cleanup if interrupted.
(Just slapcat for now, other tools don't seem to be critical.)
2005-06-10 20:14:32 +00:00
Howard Chu
cd15432de6 More accesslog updates 2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6 In-directory logging overlay 2005-06-10 09:18:01 +00:00
Howard Chu
62b81c9632 More for prev commit - break from mask_to_verbs when mask has gone to zero 2005-06-09 23:39:18 +00:00
Howard Chu
e42e8d7130 Add op->o_tincr to distinguish ops with same op->o_time. (We should
be preparing to use timestamps with sub-second resolution, really.)
2005-06-09 22:56:35 +00:00
Howard Chu
0658ff91b7 Tweak mask_to_verbs for multiple-bit masks 2005-06-09 22:55:21 +00:00
Howard Chu
884ebf9142 Fix prev commit - slapdn should not start any databases 2005-06-09 20:09:15 +00:00
Howard Chu
2c8b0f7a49 ITS#3621 slaptest should start databases when dryrun is not specified 2005-06-09 19:27:35 +00:00
Howard Chu
782d767c33 ITS#3763 fix typo in slap_timestamp 2005-06-09 18:59:54 +00:00
Pierangelo Masarati
91bdea2817 use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend 2005-06-09 11:03:06 +00:00
Pierangelo Masarati
94747a8489 fix previous commit; document aliasing and aliasing quotes configuration 2005-06-09 09:45:02 +00:00
Pierangelo Masarati
e52d5cb812 make aliasing and aliasing quotes configurable 2005-06-09 09:43:20 +00:00
Howard Chu
58e8817fc1 ITS#3760 don't select on uninit'd writefds 2005-06-09 08:19:05 +00:00
Howard Chu
caefdf007c Fix dynamic modload, make sure to use correct modulepath. 2005-06-09 07:15:49 +00:00
Howard Chu
21b8be393a Add slap_timestamp(), use mutex in slap_get_csn() 2005-06-07 04:12:14 +00:00
Howard Chu
3bae4b4acb ITS#3691 import auditlog overlay 2005-06-07 03:03:18 +00:00
Pierangelo Masarati
ea85bcadfc remove #defines moved to frontend 2005-06-05 22:58:18 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Kurt Zeilenga
43ffb3f235 Fix -ULDAP_DEVEL build 2005-06-03 22:13:27 +00:00
Kurt Zeilenga
da9732a766 fix -ULDAP_DEVEL compile 2005-06-03 21:52:54 +00:00
Kurt Zeilenga
8ef743309b Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release) 2005-06-03 20:54:06 +00:00
Kurt Zeilenga
8297b0b9df ITS:3749: Extend manageDIT support to LDBM. 2005-06-03 17:24:31 +00:00
Howard Chu
ef3989aba8 ITS#3748 fix startup of newly added databases and overlays 2005-06-03 08:26:55 +00:00
Pierangelo Masarati
4d58c2f39f fix previous commit 2005-06-01 19:36:58 +00:00
Pierangelo Masarati
3751f0325d work around syncprov interoperation issues; minor cleanup 2005-06-01 19:35:13 +00:00
Pierangelo Masarati
6434721e42 fix improper use of "fail_if_no_mapping" flag: fail in case of error, don't fail only if mapping is not present 2005-06-01 16:51:36 +00:00
Pierangelo Masarati
4914ea313d fix ITS#3753 2005-05-30 14:49:47 +00:00
Pierangelo Masarati
36c5fe1991 don't leave dangling pointers; pass entry when sending referrals 2005-05-30 12:37:24 +00:00
Pierangelo Masarati
b30b82a65a do not return spurious result codes 2005-05-30 12:36:21 +00:00
Pierangelo Masarati
00c6709896 expose macro(s) to produce string representations of arbitrary precision counters 2005-05-28 14:30:43 +00:00
Howard Chu
b6d515330c ITS#3748 do necessary startup when adding databases online 2005-05-26 09:43:39 +00:00
Pierangelo Masarati
47daec07d5 fix previous commit :) 2005-05-25 12:05:39 +00:00
Pierangelo Masarati
1b9c9577c2 invalidate cached connections if URI changed 2005-05-25 11:54:19 +00:00
Howard Chu
d7745c17d4 Use "pcache" to invoke the overlay instead of "proxycache" 2005-05-24 17:13:37 +00:00
Howard Chu
5f5356567e ITS#3747 move subschemasubentry attr initialization 2005-05-24 17:06:33 +00:00
Pierangelo Masarati
2f0d712492 exit on error 2005-05-23 21:59:14 +00:00
Pierangelo Masarati
3a9fd69747 handle "dn=*" <what> clause 2005-05-23 20:29:01 +00:00
Pierangelo Masarati
672c39024e further fixing of back-ldap config; added enum_to_verb call to ease mapping enumerations to strings... 2005-05-23 14:14:34 +00:00
Howard Chu
bf110af723 Fix slap_verbmask 2005-05-23 12:56:14 +00:00
Pierangelo Masarati
fc148e8e54 fix interaction with table-driven config of back-ldap (please review) 2005-05-23 07:25:45 +00:00
Pierangelo Masarati
a7f44159c1 complete back-config support, including chain overlay; passes all tests; HEADS-UP: few syntax changes (essentially backwards compatible) 2005-05-23 07:25:00 +00:00
Pierangelo Masarati
0873f03b39 don't unparse starttls field in slap_bindconf if default 2005-05-23 07:23:46 +00:00
Pierangelo Masarati
e73e9ddd7c allow LDAP_AUTH_NONE 2005-05-23 07:22:32 +00:00
Pierangelo Masarati
c573fe70fb authid-rewrite*: fix parsing, rework unparsing 2005-05-23 07:21:58 +00:00
Pierangelo Masarati
950c9a78a1 try to propagate cf info; required, e.g. by translucent overlay and more (please review) 2005-05-23 07:20:49 +00:00
Pierangelo Masarati
da2a26d19f first round of back-config support; need to #define LDAP_BACK_BCONFIG; no support for rewrite and so, still stuff to fix. Doesn't pass most of the tests 2005-05-21 19:07:14 +00:00
Pierangelo Masarati
8ff019ad83 minor cleanup 2005-05-21 15:01:44 +00:00
Pierangelo Masarati
f505aec4bc publish updateref... 2005-05-21 14:54:11 +00:00
Pierangelo Masarati
be53e82650 fix entry DN free 2005-05-21 14:53:05 +00:00
Pierangelo Masarati
546cba035c add comment on slap_dummy_bv 2005-05-21 14:51:37 +00:00
Pierangelo Masarati
58abc661f6 "restrict" is a c99 keyword (ITS#3739) 2005-05-21 00:15:16 +00:00
Pierangelo Masarati
e799b27eed ISO C forbids zero-size array (ITS#3739) 2005-05-21 00:08:28 +00:00
Pierangelo Masarati
7b0d820ce5 minor cleanup 2005-05-20 23:36:23 +00:00
Pierangelo Masarati
5f361f31b3 initialize AttributeName structures; allow '*' attribute set (related to ITS#3741) 2005-05-20 23:27:42 +00:00
Howard Chu
3801ba6435 ITS#3731 catch another BDB error leaking out to the frontend 2005-05-18 04:41:24 +00:00
Kurt Zeilenga
872b0a09fd ITS#3725 fix 2005-05-14 18:52:15 +00:00
Kurt Zeilenga
812efa5723 Allow no-user-modification attributes to be managed.
Need to fix the slap_mods_opattrs() clobber.
2005-05-14 06:40:50 +00:00
Kurt Zeilenga
18c3f9e093 Add manage obsolete attributes capability. 2005-05-13 23:51:43 +00:00
Kurt Zeilenga
31727f0f4d Additional manageDIT changes.
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Pierangelo Masarati
d508114a9e improve fix 2005-05-13 20:27:12 +00:00
Pierangelo Masarati
6868323e17 fix ACL_PRIV_MASK for manage 2005-05-13 19:29:38 +00:00
Pierangelo Masarati
6bd4ef7667 fix cleanup in case of error 2005-05-13 19:08:41 +00:00
Kurt Zeilenga
feeeabcd68 manageDIT framework and obsolete objectclasses/DIT-content-rule override 2005-05-13 19:07:31 +00:00
Kurt Zeilenga
002f7ca062 finish global_schemacheck removal 2005-05-13 17:35:36 +00:00
Pierangelo Masarati
46387a12a9 fix sizelimit interaction with glue overlay (ITS#3724) 2005-05-13 13:10:33 +00:00
Howard Chu
dfaffea154 LDIF include must use a file URL 2005-05-13 09:56:17 +00:00
Pierangelo Masarati
96773427db don't bother about slap_dummy_bv 2005-05-13 09:06:28 +00:00
Pierangelo Masarati
cf31d48665 don't free officially dummy values 2005-05-13 08:50:10 +00:00
Kurt Zeilenga
d1143204b2 Add parsing for manageDIT control. 2005-05-13 08:22:08 +00:00
Kurt Zeilenga
2544a320b9 extend manageDIT test cases (now just need to find time
to implement this)
2005-05-13 06:43:06 +00:00
Kurt Zeilenga
cfb3f81582 Control cleanup 2005-05-13 02:34:16 +00:00
Howard Chu
55585110bf ITS#3608 - ignore unavailable non-critical controls 2005-05-13 01:35:20 +00:00
Howard Chu
bfe9ba5b0b Fix parseSearchOptions 2005-05-13 01:33:22 +00:00
Howard Chu
8223663865 Fix typo 2005-05-12 23:38:59 +00:00
Pierangelo Masarati
c4cfe03619 fix sizelimit bug (ITS#3720) 2005-05-12 22:37:56 +00:00
Howard Chu
25877b0d23 Sample LDIF slapd configuration 2005-05-12 03:53:02 +00:00
Howard Chu
70ebcc6305 core.schema converted to LDIF 2005-05-12 03:31:52 +00:00
Howard Chu
923bea9e14 Fix attribute sorting 2005-05-12 03:24:49 +00:00
Howard Chu
37ed2af7e7 Fix for slapadd'ing a config db 2005-05-12 03:24:34 +00:00
Howard Chu
c225c4af34 Updated ldif_read_record to support LDIF include: directive 2005-05-12 00:46:39 +00:00
Pierangelo Masarati
3ce45e11bb fix and strengthen the structural objectClass test 2005-05-12 00:43:29 +00:00
Pierangelo Masarati
740835dff9 remove global_schemacheck 2005-05-12 00:03:50 +00:00
Kurt Zeilenga
bb49be254a Never publish:
supportedLDAPversion: 2
2005-05-11 22:40:50 +00:00
Kurt Zeilenga
c83f7539ae Mostly remove global_schemacheck. More cleanup needed in
bconfig.c and back-sql.
2005-05-11 22:24:18 +00:00
Howard Chu
376537f3d7 ITS#3577 Make librewrite shared - > liblrewrite.la 2005-05-11 10:18:27 +00:00
Pierangelo Masarati
1c8a9fdbeb remove cruft 2005-05-11 08:41:35 +00:00
Pierangelo Masarati
f9e17b539a remove obsolete tests 2005-05-11 08:39:39 +00:00
Howard Chu
c79ecbb390 Add LDAP_DEBUG_SYNC loglevel 2005-05-10 20:42:39 +00:00
Howard Chu
e165806e25 Fix typo, use dn.base instead of dn.exact in unparse 2005-05-10 01:16:21 +00:00
Howard Chu
f19a4ea9ec More value ACL style tweaks 2005-05-10 00:51:28 +00:00
Howard Chu
29a37854bf Fix acl_unparse - add missing style specifiers 2005-05-10 00:32:43 +00:00
Kurt Zeilenga
ccbf18b7d0 Don't split description across multiple values. 2005-05-09 19:07:42 +00:00
Howard Chu
f2e62ea04c Fix (temporary) crash on ldbm 2005-05-09 11:20:24 +00:00
Howard Chu
b8bfb044d1 Add comments for config_overlay 2005-05-09 10:41:05 +00:00
Howard Chu
1d283c2154 More fixes for overlay support. Converted pcache to config table. 2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6 Fix debug msg 2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0 don't compare freed pointers (no harm) 2005-05-09 09:32:44 +00:00
Howard Chu
41127de6bf Fix prev commit, extra objectclass table 2005-05-09 05:14:59 +00:00
Howard Chu
048a36a60f Fix prev commit, trim unused cfOC vars 2005-05-09 05:02:23 +00:00
Howard Chu
bd63507868 Table-driven config 2005-05-09 05:02:01 +00:00
Howard Chu
ee59484f7b Restructured to allow miscellaneous Adds under database/overlay objects 2005-05-09 03:42:51 +00:00
Howard Chu
f8bba201f4 More for error propagation 2005-05-09 01:20:03 +00:00
Howard Chu
179032ffe2 Explicitly set LTONLY_MOD for shared overlays 2005-05-09 00:13:47 +00:00
Howard Chu
a1570f9185 NUL at end of entry not needed any more 2005-05-08 01:12:01 +00:00
Howard Chu
086ab17a8b Delete unused entry_lenlen code 2005-05-08 00:52:24 +00:00
Howard Chu
a740c83208 Macro fix, again 2005-05-08 00:47:14 +00:00
Howard Chu
b5ed840a17 Fix bad macro interaction in prev commit 2005-05-08 00:45:58 +00:00
Howard Chu
f597e7651b Simplify static build 2005-05-07 23:14:57 +00:00
Pierangelo Masarati
e6e80d00f1 don't leave consts around 2005-05-07 10:52:05 +00:00
Howard Chu
f82e2cbf39 Make entry_encode/decode independent of slapd structure sizes 2005-05-06 21:24:49 +00:00
Pierangelo Masarati
54de0cbffc use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places... 2005-05-06 20:36:59 +00:00
Howard Chu
6d7b27fcca Propagate config errors back to caller. 2005-05-06 20:20:45 +00:00
Pierangelo Masarati
dde3f1ad3f cleanup ident string 2005-05-06 17:11:40 +00:00
Pierangelo Masarati
d23243a507 more on strict config parsing (ITS#3705) 2005-05-06 16:42:03 +00:00
Pierangelo Masarati
5ad7133202 add support for "subordinate" scope 2005-05-06 10:21:00 +00:00
Howard Chu
f101ea70cc Fix prev commit 2005-05-06 09:52:42 +00:00
Howard Chu
6b47c11e2f Fix undefined attributetype initializer 2005-05-06 09:47:18 +00:00
Howard Chu
26eee89841 ITS#3710 add missing space 2005-05-06 05:14:02 +00:00
Howard Chu
54eb6f539c Remove redundant def 2005-05-06 01:45:44 +00:00
Howard Chu
c5b355bacb Fix Windows export setup 2005-05-06 01:45:05 +00:00
Howard Chu
86b7448a47 More for ITS#3681 2005-05-06 00:39:25 +00:00
Howard Chu
f4a69f1e8a Fix backends.o dependencies 2005-05-06 00:14:36 +00:00
Howard Chu
9b045fa734 Fix for WIN32 mkdir 2005-05-06 00:02:26 +00:00
Howard Chu
0079690f8f ITS#3681 separate static from dynamic overlays 2005-05-05 22:57:19 +00:00
Howard Chu
345ba007b8 Must always accept "base" for ACL_STYLE_BASE since that is always how
it gets unparsed.
2005-05-05 21:47:40 +00:00
Howard Chu
4107187ecc Fix global entry setup 2005-05-05 20:55:35 +00:00
Kurt Zeilenga
43dba4fd45 Wrap w in WAKE_LISTENER 2005-05-05 20:39:58 +00:00
Kurt Zeilenga
b9139ebf07 Increase listen() backlog to 1024, allow compile time override 2005-05-05 19:41:12 +00:00
Pierangelo Masarati
1001d062d3 consistently rename function 2005-05-05 18:11:35 +00:00