Commit Graph

833 Commits

Author SHA1 Message Date
Kurt Zeilenga
3db579c414 Fixed misuse of matched entry 2006-02-13 21:35:58 +00:00
Howard Chu
fe3b6d0071 ITS#4384 rework entryCSN handling, retrieve from incoming request
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Kurt Zeilenga
f5b9ff7940 unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Pierangelo Masarati
a6203bd1ef improve previous commit 2006-01-07 12:35:02 +00:00
Pierangelo Masarati
39959c3192 release entry before sending results (ITS#4313) 2006-01-07 11:39:18 +00:00
Pierangelo Masarati
a17df0e810 ITS#4310 seems to affect also back-ldbm 2006-01-06 17:44:19 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Luke Howard
df2503d2b4 Remove new_rdn/old_rdn - handled by frontend now 2006-01-02 15:39:06 +00:00
Luke Howard
b6fffd1417 Add orr_modlist member to request structure, containing a list of
modifications to be applied by the backend atomically with a modify
RDN request.

Handle updating of RDN values in frontend.

Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
f29447d9de use helper to destroy modrdn modifications... 2005-12-06 22:55:30 +00:00
Kurt Zeilenga
0d56ddda04 unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES 2005-11-27 01:03:03 +00:00
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
55c52c5c72 better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier) 2005-11-18 00:00:39 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Pierangelo Masarati
ba8027b016 fix back-ldbm build 2005-10-13 22:20:52 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Howard Chu
1769485868 Fix prev commit, reset parent == slap_entry_root 2005-09-28 16:08:01 +00:00
Howard Chu
fc784ad8fd ITS#2757 remove isroot checks, simplify 2005-09-10 01:49:46 +00:00
Howard Chu
f81ad346ff ITS#3978: Added alock calls; warns about inconsistency but continues
to start. Fails for concurrent access attempts, since ldbm does not
support any concurrency. (So slaptools are prevented from running when
slapd is already active.)
2005-09-04 15:48:44 +00:00
Kurt Zeilenga
f07015dad2 Update build tools based upon OPENLDAP_AC work 2005-08-25 20:09:26 +00:00
Pierangelo Masarati
40c0d3bfa3 harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open 2005-08-23 17:38:50 +00:00
Kurt Zeilenga
13accb8b28 Not sure why autoheader isn't doing its job... 2005-08-12 06:17:24 +00:00
Luke Howard
12d006d17d Add o_no_schema_check to operation structure
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Hallvard Furuseth
5949d65b57 Plug memory leak 2005-08-01 03:58:43 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Howard Chu
5d2ba11ad9 ITS#3847 silence warnings 2005-07-11 12:11:15 +00:00
Hallvard Furuseth
40c91251e6 Debug output: printed soc_cname, should be soc_cname.bv_val 2005-07-04 06:05:04 +00:00
Kurt Zeilenga
8297b0b9df ITS:3749: Extend manageDIT support to LDBM. 2005-06-03 17:24:31 +00:00
Kurt Zeilenga
feeeabcd68 manageDIT framework and obsolete objectclasses/DIT-content-rule override 2005-05-13 19:07:31 +00:00
Pierangelo Masarati
d23243a507 more on strict config parsing (ITS#3705) 2005-05-06 16:42:03 +00:00
Howard Chu
cd1bdf99e2 Add task names to runqueue entries. Display running tasks under
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
bb9011b385 ITS#3648 use slapd runqueue for periodic sync 2005-04-12 12:35:00 +00:00
Pierangelo Masarati
53ce94a25d protect all occurrences of ACL_DISCLOSE 2005-04-09 17:00:40 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Kurt Zeilenga
b425b15fc8 Improved log message when cannot find entry of desired class 2005-04-07 00:54:06 +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
1b244bbacd Another abandon check 2005-02-18 00:50:17 +00:00
Howard Chu
ee42df4cea Always return SLAPD_ABANDON in response to op->o_abandon being set. 2005-02-18 00:37:40 +00:00
Pierangelo Masarati
fbb2b75ace matched values is "global" 2005-01-30 22:04:02 +00:00
Howard Chu
12510a2da7 Use str2entry2 2005-01-24 03:42:56 +00:00
Howard Chu
f8dfe10875 Fix prev commit 2005-01-19 08:48:13 +00:00
Howard Chu
692a3625a2 Cleanup rs->sr_text after entry_schema_check succeeds 2005-01-19 07:22:03 +00:00
Howard Chu
1dbe92c27b Delete dubious use of be_syncinfo - only the consumer can write the
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +00:00
Pierangelo Masarati
9885b55e9d fix referral return in back-ldbm as well (same as ITS#3475) 2005-01-12 21:01:42 +00:00