openldap/servers/slapd
Julio Sánchez Fernández 7581e304c0 It now sort of works, but needs some normalization work and proper
error reporting to client and syslog. And indexing, of course.

Now, the problem is that matching rules get called from different
places that are inconsistent in what an assertedValue is.  When doing
a modify, a full certificate value is passed (to verify it isn't
already there).  When doing a search or compare, the passed value is
in the syntax of the matching rule.

Consistency would require that the caller extracts an asserted value
from the full value before calling smr_match.  It can do this by
calling smr_convert (it was unused, was it meant to be used for
this?).

Unfortunately, the caller is typically value_find, value_match, etc.
that have themselves little knowledge of what they are dealing with,
so their interface needs to be extended, new flag values or new
arguments, so that they know if they have a value in attribute type
syntax or in matching rule syntax.
2001-10-22 06:54:30 +00:00
..
back-bdb Patches for modify/modrdn to work with BDB_USE_BINARY_RW. 2001-10-19 20:28:48 +00:00
back-dnssrv Add DNS SRV to error text 2001-01-24 17:25:30 +00:00
back-ldap use slap_str2undef_ad for unknown attributes 2001-10-03 18:17:08 +00:00
back-ldbm Serialize access to idl insert/delete key routines (ITS 1359) 2001-10-11 18:12:53 +00:00
back-meta listen on any device 2001-10-20 17:19:56 +00:00
back-monitor This is the skeleton of back-monitor, the slapd monitoring backend. 2001-07-14 17:34:24 +00:00
back-passwd Remove global_backendsyncfreq code (code has been pushed down into back-ldbm). 2001-06-28 18:02:46 +00:00
back-perl Update SASL code to reuse context through life of session. 2000-07-13 22:54:38 +00:00
back-shell Add some EINTR logic to back-shell. Assumes fgets() handles 2001-09-02 00:10:57 +00:00
back-sql finish the prefious fixes... it is really hard to commit a truly good patch without even a chance to check if it is compilable ;) 2001-09-07 18:50:52 +00:00
back-tcl New backend routine: back_attribute 2000-06-21 17:41:49 +00:00
schema Minor updates 2001-10-05 02:01:37 +00:00
shell-backends Y2k copyright update 2000-05-13 02:47:56 +00:00
tools More changes to let BDB build without LDBM. 2001-10-04 06:34:03 +00:00
abandon.c fix format 2001-01-17 16:35:53 +00:00
acl.c Fix some NEW_LOGGING errors 2001-10-05 21:49:04 +00:00
aclparse.c Allow dn.base="" 2001-09-01 05:01:31 +00:00
ad.c Fix ;binary subtyping 2000-09-14 06:07:23 +00:00
add.c Return unwillingToPerform instead of noSuchObject for subschema subentry 2001-10-05 01:55:14 +00:00
at.c Replace some calloc/realloc with ch_calloc/ch_realloc for consistency. 2001-09-26 23:42:53 +00:00
attr.c Minor adjustments to last commit 2000-06-15 22:53:18 +00:00
ava.c fix format 2001-01-17 16:35:53 +00:00
backend.c More changes to let BDB build without LDBM. 2001-10-04 06:34:03 +00:00
bind.c Add support for separate max incoming for anonymous and authenticated 2001-05-29 20:00:55 +00:00
ch_malloc.c fix format 2001-01-17 16:35:53 +00:00
charray.c added misc charray utilities 2001-07-06 12:20:26 +00:00
compare.c Fix root dse checks 2001-07-06 02:14:47 +00:00
config.c Trim both \n and \r\n from config files. 2001-09-24 22:18:02 +00:00
configinfo.c Const'ification 2000-05-22 03:46:57 +00:00
connection.c More CLDAP tweaks, to differentiate between real LDAPv2 CLDAP and "other" 2001-10-02 01:02:23 +00:00
controls.c Fix disconnect bug 2001-05-06 20:01:18 +00:00
daemon.c Experiment with busy loop protection... 2001-10-21 00:48:14 +00:00
delete.c Return unwillingToPerform instead of noSuchObject for subschema subentry 2001-10-05 01:55:14 +00:00
dn.c Zap old DN code 2001-07-21 23:45:04 +00:00
entry.c Don't assume e_id is a long. 2001-10-05 18:38:25 +00:00
extended.c fix format 2001-01-17 16:35:53 +00:00
filter.c plug substrings filter memory leak 2001-06-22 18:09:19 +00:00
filterentry.c Remove extensible filter #ifdef 2001-09-04 18:45:05 +00:00
index.c First cut of LDBM substrings indexing. Needs testing. 2000-08-22 21:26:25 +00:00
init.c fix format 2001-01-17 16:35:53 +00:00
kerberos.c s/SAFEMEMCPY/AC_MEMCPY/ 2000-07-28 01:07:07 +00:00
libslapd.dsp Make some additional UTF8 public 2001-07-21 23:13:04 +00:00
limits.c more intuitive special limits configuration 2001-08-03 17:25:39 +00:00
lock.c fix format 2001-01-17 16:35:53 +00:00
main.c ldif.h include cleanup 2001-09-25 00:03:24 +00:00
Makefile.in More changes to let BDB build without LDBM. 2001-10-04 06:34:03 +00:00
modify.c Return unwillingToPerform instead of noSuchObject for subschema subentry 2001-10-05 01:55:14 +00:00
modrdn.c Return unwillingToPerform instead of noSuchObject for subschema subentry 2001-10-05 01:55:14 +00:00
mods.c moved some slap_mods_* functions into mods.c, so mods.o can be included 2001-07-07 09:13:05 +00:00
module.c fix format 2001-01-17 16:35:53 +00:00
mr.c fix format 2001-01-17 16:35:53 +00:00
mra.c fix format 2001-01-17 16:35:53 +00:00
nt_svc.c Fixed bug (my own, rather old too) that causes a crash on exit when ru 2001-03-11 05:13:57 +00:00
oc.c Minor cleanup 2001-09-16 22:02:50 +00:00
operation.c fix format 2001-01-17 16:35:53 +00:00
passwd.c Use SMD5 is SHA1 is not available 2001-05-02 19:46:30 +00:00
phonetic.c s/METAPHONE/SLAPD_METAPHONE/ 2000-07-27 00:14:39 +00:00
proto-slap.h add global, per backend and per op_ndn time/size soft, hard and to-be-checked limits (exploited by back-ldbm); see slapd.conf(5) for details 2001-08-01 10:09:04 +00:00
repl.c ldif.h include cleanup 2001-09-25 00:03:24 +00:00
result.c subschemaSubentry attributes could be leaked under some conditions, 2001-10-03 18:19:07 +00:00
root_dse.c Add root DSE supportedFeatures support. 2001-09-09 04:01:07 +00:00
sasl.c ldif.h include cleanup 2001-09-25 00:03:24 +00:00
saslauthz.c ldif.h include cleanup 2001-09-25 00:03:24 +00:00
schema_check.c Minor rework of *text = textbuf fix 2001-08-28 21:43:00 +00:00
schema_init.c It now sort of works, but needs some normalization work and proper 2001-10-22 06:54:30 +00:00
schema_prep.c First cut at certificateExactMatch, completely untested and without 2001-10-20 10:15:09 +00:00
schema.c unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT 2000-06-06 19:43:18 +00:00
schemaparse.c Check for no OID. 2001-10-10 18:15:30 +00:00
search.c More CLDAP tweaks, to differentiate between real LDAPv2 CLDAP and "other" 2001-10-02 01:02:23 +00:00
sets.c Remove extranous characters (^M) and other minor clean up 2000-09-12 21:43:42 +00:00
sets.h Add support for Set ACLs and ACIs. Still need to make this syntax awa 2000-06-29 22:02:15 +00:00
slap.h First cut at certificateExactMatch, completely untested and without 2001-10-20 10:15:09 +00:00
slapd.conf Add a sample ACL 2001-09-25 20:30:51 +00:00
slapd.dsp Misc updates for NT4 2001-06-15 04:16:55 +00:00
starttls.c move TLS ctx to lconn struct in prep for supporting TLS with referrals 2001-06-25 07:33:42 +00:00
str2filter.c fix format 2001-01-17 16:35:53 +00:00
suffixalias.c fix format 2001-01-17 16:35:53 +00:00
syntax.c fix format 2001-01-17 16:35:53 +00:00
unbind.c fix format 2001-01-17 16:35:53 +00:00
user.c fix format 2001-01-17 16:35:53 +00:00
value.c Plug memory leak of normalized value in value_find() 2000-07-20 23:56:12 +00:00