openldap/servers/slapd
Luke Howard ea6f5bad65 This patch fixes some subtle interactions between SLAPI and syncrepl. Due to
SLAPI always assigning connection and operation IDs of zero for internal
operations, such operations would cause a stale contextCSN to be returned from
slap_get_commit_csn(). As a result, SLAPI internal updates would be invisible
to replicas until an external update was made. Also, SLAPI internal operations
never called slap_graduate_commit_csn() which leaked pending CSNs.

Also included in this patch is a general cleanup of some of the SLAPI code.

Note that we need to use a separate mutex on conn_nextid to avoid a deadlock
where a post-operation plugin tries to acquire connections_mutex, having locked
the per-connection mutex, while the listener thread tries to acquire the
per-connection mutex (having locked connections_mutex). connection.c needs to
be fixed to acquire mutexes in the same order.
2004-08-25 11:52:55 +00:00
..
back-bdb add paged results support to back-ldap 2004-08-24 09:19:33 +00:00
back-dnssrv More dynamic/static cleanup 2004-04-08 05:58:54 +00:00
back-hdb Fix module link libraries 2004-04-17 15:12:20 +00:00
back-ldap add paged results support to back-ldap 2004-08-24 09:19:33 +00:00
back-ldbm slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay 2004-07-25 23:16:40 +00:00
back-meta move call to frontend API 2004-08-24 09:29:11 +00:00
back-monitor fix attr_merge() usage 2004-08-06 16:38:41 +00:00
back-null More dynamic/static cleanup 2004-04-08 05:58:54 +00:00
back-passwd clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
back-perl cleanup 2004-05-06 14:51:14 +00:00
back-relay rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
back-shell Use AC_STRERROR_R 2004-04-26 19:16:14 +00:00
back-sql remove cruft 2004-08-25 11:32:47 +00:00
overlays - proxy cache erroneously returns the filtering attributes 2004-08-24 09:24:55 +00:00
schema note that 'email' is deprecated in favor of 'mail' 2004-04-15 02:59:54 +00:00
shell-backends Happy new year 2004-01-01 19:15:16 +00:00
slapi This patch fixes some subtle interactions between SLAPI and syncrepl. Due to 2004-08-25 11:52:55 +00:00
abandon.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
acl.c Reworked fix for ITS#3140 - add access parameter to backend_attribute 2004-08-18 17:14:22 +00:00
aclparse.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
ad.c helpers for special attribute lists 2004-07-18 21:33:15 +00:00
add.c cleanup 2004-08-06 16:40:15 +00:00
at.c fix typo in comment 2004-06-28 20:59:04 +00:00
attr.c fix attr_merge() usage; cleanup 2004-08-06 16:39:45 +00:00
ava.c cleanup 2004-05-19 19:39:40 +00:00
backend.c Reworked fix for ITS#3140 - add access parameter to backend_attribute 2004-08-18 17:14:22 +00:00
backglue.c Qualify some structure fields 2004-07-02 11:34:16 +00:00
backover.c rework op/rs structures to deal with opeartional attributes 2004-07-18 21:44:29 +00:00
bind.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
cancel.c reset o_next pointer before freeing the operation (otherwise an assertion 2004-07-02 14:57:35 +00:00
ch_malloc.c ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
compare.c allow to compare on hasSubordinates 2004-07-31 10:42:28 +00:00
config.c further improve loglevel selection 2004-07-29 12:39:51 +00:00
connection.c This patch fixes some subtle interactions between SLAPI and syncrepl. Due to 2004-08-25 11:52:55 +00:00
controls.c add paged results support to back-ldap 2004-08-24 09:19:33 +00:00
cr.c Happy new year 2004-01-01 19:15:16 +00:00
ctxcsn.c Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex 2004-08-18 10:53:34 +00:00
daemon.c make sure sun_path is cleared out before accept() 2004-07-30 09:56:22 +00:00
DB_CONFIG A very basic DB_CONFIG example 2004-06-18 04:49:08 +00:00
delete.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
dn.c move call to frontend API 2004-08-24 09:29:11 +00:00
entry.c cleanup previous commit 2004-08-21 09:38:58 +00:00
extended.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
filter.c cleanup 2004-05-19 19:39:40 +00:00
filterentry.c fix memory usage 2004-06-28 21:51:08 +00:00
frontend.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
globals.c STRLENOF cleanup 2004-04-27 21:40:54 +00:00
index.c Happy new year 2004-01-01 19:15:16 +00:00
init.c need to defer this... 2004-05-15 10:11:43 +00:00
kerberos.c Happy new year 2004-01-01 19:15:16 +00:00
ldapsync.c ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
libslapd.dsp Blind fix - remove suffixalias.c 2003-03-10 19:13:38 +00:00
limits.c use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly 2004-06-22 09:43:41 +00:00
lock.c Happy new year 2004-01-01 19:15:16 +00:00
main.c minor cleanup 2004-07-28 23:48:08 +00:00
Makefile.in frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
matchedValues.c fix matchedValue (ITS#3209); might need work 2004-07-03 11:17:11 +00:00
modify.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
modrdn.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
mods.c fix permissive; cleanup 2004-08-06 16:40:48 +00:00
module.c Happy new year 2004-01-01 19:15:16 +00:00
mr.c Happy new year 2004-01-01 19:15:16 +00:00
mra.c cleanup 2004-05-19 19:39:40 +00:00
nt_svc.c Happy new year 2004-01-01 19:15:16 +00:00
oc.c Fix wrong error when using operative attribute in 2004-06-25 01:05:49 +00:00
oidm.c Happy new year 2004-01-01 19:15:16 +00:00
operation.c ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
operational.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
passwd.c rework passwd_extop to comply with rwm requirements... 2004-07-20 00:22:05 +00:00
phonetic.c Happy new year 2004-01-01 19:15:16 +00:00
proto-slap.h This patch fixes some subtle interactions between SLAPI and syncrepl. Due to 2004-08-25 11:52:55 +00:00
referral.c use BER_BVNULL 2004-04-07 04:11:43 +00:00
repl.c bvalue cleanup 2004-04-08 06:49:17 +00:00
result.c cleanup attr flags; provide a helper 2004-08-06 17:29:59 +00:00
root_dse.c First rounds of backend/database flag cleanup 2004-04-05 21:00:16 +00:00
sasl.c cleanup function name in log 2004-07-20 00:32:43 +00:00
saslauthz.c Reworked fix for ITS#3140 - add access parameter to backend_attribute 2004-08-18 17:14:22 +00:00
schema.c fix attr_merge() usage; cleanup 2004-08-06 16:39:45 +00:00
schema_check.c bvalue cleanup 2004-04-08 06:49:17 +00:00
schema_init.c should not assert(0) in UUIDValidate 2004-07-28 17:27:52 +00:00
schema_prep.c ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes. 2004-08-19 23:39:45 +00:00
schemaparse.c Fix wrong error when using operative attribute in 2004-06-25 01:05:49 +00:00
search.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
sessionlog.c ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
sets.c fix malformed test and var initialization 2004-08-06 16:14:05 +00:00
sets.h Happy new year 2004-01-01 19:15:16 +00:00
sl_malloc.c Fix ITS#3155 2004-05-27 08:54:34 +00:00
slap.h ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes. 2004-08-19 23:39:45 +00:00
slapacl.c cleanup 2004-07-17 15:15:59 +00:00
slapadd.c slapadd -i <rid list> fix 2004-07-31 00:03:58 +00:00
slapauth.c minor improvements 2004-04-26 00:17:58 +00:00
slapcat.c Merged slap tools with main slapd binary; installs symlinks. 2004-02-26 19:03:41 +00:00
slapcommon.c frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
slapcommon.h add slapacl tool 2004-04-20 00:08:44 +00:00
slapd.conf A very basic DB_CONFIG example 2004-06-18 04:49:08 +00:00
slapd.dsp Remove values match v. filter struct field macro overloads 2003-01-20 20:21:17 +00:00
slapdn.c minor improvements 2004-04-26 00:17:58 +00:00
slapindex.c Merged slap tools with main slapd binary; installs symlinks. 2004-02-26 19:03:41 +00:00
slappasswd.c lutil_passwd_hash result berval is in argument list now 2004-03-02 22:11:31 +00:00
slaptest.c move DN/config test in slapdn/slaptest 2004-03-17 23:25:09 +00:00
starttls.c TLS availability should check slapd's context not the default context. 2004-06-02 17:38:04 +00:00
str2filter.c Happy new year 2004-01-01 19:15:16 +00:00
syncrepl.c ITS#3297 (double free) 2004-08-24 01:20:49 +00:00
syntax.c Happy new year 2004-01-01 19:15:16 +00:00
unbind.c Happy new year 2004-01-01 19:15:16 +00:00
user.c Happy new year 2004-01-01 19:15:16 +00:00
value.c fix attr_merge() usage; cleanup 2004-08-06 16:39:45 +00:00