Commit Graph

271 Commits

Author SHA1 Message Date
Pierangelo Masarati
ec6a663820 reset SlapReply flags 2004-03-17 11:50:15 +00:00
Pierangelo Masarati
fc28663a14 seeAlso to overlays as well 2004-03-16 22:18:45 +00:00
Pierangelo Masarati
c76427d8db add overlay subsystem and connect it to databases 2004-03-16 21:58:29 +00:00
Pierangelo Masarati
27f28d5270 handle overlays 2004-03-16 01:22:34 +00:00
Pierangelo Masarati
fa2cb48f3a should fix ITS#2983 - total count of ops initiated/completed in root of operations branch 2004-02-28 14:36:19 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Luke Howard
516fd0ff50 First round of SLAPI cleanups - use slapi_int_XXX for internal functions
(slapi_x_XXX is still reserved for exported functions that are not part
of the SLAPI specification)
2003-12-16 15:49:31 +00:00
Kurt Zeilenga
fbba83b20f notices and acknowledgements 2003-12-08 17:41:40 +00:00
Howard Chu
0690f79a5a Cleanup unknown config directive handling. 2003-12-07 07:07:00 +00:00
Luke Howard
e114ecbad5 Use gmtime_r()/localtime_r if HAVE_GMTIME_R/HAVE_LOCALTIME_R is defined (need to add autoconf check) 2003-12-06 05:50:47 +00:00
Howard Chu
7b423b20b0 Fix slapi include path 2003-12-01 12:14:39 +00:00
Hallvard Furuseth
51f1b8ccd7 Avoid /* inside comments. 2003-11-29 17:29:44 +00:00
Kurt Zeilenga
0bc23d571e Fix last commit 2003-11-27 06:45:08 +00:00
Kurt Zeilenga
674e71710f Notice and acknowledgements
"this is an altered version" statement
2003-11-27 02:35:20 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
aa225c2c70 Explicitly mark attribute/assertion syntax of values to be normalized 2003-10-18 06:18:05 +00:00
Jong Hyuk Choi
c36f32a9e4 slaptool update for LDAP Sync replication 2003-08-30 15:19:35 +00:00
Howard Chu
aa3b69eb32 ITS#2440 unmunge init_module names 2003-06-12 22:25:20 +00:00
Pierangelo Masarati
412f510868 fix typo; need to port fix in OPENLDAP_REL_ENG_2_2 2003-05-31 22:27:19 +00:00
Kurt Zeilenga
f0063245ad Set schema flags (might need schema check routines as well) 2003-05-31 21:56:18 +00:00
Kurt Zeilenga
c68057f598 Schema registration stuff needs work to set flags 2003-05-31 21:46:33 +00:00
Kurt Zeilenga
7ca24a8591 Another round of minor copyright updates 2003-05-25 03:56:57 +00:00
Hallvard Furuseth
05d7b891ec Move SLAPD_MONITOR_DN out of format strings.
Otherwise slapd would break if SLAPD_MONITOR_DN contained a '%'.
2003-05-20 18:16:45 +00:00
Kurt Zeilenga
60fc6860d2 Fix typo 2003-05-19 18:54:15 +00:00
Pierangelo Masarati
988287d681 do not init schema that's not specific to monitoring 2003-05-18 00:15:28 +00:00
Pierangelo Masarati
072280600a use back-monitor without including core.schema; commit by now; will cleanup later 2003-05-17 17:19:16 +00:00
Pierangelo Masarati
48c65151c9 add create/modify timestamp to all entries; use monitorTimestamp for start/current time; minor cleanup 2003-05-15 01:19:30 +00:00
Hallvard Furuseth
44a99d694e #include <ac/string.h>, to get strlen(), strncmp() and strncasecmp(). 2003-05-14 21:36:34 +00:00
Kurt Zeilenga
5cd994ed21 remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Kurt Zeilenga
eebc51b9bf remove dnPretty
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Pierangelo Masarati
1150becd63 use a macro for the entry buffer size 2003-04-18 17:17:18 +00:00
Kurt Zeilenga
cde0999b52 Rename header macro 2003-04-13 04:51:12 +00:00
Pierangelo Masarati
a1b407b44d improve schema 2003-04-12 18:16:05 +00:00
Pierangelo Masarati
be8820d660 HEADS-UP: complete reworking of back-monitor 2003-04-12 17:41:49 +00:00
Kurt Zeilenga
8321227972 Fix OIDs 2003-04-12 17:11:26 +00:00
Pierangelo Masarati
784672d60a disable by default right now 2003-04-12 10:05:12 +00:00
Pierangelo Masarati
74671953ef fix schema definitions (duplicate objectClass OID still there) 2003-04-12 10:02:31 +00:00
Kurt Zeilenga
f4304936d4 Assign experimental OIDs 2003-04-12 03:19:43 +00:00
Pierangelo Masarati
ab47effcfd more cleanup and api rewriting (too tired to do anything better) 2003-04-12 01:17:05 +00:00
Pierangelo Masarati
99ac2cb422 slight improvement 2003-04-12 00:48:16 +00:00
Pierangelo Masarati
576089061d add new schema stuff (no #ifdef, too heavy) 2003-04-12 00:30:47 +00:00
Pierangelo Masarati
29c2594fe4 pass Operation instead of private info 2003-04-11 23:08:16 +00:00
Pierangelo Masarati
465a50cffc fix memory context (hope NULL at init is valid) 2003-04-11 22:30:48 +00:00
Howard Chu
ece7452b05 More memory context tweaks 2003-04-11 01:29:28 +00:00
Pierangelo Masarati
756d35cb6e improve (and cleanup) value normalization 2003-04-08 23:30:58 +00:00
Pierangelo Masarati
f73eddd426 fix attr nvals & more improvements 2003-04-07 23:22:27 +00:00
Pierangelo Masarati
504eb61495 fix and improve previous commit 2003-04-07 08:53:03 +00:00
Pierangelo Masarati
a9fd63c156 need attrs when sending entries ... 2003-04-07 08:19:26 +00:00
Kurt Zeilenga
c75be97ae9 #ifdef -DSLAP_NVALUES 2003-04-05 03:35:16 +00:00
Pierangelo Masarati
7d5087e8c2 fix new API update 2003-04-03 21:24:53 +00:00
Pierangelo Masarati
b72a61a7b7 cleanup previous commit 2003-04-02 20:54:23 +00:00
Pierangelo Masarati
9e5f5b56db more new API ... 2003-04-02 20:52:13 +00:00
Howard Chu
9355dca9af Consolidated slap_callbacks into one function. Removed send_search_result. 2003-04-01 04:12:18 +00:00
Pierangelo Masarati
5a136d7e95 more (mostly blind) fixes 2003-03-31 19:45:52 +00:00
Pierangelo Masarati
a0ee0b21b1 first (mostly blind) round 2003-03-31 19:21:19 +00:00
Howard Chu
99950e4fe4 Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
5ad51b6150 SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
no normalizer, a_nvals = a_vals.
2003-03-24 01:56:56 +00:00
Pierangelo Masarati
4a862018eb #include reordering 2003-03-11 12:26:05 +00:00
Pierangelo Masarati
51849d6ecb fix ITS#2343 2003-03-03 22:25:28 +00:00
Kurt Zeilenga
c24ebfe014 SLAP_NVALUE: misc updates 2003-03-01 04:14:17 +00:00
Kurt Zeilenga
152829be87 SLAP_NVALUES:
schema engine updated (but not schema routines so things don't run yet)
	nvalues mostly populated, enough for tests 0-2 to pass
	schema routines needs lots of work
	modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Kurt Zeilenga
25886d989a Change MR flag names and add comments as to what they mean to slap.h 2003-02-26 02:55:28 +00:00
Kurt Zeilenga
2a8dec95ba SLAP_NVALUES back-monitor temporary hack 2003-02-25 21:19:42 +00:00
Kurt Zeilenga
aaf253318b Move include <slapi.h> behind #ifdef 2003-02-10 02:09:00 +00:00
Pierangelo Masarati
d1cc80694f reworking of slapi headers 2003-01-27 14:44:39 +00:00
Kurt Zeilenga
521d8384a1 works without SLAPI 2003-01-20 20:18:53 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Pierangelo Masarati
f83585952d misc slapi cleanup 2002-12-27 11:48:41 +00:00
Pierangelo Masarati
df5d69df8f allow a custom error log file for plugins by means of a slapd.conf directive; add very bare-bone back-monitor info about installed plugins 2002-12-14 15:04:37 +00:00
Pierangelo Masarati
6ce1fc099a fix handling of anomalous databases, like subordinate ones (as suggested by Howard) 2002-11-29 17:43:28 +00:00
Pierangelo Masarati
6a917650e8 add supported controls to backend entries 2002-11-21 02:17:24 +00:00
Pierangelo Masarati
956f1d16aa listener:
- use bervals for url and sockname
- pass connection_init() the listener struct pointer instead of each value
- don't copy them in the Connection struct 'cause they're not going to change
- define macros for legacy usage of c_listener_url and c_sockname
2002-10-24 10:03:52 +00:00
Pierangelo Masarati
456a561b65 prevent use of uninitialized var 2002-10-23 14:11:02 +00:00
Kurt Zeilenga
88c8cca820 Fix return value 2002-09-15 22:42:07 +00:00
Pierangelo Masarati
ae2cd84d16 trim c++ style comments 2002-09-11 17:15:55 +00:00
Pierangelo Masarati
aea52e5bc9 define macros for appropriate sizing of lutil buffers 2002-08-31 10:48:02 +00:00
Pierangelo Masarati
9ee916bdec fix backend initialization (including ITS#2048) 2002-08-29 10:32:48 +00:00
Kurt Zeilenga
3fbfd3064a Remove lint 2002-08-06 03:08:12 +00:00
Pierangelo Masarati
40f3da36b0 need <lutil.h> for lutil_gentime 2002-08-02 10:24:03 +00:00
Kurt Zeilenga
838643d5ad operationsError != Internal Error
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-07-31 22:49:02 +00:00
Howard Chu
b6620f3d25 Use lutil_gentime 2002-07-27 02:10:43 +00:00
Pierangelo Masarati
90f127472d fix normalization bug; change time stamping by using createTimestamp and modifyTimestamp (related to ITS#1984) 2002-07-25 09:49:02 +00:00
Pierangelo Masarati
7e81297147 fix normalization bug (related to ITS#1984) 2002-07-25 09:48:29 +00:00
Julius Enarusai
6107ba67d2 Coverted LDAP_LOG macro to use subsystem ID int values instead of string values 2002-07-11 20:33:24 +00:00
Howard Chu
7e8c77c5de Fix dynamic module linking 2002-06-21 01:34:53 +00:00
Pierangelo Masarati
93dbac3caf use monitorContext for the monitor database 2002-06-19 07:57:01 +00:00
Howard Chu
c5c1ddb1ca Deleted Connection->c_cdn. Use conn->c_dn instead... 2002-06-12 08:38:59 +00:00
Kurt Zeilenga
8c152396b9 Matched Values implementation (ITS#1776) based upon submission
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
	add testxxx-matchedvalues
	rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.
2002-05-02 18:56:56 +00:00
Howard Chu
7fae7fe155 Changed be_[n]suffix, be_[n]suffixAlias to BerVarray. No more bvec's anywhere. 2002-05-01 18:50:14 +00:00
Julius Enarusai
ed8f299245 ITS#1730: Misc typos in NEW_LOGGING code from Hallvard 2002-04-25 22:12:44 +00:00
Howard Chu
98df4006b1 ITS#1733 eliminate o_abandonmutex 2002-04-11 08:08:42 +00:00
Howard Chu
efecf4e121 ITS#1733 eliminate o_abandonmutex 2002-04-11 08:03:40 +00:00
Pierangelo Masarati
b772987712 ... and log initiated/completed operations divided per request 2002-04-08 18:41:47 +00:00
Pierangelo Masarati
4a2b9b2195 ITS#1730 2002-04-08 18:39:23 +00:00
Pierangelo Masarati
4a8ab5dbf2 Mostly based on patches provided by Hallvard B. Furuseth
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required

Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
        ambiguous operator precedence)

Kurt, please regenerate configure
2002-04-08 09:43:22 +00:00
Pierangelo Masarati
82d1c77722 missing description in current cunnections number 2002-04-03 15:42:54 +00:00
Pierangelo Masarati
32c2995ecc fix last part of ITS#1710 (commented code, though) 2002-04-02 14:38:57 +00:00
Pierangelo Masarati
068c73b01f appropriately detect the required conn 2002-04-02 14:25:01 +00:00
Pierangelo Masarati
6c589f2552 don't loop any more if connid is found :) 2002-04-02 13:44:30 +00:00
Pierangelo Masarati
090ef02589 partial fulfilment of ITS#1710 2002-04-02 12:27:06 +00:00
Pierangelo Masarati
49ab777bbb minor improvement 2002-04-02 11:51:05 +00:00
Pierangelo Masarati
7b2f5f0da7 use ber_bvcmp() whenever possible 2002-04-02 11:41:56 +00:00
Kurt Zeilenga
0be4d842bc Update control framework
Misc cleanup
NT updates
2002-03-24 02:17:21 +00:00
Pierangelo Masarati
2d1eb56725 #ifdef local time hack 2002-02-19 09:11:55 +00:00
Pierangelo Masarati
a117c5eee7 use ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers 2002-02-13 11:46:33 +00:00
Pierangelo Masarati
1f7b880963 fix for acl state 2002-02-09 09:05:40 +00:00
Kurt Zeilenga
3a10cc1e43 Add time.c 2002-01-29 17:25:04 +00:00
Pierangelo Masarati
702bdbf8f4 added local time under 'lang' (lang-x-local) 2002-01-29 17:23:26 +00:00
Pierangelo Masarati
8cd8053d5e add Time subsystem 2002-01-29 12:15:13 +00:00
Pierangelo Masarati
9b8ffc30ed fix uninitialized last (NULL) entry in BerVarray 2002-01-29 08:58:34 +00:00
Kurt Zeilenga
97e29c023e Remove lint 2002-01-28 20:22:57 +00:00
Pierangelo Masarati
f00f86bf22 another round at cleaning it up: better naming, more attributes and so 2002-01-28 17:21:52 +00:00
Pierangelo Masarati
79bf6eb80e beautify listener monitor 2002-01-28 14:01:16 +00:00
Howard Chu
5e522ca882 Changed Access.a_sockurl_pat, Connection.c_listener_url etc.
to struct bervals
2002-01-28 11:41:07 +00:00
Howard Chu
278ccf828b Changed be_issuffix and dnParent to struct bervals 2002-01-26 06:52:59 +00:00
Kurt Zeilenga
f57057ee01 Add system schema flags to backends supporting system schema. 2002-01-11 18:26:17 +00:00
Kurt Zeilenga
20dd3c1273 Add Backend to system schema check routines 2002-01-11 18:00:22 +00:00
Pierangelo Masarati
6c76b2c55d of course this is required by listener monitor 2002-01-11 11:48:46 +00:00
Pierangelo Masarati
619f772459 listener monitor 2002-01-11 11:43:35 +00:00
Pierangelo Masarati
75f1addd76 added structural objectclass; reworked obejctclasses to use 'monitor' and 'extensibleObject'; minor cleanup 2002-01-11 10:27:58 +00:00
Pierangelo Masarati
f757db004c fix for backend-dependent schema check 2002-01-10 20:12:25 +00:00
Kurt Zeilenga
27a26905b7 Use NULL for be parameter to entry_schema_check() for now. 2002-01-10 19:48:43 +00:00
Kurt Zeilenga
c816ebc225 Add Backend argument to entry_schema_check() to support system schema
checks (in addition to user application schema checks).
2002-01-10 19:37:03 +00:00
Kurt Zeilenga
39c02506de Fix problems caused by lint removal 2002-01-09 18:18:36 +00:00
Kurt Zeilenga
22f993f89b Remove some lint caused by the changes in const'ification 2002-01-09 06:30:23 +00:00
Kurt Zeilenga
962e351271 Minor cleanup 2002-01-07 21:22:38 +00:00
Pierangelo Masarati
ed5f670ac1 fix c_cdn migration 2002-01-07 09:25:20 +00:00
Pierangelo Masarati
d0261ee534 leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements 2002-01-05 17:49:59 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Howard Chu
029306a5be Use ldap_queue.h instead of <ac/queue.h> 2002-01-03 00:12:46 +00:00
Howard Chu
1a8543da6d Fix for attr_merge 2002-01-02 22:46:10 +00:00
Pierangelo Masarati
c8afe173ba more cleanup 2002-01-02 18:14:29 +00:00
Kurt Zeilenga
da6928b437 use malloc not calloc 2002-01-02 17:00:21 +00:00
Howard Chu
4aa2a28692 Changed struct berval ** to BVarray 2002-01-02 13:28:10 +00:00
Howard Chu
dc4fe01758 Remove abandon cruft 2002-01-01 12:23:02 +00:00
Howard Chu
de97928160 Remove abandon cruft 2002-01-01 11:38:30 +00:00
Howard Chu
fdc4dec350 Use ldap_str2rdn 2002-01-01 09:41:10 +00:00
Howard Chu
743c402265 Changed search attrs from struct berval ** to AttributeName * 2001-12-31 11:35:52 +00:00
Pierangelo Masarati
7b8c4c3b50 fix some ava bugs 2001-12-29 15:13:24 +00:00
Howard Chu
185ff129b5 Change struct berval * to struct berval in various structures 2001-12-29 15:01:10 +00:00
Howard Chu
975a5e9a24 Added dnPretty2/dnNormalize2 using preallocated destination berval 2001-12-29 04:48:00 +00:00
Pierangelo Masarati
1a349907f3 cached entries are deleted if volatile; small improvements 2001-12-28 15:58:51 +00:00
Howard Chu
65636e0855 Changed dnExtractRdn to use a provided berval instead of allocating one.
Use ldap_dn2bv and ldap_rdn2bv instead of the *2str versions.
2001-12-28 10:04:53 +00:00
Kurt Zeilenga
cefce9c965 dnExtractRDN should take a struct berval DN. 2001-12-27 17:17:01 +00:00
Pierangelo Masarati
0bff9e6eb7 struct bervals for DN; fix in send children 2001-12-27 15:16:12 +00:00
Kurt Zeilenga
93fb01e2f0 Fix modrdn and other misc cleanup 2001-12-26 23:03:36 +00:00
Pierangelo Masarati
f6deebfe6b not needed any longer 2001-12-26 20:53:49 +00:00
Kurt Zeilenga
bd0135ccb4 Move search, modify, and modrdn APIs to struct berval DNs.
Much clean up is needed.
2001-12-26 19:50:40 +00:00
Kurt Zeilenga
24a4d888dc move compare and delete to struct berval DNs 2001-12-26 19:05:26 +00:00
Kurt Zeilenga
d64ec6ee0d modify be_referral to use struct berval DNs. 2001-12-26 17:40:34 +00:00