Commit Graph

656 Commits

Author SHA1 Message Date
Kurt Zeilenga
bbc568b21f ldapconfig.h vs ldap_config.h changes
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
21e081dc5b Separate autoconf generated values from "defaults".
ldap_defaults.h incorporates non-generated ldapconfig.h values.
	ldap_config.h.in is new template for autoconf generated defaults
		(namely directories and paths)
	ldap_config.h.nt, NT template (must be manually copied)
	s/<ldapconfig.h>/<ldap_defaults.h>/
	s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
23c4b81819 Backout NT Service changes.... breaks Unix builds... 1999-06-17 00:51:12 +00:00
Kurt Zeilenga
36cb034611 Add test for resched state change in connection_get 1999-06-17 00:48:51 +00:00
Gary Williams
bfa86bcf57 new module to support slapd as NT service 1999-06-16 19:16:34 +00:00
Gary Williams
4d13d4071a add code to support slapd as NT service 1999-06-16 19:15:35 +00:00
Gary Williams
2ffc4b19ea check addr for NULL before copying 1999-06-16 19:15:03 +00:00
Gary Williams
17c9a5798a NT service code for slapd 1999-06-16 19:14:29 +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
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
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
Kurt Zeilenga
cb68aab469 s/ldap_open/ldap_init/ calls... ldap_open is deprecated. 1999-06-13 21:49:35 +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
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
Kurt Zeilenga
571e8c098d Add cheap EBADF loop protection. 1999-06-10 21:11:21 +00:00
Kurt Zeilenga
9c793f15f4 Fix typo in last commit. 1999-06-10 15:55:00 +00:00
Kurt Zeilenga
446ef413f6 Don't shutdown when select() returns EBADF. 1999-06-10 03:11:22 +00:00
Kurt Zeilenga
64bb1a99f4 Fix unprotected (and bad) FD_SET asserts. 1999-06-10 02:52:51 +00:00
Kurt Zeilenga
5555cc26b9 disable referral directive. 1999-06-09 23:43:22 +00:00
Julio Sánchez Fernández
63498d1a21 Removed unnecessary definition that is already in core.schema. 1999-06-09 11:08:10 +00:00
Julio Sánchez Fernández
7c4fb74a19 Fixed some syntax errors. 1999-06-08 17:41:09 +00:00
Kurt Zeilenga
ccad4c8225 s/LDAP_OPT_MATCH_STRING/LDAP_OPT_MATCHED_DN/ 1999-06-05 20:27:43 +00:00
Kurt Zeilenga
9a0caa6258 Initialize connection pointer to NULL else won't be able to
detect connection table full properly.
1999-06-04 22:57:19 +00:00