Howard Chu
da7a4a0708
Fix prev commit
2006-12-18 02:35:32 +00:00
Pierangelo Masarati
7bcbd40344
catch invalid read (i == -1)
2006-12-18 01:28:43 +00:00
Howard Chu
2a9afa55a7
Avoid unnecessary calls to oc_bvfind
2006-11-27 19:59:59 +00:00
Howard Chu
ee9623ad0f
Use quicksort in slap_mods_check for finding duplicates.
...
Currently enabled, preserving original order of input. See ifdefs to
alter the behavior: SLAP_MODS_CHECK_QUICKSORT, PRESERVE_ORDER
2006-11-25 10:58:45 +00:00
Kurt Zeilenga
d3e288dffe
s/managedit/relax/
...
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
5487575086
Add link to FAQ entry on BDB tuning
2006-03-30 17:56:56 +00:00
Kurt Zeilenga
662051cd16
cleanup
2006-03-07 07:19:15 +00:00
Howard Chu
0e6aa53cd1
Unifdef SLAPD_MULTIMASTER, use config setting instead
2006-02-06 04:45:12 +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
Pierangelo Masarati
7f826af5fd
also restore original o_bd
2006-01-14 17:47:54 +00:00
Pierangelo Masarati
62497187c7
cleanup
2006-01-06 16:31:07 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +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
Kurt Zeilenga
79ef5e812f
Fix typo in last commit -- shorten message by removing
...
extraneous information
2005-11-17 22:57:11 +00:00
Pierangelo Masarati
99b450dc00
don't accept modify operations with no modifications (ITS#4183)
2005-11-17 22:45:32 +00:00
Howard Chu
1340530e41
Fix missing error text
2005-11-17 08:40:46 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
d959a7a7b5
add some sanity checks...
2005-11-09 17:08:11 +00:00
Hallvard Furuseth
0bf486b82e
Remove unused variable (modtail in fe_op_modify())
2005-10-14 13:01:14 +00:00
Pierangelo Masarati
b90a496187
fix previous commit (modifyTimestamp didn't get appended to the list); add opattrs to back-monitor mods
2005-10-14 10:02:50 +00:00
Howard Chu
7eab94c4b5
Fix prev commit for test037
2005-10-14 00:05:43 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Howard Chu
d4c3093996
Silence valgrind warnings
2005-09-09 01:44:42 +00:00
Pierangelo Masarati
e066ec210e
merge sml_managing into sml_flags (SLAP_MOD_MANAGING)
2005-08-18 08:48:10 +00:00
Pierangelo Masarati
ef7421b87d
more on manage access level
2005-08-18 02:25:10 +00:00
Pierangelo Masarati
b2284183f9
more on manage
2005-08-17 22:06:46 +00:00
Pierangelo Masarati
965d00a1dd
allow to manage entryUUID; allow to manage noUserMod attrs during add
2005-08-17 20:53:39 +00:00
Pierangelo Masarati
2b93e9b376
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
2005-08-11 23:35:15 +00:00
Pierangelo Masarati
f8407435cc
cleanup
2005-08-10 10:25:24 +00:00
Hallvard Furuseth
d50820cdd6
Read LDAPResult.resultCode & ModifyRequest.modification.operation
...
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.
libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result. slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +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
Luke Howard
40ec064b66
Fix logic error in slap_mods_no_repl_user_mod_check()
2005-07-31 05:04:37 +00:00
Luke Howard
6f0edd6c22
Call slap_mods2entry() in do_add(), so that global overlays (including
...
global SLAPI plugins) have access to op->ora_e.
Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.
2005-07-31 04:56:27 +00:00
Luke Howard
9a1c8cdb88
Allow sml_desc to be set by caller in slap_mods_check()
2005-07-23 12:00:52 +00:00
Luke Howard
ffe20229dc
Move most of SLAPI frontend into overlay
2005-07-21 16:35:20 +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
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Howard Chu
782d767c33
ITS#3763 fix typo in slap_timestamp
2005-06-09 18:59:54 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +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
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
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +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
Pierangelo Masarati
f2c4803dbd
someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...)
2005-04-17 19:12:46 +00:00
Howard Chu
d882ce511d
Generic ordered value support
2005-04-14 10:31:51 +00:00