Commit Graph

6770 Commits

Author SHA1 Message Date
Pierangelo Masarati
bc97f801bf fix previous commit 2005-04-08 00:19:01 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Pierangelo Masarati
5807c2b379 add dynlist build stuff 2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a add dynlist build stuff 2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309 add dynlist.c from SysNet's repository; needs build stuff (when mature) 2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870 document option '-F' 2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a Fix access error return 2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443 line up usage message 2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95 Ignore include file records when loading LDIF tree, their contents
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281 On add, sort attributes in schema order to enforce config sequencing 2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8 Improved log message when cannot find entry of desired class 2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05 use alias name instead of column name in order by clause (ITS#3629) 2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5 update diagnostics and man pages 2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14 cleanup previous commits 2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb cleanup listener permissions 2005-04-04 10:42:50 +00:00
Howard Chu
bf0373b486 Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN 2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks) 2005-04-03 01:59:03 +00:00
Pierangelo Masarati
fe1b73c712 implement checking of the whole target entry if no attributes are specified (ITS#3624) 2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6 rework few members of slap_bindconf; silence few warnings 2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e clarify the usage of dnParent( dn, dn ) 2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well) 2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b fix database operations in tool mode (ITS#3622) 2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16 Truncate \r if it appears at end of DB_CONFIG lines 2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b Add dbconfig directive for creating/writing the DB_CONFIG file 2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c ITS#3607 more for Win32 portability 2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f ITS#3607, added Win32 lock support 2005-04-01 06:10:06 +00:00
Kurt Zeilenga
af866c3b44 Added a conformant sortedResults support which is unable to sort anything. 2005-04-01 02:40:29 +00:00
Kurt Zeilenga
0b6ed01c05 cleanup 2005-04-01 02:39:01 +00:00
Howard Chu
652d0a189a Fix filter crash when DN contains parenthesis 2005-04-01 02:13:17 +00:00
Pierangelo Masarati
3958eb9e98 actually retrieve the target, to apply clauses like sets and so 2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f cleanup options 2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e always shutdown (slaptest was not) 2005-03-31 19:34:36 +00:00
Pierangelo Masarati
584b21d20b initial commit of "level" styles for "dn" and "self" by clauses (ITS#3615) 2005-03-31 18:10:11 +00:00
Pierangelo Masarati
26c1524163 rework provious commit(s) 2005-03-31 12:18:56 +00:00
Pierangelo Masarati
e85c3f2f6a more cleanup? 2005-03-31 00:30:41 +00:00
Pierangelo Masarati
1c5e5b7db0 cleanup 2005-03-31 00:27:53 +00:00
Pierangelo Masarati
8d3eb19995 beautify conditional compilation warning 2005-03-30 23:46:25 +00:00
Pierangelo Masarati
a96f2af281 more dnParent() and misc cleanup 2005-03-30 22:45:46 +00:00
Pierangelo Masarati
20b3d14dc3 more dnParent() cleanup 2005-03-30 22:29:54 +00:00
Pierangelo Masarati
83bb1c93cb allow setting misc params used by ACL checking 2005-03-30 22:29:35 +00:00
Pierangelo Masarati
61bb4bb630 allow dnParent to work in place 2005-03-30 20:18:11 +00:00
Pierangelo Masarati
22bc85dc77 minor cleanup 2005-03-30 18:58:52 +00:00
Pierangelo Masarati
7cf03f2b50 don't fail if the directory can't be opened because it doesn't exist; silence few warnings 2005-03-30 18:38:04 +00:00
Pierangelo Masarati
7d531d1416 release lock as early as possible; deferring referral checking in searches may reduce the amount of dynamic entry generation 2005-03-29 23:56:23 +00:00
Pierangelo Masarati
908aaa5107 add manageDSAit & referral support (to be tested); cleanup some error conditions 2005-03-29 18:57:42 +00:00
Pierangelo Masarati
40ec0992d6 don't continue if fopen failed 2005-03-29 11:43:36 +00:00
Howard Chu
fbbc07e644 Allow for alternate ordering characters to be used in the filesystem 2005-03-29 08:29:38 +00:00
Howard Chu
b8bf38cd5b Tighten up some schema 2005-03-29 03:31:48 +00:00
Howard Chu
aaf112c9c2 Better numeric sorting for ordered entries 2005-03-29 03:11:40 +00:00
Sang Seok Lim
d2af85fd08 Fixing memory leakage in attribute aliasing 2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c fix previous commit 2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs 2005-03-28 18:51:02 +00:00
Howard Chu
62d21aadd0 Register ManageDSAit control 2005-03-28 10:23:04 +00:00
Howard Chu
51c913d83c Fix missing break's, add overlay works 2005-03-27 13:27:30 +00:00
Howard Chu
a2348970e5 Fix search, fix add. Adding backends/databases works. 2005-03-27 13:08:57 +00:00
Howard Chu
18bf31b3c6 ITS#3607 build alock 2005-03-27 06:45:15 +00:00
Howard Chu
4d4e58d8f1 ITS#3607 build alock code 2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5 ITS#3607 add automatic BDB recovery 2005-03-26 09:52:04 +00:00
Kurt Zeilenga
e7e8ec90b6 Update uniqueMemberMatch to be consistent with latest
draft-ietf-ldapbis-syntaxes
Add uniqueMemberMatch approximate support
Add uniqueMemberMatch indexing support
2005-03-26 02:07:00 +00:00
Kurt Zeilenga
71c2c1c9fe Change "subtree delete not supported" diagnostic text to
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
eb8f927af3 Fix copyright/attribution comments 2005-03-25 20:11:28 +00:00
Kurt Zeilenga
8da81d42c7 ITS#3538: improved substrings matching (spaces handled
in accordance with LDAPprep)
2005-03-25 05:57:07 +00:00
Howard Chu
5a66d7de66 Fix prev commit 2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +00:00
Kurt Zeilenga
7677c00d80 cleanup 2005-03-23 01:50:49 +00:00
Howard Chu
5c3a4e176e Preliminary ldapAdd support 2005-03-21 23:59:53 +00:00
Howard Chu
4fcab959c0 Define SLAP_USE_CONFDIR, fix moduleload 2005-03-21 20:07:05 +00:00
Howard Chu
c9141a9a08 More parsing fixes 2005-03-21 11:14:37 +00:00
Howard Chu
38383fca41 Fix startup check 2005-03-21 10:32:28 +00:00
Howard Chu
3f357270d4 Fix unparsers, schema loading works 2005-03-21 10:23:01 +00:00
Howard Chu
119cbcaba4 Schema unparsing support 2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f Add HARDCODE schema flags 2005-03-21 00:22:54 +00:00
Howard Chu
1476ad80a6 Tweak log msg in prev commit 2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82 Runtime detection of BDB read-only transaction patch 2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e db mismatch (including patch mismatch) should be an error 2005-03-20 17:18:15 +00:00
Howard Chu
320c291455 Fix config_rootpw 2005-03-20 09:50:09 +00:00
Howard Chu
48ee1e7021 Fix prev commit 2005-03-20 09:24:35 +00:00
Howard Chu
fda662bd34 More for loading config from LDIF 2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db ITS#3579 fixes 2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573 cleanup 2005-03-20 01:58:38 +00:00
Kurt Zeilenga
305f6c4f2c Honor disclose in compare_entry() 2005-03-19 20:14:14 +00:00
Kurt Zeilenga
5d169e40ea move honor disclose back behind LDAP_DEVEL
needs more work before really ready for release (2.4?)
2005-03-19 19:31:32 +00:00
Howard Chu
90172993a3 Add ordered-values schema flag 2005-03-18 23:24:28 +00:00
Howard Chu
c2a9642850 Support subtree rename, refuse subtree delete 2005-03-18 23:22:12 +00:00
Howard Chu
f06247fede Added some implementation notes (reminders...) 2005-03-18 09:50:06 +00:00
Howard Chu
f77233d2ea Fix slapd_crypt declaration 2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1 Cleanup prev commit 2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a avoid potential deadlock related to ACLs checking 2005-03-18 00:10:10 +00:00
Kurt Zeilenga
c29c0c9bd8 Fix compile warning 2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef Silently ignore if back-ldif is not present 2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c More for loading config from database. Fix non-reentrant strtok_quote. 2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1 In aci_set_gather propagate op->o_private to subordinate search 2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c "disclose" implementation good enough for beta 2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a Read config tree from back-ldif 2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23 Fix enum_tree, return in lexical order 2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206 ITS#3542 - ignore timevals from deferred tasks 2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213 Revert prev commit, wrong fix 2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2 ITS#3542 if slapd processes too slowly, time diff can go negative 2005-03-17 04:44:21 +00:00
Howard Chu
f955f17076 ITS#3576 use actual backend (not glue instance) for restriction and
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
4e5407a096 Check for db_init failures 2005-03-16 21:44:05 +00:00
Howard Chu
cd23b2ddf4 Fix unterminated debug msgs 2005-03-16 21:29:32 +00:00
Howard Chu
5ffc2ce9f1 Fix ITS#3601 2005-03-16 21:03:51 +00:00
Howard Chu
585b4a02ef Fix prev commit, overlay config was broken 2005-03-16 20:31:49 +00:00
Howard Chu
49bf49de06 More cleanup. Still needs work. 2005-03-16 07:45:17 +00:00
Kurt Zeilenga
6ea6a72d5d remove non-ISO-C-isms
This code needs to be cleaned up!
2005-03-16 02:33:27 +00:00
Pierangelo Masarati
c90998e60d cure ITS#3602 2005-03-15 23:01:06 +00:00
Howard Chu
bc4564cac4 More back-config / back-ldif integration, added config_generic_wrapper,
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
f682ee0918 entry_schema_check - NULL out *text when returning Success 2005-03-15 08:29:42 +00:00
Kurt Zeilenga
f06ca8eb1f cleanup 2005-03-15 03:11:24 +00:00
Kurt Zeilenga
3b3c521083 slapi glue fix 2005-03-15 02:47:27 +00:00
Kurt Zeilenga
c19b745b64 cleanup 2005-03-14 23:21:35 +00:00
Howard Chu
a49215d4bf Move cn=config from namingContexts to configContext 2005-03-14 23:21:00 +00:00
Howard Chu
902494b432 Cleanup prev commit 2005-03-14 19:46:14 +00:00
Howard Chu
38cf26c95a Fix typo 2005-03-14 19:23:42 +00:00
Howard Chu
b120d92bd6 ITS#3596 - fix overlay cleanup processing 2005-03-14 01:23:38 +00:00
Howard Chu
b508cca217 ITS#3596 partial fix - fix sc_cleanup processing 2005-03-14 00:39:49 +00:00
Howard Chu
86ef29b5e7 ITS#3596 partial fix - allow abandoning a locked operation 2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f Ignore matches from the entry being modified 2005-03-13 23:18:49 +00:00
Howard Chu
699fa73c2b Added back-ldif 2005-03-10 06:19:18 +00:00
Howard Chu
8da7cce20d Added translucent overlay (sponsored by HP) 2005-03-10 03:13:24 +00:00
Howard Chu
36358007d4 Added dummy config_back_modify, using ldap_pvt_thread_pool_pause/resume 2005-03-07 21:03:04 +00:00
Howard Chu
90f356a9f9 Moved ACLs to their own entry 2005-03-07 18:14:13 +00:00
Kurt Zeilenga
b914aee946 Replace OpenLDAPtime with testTime (in test.schema).
Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:33:26 +00:00
Howard Chu
f7e158333e ITS#2919 move OpenLDAPtime to OpenLDAPperson 2005-03-04 11:35:37 +00:00
Howard Chu
b9b087384c Added config compatibility wrapper for overlays etc... 2005-03-04 10:32:51 +00:00
Howard Chu
50c3487e03 Fix backend config table fallthru 2005-03-04 10:01:31 +00:00
Howard Chu
0b9ffad770 Don't restrict cache sizes to non-zero 2005-03-04 09:45:08 +00:00
Howard Chu
8573640ff9 Fix schema init sequence 2005-03-04 09:26:50 +00:00
Howard Chu
5616daf9f8 ITS#2919 add a user modifiable generalizedTime attribute
(please assign an OID for this attribute)
2005-03-04 09:16:37 +00:00
Howard Chu
4e2dccf147 Fix prev commit, make sure to only send result once 2005-03-04 06:25:10 +00:00
Howard Chu
379a620217 Fix ITS#3537 (need to repeat this fix for the other operations too.) 2005-03-04 06:20:37 +00:00
Howard Chu
c160e0d349 ITS#3579 disable ldap_syslog earlier. 2005-03-04 04:32:43 +00:00
Howard Chu
a025ead532 ITS#3533 use LDAP_DEBUG_TRACE for version info 2005-03-04 00:10:01 +00:00
Howard Chu
74e38c0ad4 More verbmasks cleanup, added index unparsing 2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e Cleanup verb/mask processing 2005-03-02 14:49:54 +00:00
Howard Chu
1bc59be16d Fix initial config file info 2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902 Reorganized config/bconfig. Migrated back-bdb config. 2005-03-02 04:46:50 +00:00
Howard Chu
a2a9ae725f Drop "access " from acl_unparse 2005-03-01 23:17:54 +00:00
Howard Chu
b6a42fd1a2 Fix prev commit 2005-03-01 23:13:21 +00:00
Howard Chu
58865ccb38 Added general limits retrieval 2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36 Added limits_unparse_one 2005-03-01 21:25:32 +00:00
Howard Chu
5a2333573c Fix prev commit 2005-03-01 21:16:44 +00:00
Howard Chu
5acd0c574b Added authz-regexp, slapi plugin retrieval 2005-03-01 20:08:36 +00:00
Howard Chu
e509e81ecd Fix slapi plugin info 2005-03-01 20:05:20 +00:00
Pierangelo Masarati
70963520d4 fix ITS#3406 wrt/ dnattr; silence warning 2005-03-01 18:40:23 +00:00
Howard Chu
21aa0d0f9f Added oidm retrieval 2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +00:00
Howard Chu
05a4b7e234 Added moduleload/modulepath retrieval 2005-02-28 22:19:55 +00:00
Pierangelo Masarati
bb82f8ffd0 fix ITS#3570 (please review) 2005-02-27 20:02:13 +00:00