Commit Graph

7853 Commits

Author SHA1 Message Date
Luke Howard
d484a9781c Conform SLAPI to Netscape, iPlanet and Sun ONE Directory Server
behaviour:

1. Plugins never return LDAP result codes, instead they return a
   small integer (0 or -1, others for special cases)
2. Preoperation plugins can abort processing by returning a non-
   zero value to the frontend
3. Postoperation plugins never abort processing (all are called)
   and their return values are ignored
2003-01-20 23:18:11 +00:00
Kurt Zeilenga
b5594b2750 Return the Start TLS error. 2003-01-20 22:37:42 +00:00
Luke Howard
27dba2226f Only non-postoperation plugins should be able to abort processing of further
plugins.
2003-01-20 22:33:50 +00:00
Kurt Zeilenga
b53eef9b81 -V updates 2003-01-20 21:16:58 +00:00
Kurt Zeilenga
3202e544e3 Added -V support 2003-01-20 20:50:15 +00:00
Kurt Zeilenga
c41a87c587 Use version strings provided by build system for -V 2003-01-20 20:48:06 +00:00
Kurt Zeilenga
6d1ca4c747 Remove values match v. filter struct field macro overloads
Use LDAP_SLISTs instead of per-struct list management for schema structs
misc cleanup and lint removal
2003-01-20 20:21:17 +00:00
Kurt Zeilenga
521d8384a1 works without SLAPI 2003-01-20 20:18:53 +00:00
Kurt Zeilenga
a190d15a60 cleanup 2003-01-20 20:17:12 +00:00
Kurt Zeilenga
b3705e69f4 Add LDAP_BEGIN/END_DECL 2003-01-20 20:16:42 +00:00
Kurt Zeilenga
dab6bdaaad First cut at -V (version) argument. Needs work. 2003-01-20 20:11:57 +00:00
Kurt Zeilenga
fc75445270 #ifdef LDAP_PF_LOCAL needed. 2003-01-20 20:10:03 +00:00
Kurt Zeilenga
5bbf08d3ff ITS#2266: -b option missing break 2003-01-20 19:13:00 +00:00
Kurt Zeilenga
bcd7306877 ITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com 2003-01-20 18:09:46 +00:00
Luke Howard
c9278e54ec Fix up return values in new slapi private API 2003-01-20 00:11:56 +00:00
Luke Howard
d3292b83fa Style consistency in new SLAPI_MODIFY_MODS code 2003-01-19 22:49:21 +00:00
Luke Howard
fe4cd099c8 FreeLDAPMods() should be static 2003-01-19 22:45:10 +00:00
Luke Howard
8e8228f0b0 Fix libltdl link dependency causing link error on Linux 2003-01-19 22:43:29 +00:00
Luke Howard
6a5f29b60a Use new SLAPI API for setting associated parameters associated with the
Connection, Operation and Backend structures.

Ensure that SLAPI_MODIFY_MODS is set to an array of LDAPMods.
2003-01-19 15:30:10 +00:00
Luke Howard
d54548b9a0 Use strtol() not strtoul() in integerBit{And,Or}Match matching rules 2003-01-19 15:20:09 +00:00
Luke Howard
8866875e69 return error codes from new internal API 2003-01-19 15:04:19 +00:00
Hallvard Furuseth
6a51371fc5 Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars). 2003-01-19 15:03:25 +00:00
Luke Howard
cb61800ac6 added slapi_backend_set_pb 2003-01-19 14:55:10 +00:00
Luke Howard
17f95a3fd3 added slapi_operation_set_pb 2003-01-19 14:47:26 +00:00
Luke Howard
ec05ef7f22 Added slapi_connection_set_pb() API for front-end.
Implemented slapi_is_connection-ssl().
2003-01-19 14:32:49 +00:00
Hallvard Furuseth
3bd76701d1 Fix printf format errors. 2003-01-19 14:07:02 +00:00
Hallvard Furuseth
120e39b533 Cast ctype.h arguments to unsigned char. 2003-01-19 14:05:23 +00:00
Hallvard Furuseth
f963a16150 Remove an implicit int, to silence gcc warnings. 2003-01-19 14:03:11 +00:00
Hallvard Furuseth
9d11c5ea46 Remove pointless `unsigned < 0' test. 2003-01-19 14:02:06 +00:00
Hallvard Furuseth
265b7e22c6 Insert missing initializers, to silence gcc warnings. 2003-01-19 13:38:44 +00:00
Hallvard Furuseth
933121a7d9 'static' must come before 'const'. 2003-01-19 13:35:53 +00:00
Hallvard Furuseth
1fbbc11811 Fix LBER_ERROR vs. -1 confusion. 2003-01-19 13:10:17 +00:00
Pierangelo Masarati
8d0711b08f slapi-plugin.h goes in include 2003-01-18 11:19:27 +00:00
Howard Chu
38e7047130 Set thread stack size, default (1MB) is always too small for back-bdb. 2003-01-13 14:28:50 +00:00
Kurt Zeilenga
d2bb1b5691 Add a few notes about intended usage of these backends 2003-01-09 12:07:14 +00:00
Kurt Zeilenga
b79748c00d Rebuild 2003-01-03 20:52:07 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
968fced135 Happy new year! 2003-01-03 20:04:17 +00:00
Hallvard Furuseth
aeaaa8c6ca Fix octetStringOrderingMatch(). It thought "b"<"aa", becuase "b" is shorter. 2003-01-03 17:06:01 +00:00
Hallvard Furuseth
b0f9305b66 Delete bitStringNormalize(). 2003-01-03 16:17:06 +00:00
Kurt Zeilenga
ed171cd5a2 use env(1) for old/experimental stuff 2003-01-03 06:10:15 +00:00
Kurt Zeilenga
8f08424455 Fix typo 2003-01-03 06:03:58 +00:00
Kurt Zeilenga
8f0dc1a4a3 Fix ocflags tests 2003-01-02 23:55:37 +00:00
Kurt Zeilenga
be0d59dbf5 static games 2003-01-02 20:38:57 +00:00
Hallvard Furuseth
d96236b5ce Fix attribute value parsing in objectIdentifierFirstComponentMatch(). 2003-01-02 15:01:56 +00:00
Kurt Zeilenga
3dea614e99 cleanup 2002-12-31 05:55:06 +00:00
Kurt Zeilenga
887c21c53e Fix typo in last commit 2002-12-30 04:23:31 +00:00
Kurt Zeilenga
a4ad2eea17 ACL cleanup
Likely needs more deadlock detection checks
2002-12-30 01:12:10 +00:00
Kurt Zeilenga
ed471a4d53 Fix access_allowed() error checking bug 2002-12-30 01:02:31 +00:00
Pierangelo Masarati
f148506bf6 reworking of error handling (should also fix ITS#2235) 2002-12-27 18:08:27 +00:00