Commit Graph

1940 Commits

Author SHA1 Message Date
Kurt Zeilenga
fdbb2b80bf Remove misplaced LDAP_P() in declaration of ldap_int_get_controls. 1999-06-16 17:11:14 +00:00
Julio Sánchez Fernández
64d018c357 Make sure print_numericoid always returns with a value.
Remove some lint.
1999-06-16 12:31:18 +00:00
Julio Sánchez Fernández
f5d28c6df5 Fixed bogus handling of objectclass in oc_schema_check. 1999-06-16 12:11:47 +00:00
Juan Gomez
4a683c204d Replaced add/delete_value() by change_value() and index_add/delete_value()
by index_change_values(). The functions were exactly the same but for
one call.
1999-06-15 23:56:28 +00:00
Kurt Zeilenga
8f8cf6d3b1 Fix a couple of nits. ldbmtest still needs to be ported to NT. 1999-06-15 21:17:26 +00:00
Kurt Zeilenga
6fc999e214 Remove meantion of ldapd from main README, add README in servers/ldapd
stating ldapd is not supported nor actively maintained, and the code
may suffer from bitrot.  Update configure warnings.
1999-06-15 21:09:46 +00:00
Juan Gomez
5b0e434d93 Enabled deletion of stale index entries. (EXPERIMENTAL) 1999-06-15 20:06:16 +00:00
Juan Gomez
e1819eaff9 Added function delete_value() to remove entries from the index files
when necessary.
1999-06-15 19:50:20 +00:00
Kurt Zeilenga
6380786169 Add '^' and '$' to ACLs RE's. 1999-06-15 19:41:42 +00:00
Kurt Zeilenga
3c09414075 Fix bad LBER_INVALID macro 1999-06-15 17:35:31 +00:00
Julio Sánchez Fernández
74ff331014 Initial RFC2252-compliant version. 1999-06-15 12:40:46 +00:00
Julio Sánchez Fernández
c5060e655f We don't have a definition for caseIgnoreListSubstringsMatch, disable
references to it for now.
Fix some broken definitions.
We don't have a definition for caseIgnoreIA5SubstringsMatch either,
delete for now.
Define buildingName, it was being referenced.
1999-06-15 12:39:35 +00:00
Julio Sánchez Fernández
7ef4ec98b7 We don't have a definition for caseIgnoreListSubstringsMatch, disable
references to it for now.
1999-06-15 12:37:06 +00:00
Julio Sánchez Fernández
759bfa0c51 Activate checking of matching rules and syntaxes.
Make matching rules link to their syntaxes.
Many more matching rules and syntaxes.
Protect schema_init from multiple invocations.
1999-06-15 12:35:29 +00:00
Julio Sánchez Fernández
4cfb0be242 Activate support of matching rules and syntaxes, inherit them from superiors. 1999-06-15 12:32:21 +00:00
Julio Sánchez Fernández
fc44e7ddef New error code, fixed definition of smr_syntax. 1999-06-15 12:30:51 +00:00
Julio Sánchez Fernández
5adb15f681 More error codes. 1999-06-15 12:28:54 +00:00
Julio Sánchez Fernández
803d6d1204 Moved call of schema_init from main to read_config. 1999-06-15 12:26:07 +00:00
Kurt Zeilenga
e8a45b52b3 assert read/write to not in use sockbufs. This may cause problems
with slapd... slapd should be fixed.
1999-06-15 02:31:15 +00:00
Kurt Zeilenga
61eaffeed2 connection_get forgot to unlock c_mutex in not used case! 1999-06-14 20:33:21 +00:00
Kurt Zeilenga
e2e1cb76cb Remove check for inactive streams before connection_read/_write
calls.  Such checks are ineffective it protecting connection_read/_write
from being called inactive streams.  connection_read/_write have their
own protection against such (in connection_get()).
1999-06-14 20:28:30 +00:00
Julio Sánchez Fernández
87b86a52e4 Matching rules and syntaxes, initial step.
schema_init, seeding of standard syntaxes and matching rules.
1999-06-14 19:10:07 +00:00
Juan Gomez
499b8fdc04 Added index_delete_values() in preparation for changes that will keep
index files clean.
1999-06-14 18:16:05 +00:00
Juan Gomez
24ec5ded59 official -> canonical 1999-06-14 16:37:46 +00:00
Juan Gomez
bf49544833 s/official/canonical/ & s/at_on/at_cn/ 1999-06-14 16:36:00 +00:00
Julio Sánchez Fernández
a3f63029f4 Some changes to be more inline with the constification done on the library. 1999-06-14 14:34:07 +00:00
Julio Sánchez Fernández
53ae3dc5c0 Initial definitions for syntaxes and matching rules. 1999-06-14 14:32:40 +00:00
Julio Sánchez Fernández
2abcbd5a4d Matching rules.
Replace be_liberal by allow_quoted in low level parsers since that
reflects better its semantics.
Add allow_quoted to parse_numericoid.
1999-06-14 13:40:52 +00:00
Julio Sánchez Fernández
fb422591a2 Matching rules. 1999-06-14 13:37:59 +00:00
Julio Sánchez Fernández
3e6fe96a96 Constification. 1999-06-14 11:57:43 +00:00
Julio Sánchez Fernández
e9e0e613b2 Constification 1999-06-14 11:57:02 +00:00
Julio Sánchez Fernández
766a5832b1 Netscape DS quotes the SYNTAX values, we propagate the be_liberal
setting to parse_noidlen so that it can grok that.
Propagate be_liberal parse_oids so that it only accepts a qdstring when
necessary (i.e. in SUP) to cater for another Netscapism.
1999-06-14 11:31:42 +00:00
Julio Sánchez Fernández
8d2b71e6c1 ldap_*_free routines are new and replace the old static routines, all
references changed.
Parsers are now more liberal in that they can accept missing OIDs or
OIDs that are in the wrong syntax.
1999-06-13 23:34:41 +00:00
Julio Sánchez Fernández
5e0f62e454 New ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
that replace old static routines.
1999-06-13 23:31:35 +00:00
Kurt Zeilenga
cb68aab469 s/ldap_open/ldap_init/ calls... ldap_open is deprecated. 1999-06-13 21:49:35 +00:00
Kurt Zeilenga
4c36726ee0 Add draft 3 of the C API spec. 1999-06-12 21:28:24 +00:00
Kurt Zeilenga
6950e8e403 Change referral comment to point to root.openldap.org instead of umich.edu.
Both do not return anything useful.
1999-06-12 21:02:11 +00:00
Kurt Zeilenga
18e5e729ac Resched changes struct state without lock to avoid deadlock.
Hence connection_get must recheck struct state after obtaining
c_mutex to detect close.
1999-06-12 00:29:41 +00:00
Kurt Zeilenga
35e91be482 connection_get:
Connection could be closed before acquiring connections_mutex.
	if c->c_struct_state == SLAP_C_UNUSED, return NULL.
1999-06-12 00:03:39 +00:00
Kurt Zeilenga
0dda34c9e4 Add additional assert in connection get for race debugging. 1999-06-11 23:19:31 +00:00
Juan Gomez
f3b3c68792 Added at_official_name() to enable uniform naming of index files. 1999-06-11 20:49:41 +00:00
Juan Gomez
7d8330fd40 Added code for uniform naming of index files. 1999-06-11 20:42:48 +00:00
Juan Gomez
c8fac1864c Added at_ooficial_type() for uniform naming of index files. 1999-06-11 20:41:07 +00:00
Kurt Zeilenga
3cfd58eed8 EXPERIMENTAL: move slapd_remove to connections_read/_write as they
acquire c_mutex.
1999-06-11 19:10:45 +00:00
Juan Gomez
34f068f131 Drop support for alloca(). 1999-06-11 18:56:28 +00:00
Kurt Zeilenga
2cb228a9ce Clean up build_result_ber error handling. 1999-06-11 18:48:34 +00:00
Kurt Zeilenga
041c7971c4 Add AC_CANONICAL_SYSTEM to generate $target
Use $target instead of $host, maybe should use both $target and $host.
Fix $ol_host_os bug.
1999-06-11 18:24:18 +00:00
Kurt Zeilenga
da549e3a42 _SGI_MP_SOURCE errno/h_errno experiment 1999-06-11 00:07:10 +00:00
Kurt Zeilenga
35eff96dad Add Debug to help sort out race condition. 1999-06-10 22:21:51 +00:00
Kurt Zeilenga
368628e9d5 Close inactive streams instead of asserting condition. 1999-06-10 22:06:05 +00:00