]> git.sur5r.net Git - openldap/log
openldap
22 years agoBDB_MULTI still needs the dupsort function.
Howard Chu [Tue, 18 Dec 2001 04:41:40 +0000 (04:41 +0000)]
BDB_MULTI still needs the dupsort function.

22 years agofrom jon@symas.com - minor cleanup
Howard Chu [Tue, 18 Dec 2001 04:02:17 +0000 (04:02 +0000)]
from jon@symas.com - minor cleanup

22 years agoJust use mkstemp unconditionally; liblutil will fill in if the system doesn't.
Howard Chu [Tue, 18 Dec 2001 03:04:32 +0000 (03:04 +0000)]
Just use mkstemp unconditionally; liblutil will fill in if the system doesn't.

22 years agoFix typo in previous commit
Howard Chu [Tue, 18 Dec 2001 02:55:38 +0000 (02:55 +0000)]
Fix typo in previous commit

22 years agoAdd checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
Howard Chu [Tue, 18 Dec 2001 02:54:49 +0000 (02:54 +0000)]
Add checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
HAVE_MKTEMP macro in addition to HAVE_MKSTEMP

22 years agoEmulate mkstemp() using mktemp() if mkstemp() is not found by configure
Howard Chu [Tue, 18 Dec 2001 02:48:20 +0000 (02:48 +0000)]
Emulate mkstemp() using mktemp() if mkstemp() is not found by configure

22 years agoRegenerate configure and fix AC header inclusion
Kurt Zeilenga [Tue, 18 Dec 2001 02:25:21 +0000 (02:25 +0000)]
Regenerate configure and fix AC header inclusion

22 years agoSome index clarifications
Kurt Zeilenga [Tue, 18 Dec 2001 02:24:09 +0000 (02:24 +0000)]
Some index clarifications

22 years agoMove Windows sleep macro from acconfig.h to ac/unistd.h
Howard Chu [Tue, 18 Dec 2001 02:03:23 +0000 (02:03 +0000)]
Move Windows sleep macro from acconfig.h to ac/unistd.h

22 years agostdlib.h should be included as <ac/stdlib.h>
Kurt Zeilenga [Tue, 18 Dec 2001 01:24:31 +0000 (01:24 +0000)]
stdlib.h should be included as <ac/stdlib.h>

22 years agoRegenerate at hyc's request
Kurt Zeilenga [Tue, 18 Dec 2001 01:09:00 +0000 (01:09 +0000)]
Regenerate at hyc's request

22 years agoMinor cleanup
Howard Chu [Tue, 18 Dec 2001 00:29:43 +0000 (00:29 +0000)]
Minor cleanup

22 years agoRevert previous commit.
Howard Chu [Tue, 18 Dec 2001 00:20:58 +0000 (00:20 +0000)]
Revert previous commit.

22 years agofrom jon@symas.com - misc cleanup
Howard Chu [Tue, 18 Dec 2001 00:16:15 +0000 (00:16 +0000)]
from jon@symas.com - misc cleanup

22 years agoWe "understand" localhost to be same as the local hostname as
Kurt Zeilenga [Mon, 17 Dec 2001 23:56:16 +0000 (23:56 +0000)]
We "understand" localhost to be same as the local hostname as
returned by gethostname().

22 years agofrom jon@symas.com - minor cleanup
Howard Chu [Mon, 17 Dec 2001 22:48:29 +0000 (22:48 +0000)]
from jon@symas.com - minor cleanup

22 years agofix from jon@symas.com - missing arguments to Debug/LDAP_LOG
Howard Chu [Mon, 17 Dec 2001 22:47:36 +0000 (22:47 +0000)]
fix from jon@symas.com - missing arguments to Debug/LDAP_LOG

22 years agofix from jon@symas.com - inet_ntoa on uninitialized sockaddr
Howard Chu [Mon, 17 Dec 2001 22:46:59 +0000 (22:46 +0000)]
fix from jon@symas.com - inet_ntoa on uninitialized sockaddr

22 years agofix from jon@symas.com - don't free uninitialized bv_val
Howard Chu [Mon, 17 Dec 2001 22:46:08 +0000 (22:46 +0000)]
fix from jon@symas.com - don't free uninitialized bv_val

22 years agofrom jon@symas.com - misc Windows cleanup
Howard Chu [Mon, 17 Dec 2001 22:42:55 +0000 (22:42 +0000)]
from jon@symas.com - misc Windows cleanup

22 years ago from jon@symas.com - misc MSVC cleanup
Howard Chu [Mon, 17 Dec 2001 22:40:10 +0000 (22:40 +0000)]
 from jon@symas.com - misc MSVC cleanup

22 years ago from jon@symas.com - fix unterminated comment
Howard Chu [Mon, 17 Dec 2001 22:38:15 +0000 (22:38 +0000)]
 from jon@symas.com - fix unterminated comment

22 years ago from jon@symas.com; include ldap_log.h for proper declarations, remove
Howard Chu [Mon, 17 Dec 2001 22:37:47 +0000 (22:37 +0000)]
 from jon@symas.com; include ldap_log.h for proper declarations, remove
 unused variable

22 years agoFix ITS#1497 use strcmp instead of strncmp
Howard Chu [Mon, 17 Dec 2001 21:56:24 +0000 (21:56 +0000)]
Fix ITS#1497 use strcmp instead of strncmp

22 years agoSilence a warning for Windows build
Howard Chu [Mon, 17 Dec 2001 21:42:48 +0000 (21:42 +0000)]
Silence a warning for Windows build

22 years agoUse a 4-byte constant for the presence index key. Set the index db hash
Howard Chu [Sun, 16 Dec 2001 14:21:47 +0000 (14:21 +0000)]
Use a 4-byte constant for the presence index key. Set the index db hash
function to simply pass thru the key value, which is already a hash value.

22 years agoUse DB_HASH instead of DB_BTREE for index databases. Since index keys are
Howard Chu [Sat, 15 Dec 2001 23:21:37 +0000 (23:21 +0000)]
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.

22 years agoRevert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
Howard Chu [Sat, 15 Dec 2001 23:00:46 +0000 (23:00 +0000)]
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
It must be specified on individual put() operations (and already is).

22 years agoAdded atexit handler to free global_opts->ldo_defludp.
Howard Chu [Sat, 15 Dec 2001 13:43:49 +0000 (13:43 +0000)]
Added atexit handler to free global_opts->ldo_defludp.

22 years agoAdded acl_destroy, acl_free.
Howard Chu [Sat, 15 Dec 2001 12:41:53 +0000 (12:41 +0000)]
Added acl_destroy, acl_free.

22 years agoDon't copy and leak user; it's an env var so just use it directly.
Howard Chu [Sat, 15 Dec 2001 12:07:40 +0000 (12:07 +0000)]
Don't copy and leak user; it's an env var so just use it directly.

22 years agoMore thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
Howard Chu [Sat, 15 Dec 2001 12:05:58 +0000 (12:05 +0000)]
More thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
Plugged other small leaks.

22 years agoClose some stdio fopen leaks.
Howard Chu [Sat, 15 Dec 2001 09:19:07 +0000 (09:19 +0000)]
Close some stdio fopen leaks.

22 years agoMore cleanup for bdb_db_close
Howard Chu [Sat, 15 Dec 2001 08:11:59 +0000 (08:11 +0000)]
More cleanup for bdb_db_close

22 years agoAdded description of "subordinate" keyword.
Howard Chu [Sat, 15 Dec 2001 07:15:32 +0000 (07:15 +0000)]
Added description of "subordinate" keyword.

22 years agoDo a regular entry_free on entries from do_add
Howard Chu [Sat, 15 Dec 2001 06:25:47 +0000 (06:25 +0000)]
Do a regular entry_free on entries from do_add

22 years agoallow empty suffix
Pierangelo Masarati [Wed, 12 Dec 2001 07:56:17 +0000 (07:56 +0000)]
allow empty suffix

22 years agoTreat (!) and (!(x=a)(y=b)) as filter errors...
Kurt Zeilenga [Wed, 12 Dec 2001 06:23:02 +0000 (06:23 +0000)]
Treat (!) and (!(x=a)(y=b)) as filter errors...

22 years agoMore from jon@symas.com - argv[0] comparison must exclude EXEEXT.
Howard Chu [Wed, 12 Dec 2001 00:26:42 +0000 (00:26 +0000)]
More from jon@symas.com - argv[0] comparison must exclude EXEEXT.

22 years agoMore from jon@symas.com - slapd.conf needs backslashes to be escaped.
Howard Chu [Tue, 11 Dec 2001 22:49:16 +0000 (22:49 +0000)]
More from jon@symas.com - slapd.conf needs backslashes to be escaped.

22 years agoFrom jon@symas.com - NT UUID support requires librpcrt4.
Howard Chu [Tue, 11 Dec 2001 22:48:30 +0000 (22:48 +0000)]
From jon@symas.com - NT UUID support requires librpcrt4.

22 years agoDon't signal error if reindexing an already existing dn2id index
Howard Chu [Tue, 11 Dec 2001 14:23:05 +0000 (14:23 +0000)]
Don't signal error if reindexing an already existing dn2id index

22 years agoFix ldbm_tool_entry_first, was not byteswapping ID.
Howard Chu [Tue, 11 Dec 2001 14:03:18 +0000 (14:03 +0000)]
Fix ldbm_tool_entry_first, was not byteswapping ID.

22 years agostrengthen dn_issuffix
Pierangelo Masarati [Tue, 11 Dec 2001 12:36:54 +0000 (12:36 +0000)]
strengthen dn_issuffix

22 years agobetter description of the backend
Pierangelo Masarati [Tue, 11 Dec 2001 11:47:43 +0000 (11:47 +0000)]
better description of the backend

22 years agofix backend suffix allocation bug; add better versioning to main entry
Pierangelo Masarati [Tue, 11 Dec 2001 11:31:38 +0000 (11:31 +0000)]
fix backend suffix allocation bug; add better versioning to main entry

22 years agominor cleanup
Pierangelo Masarati [Tue, 11 Dec 2001 11:30:01 +0000 (11:30 +0000)]
minor cleanup

22 years agomissing files (sorry)
Pierangelo Masarati [Mon, 10 Dec 2001 21:49:07 +0000 (21:49 +0000)]
missing files (sorry)

22 years agoFixed suffix DN_SUBTREE again. Index was still being written even though
Howard Chu [Mon, 10 Dec 2001 18:09:07 +0000 (18:09 +0000)]
Fixed suffix DN_SUBTREE again. Index was still being written even though
it was not being read.

22 years agoFix - on little-endian machines, store IDs in big-endian order.
Howard Chu [Mon, 10 Dec 2001 17:42:01 +0000 (17:42 +0000)]
Fix - on little-endian machines, store IDs in big-endian order.

22 years agoFix check for DN_SUBTREE on be suffix
Howard Chu [Mon, 10 Dec 2001 16:59:37 +0000 (16:59 +0000)]
Fix check for DN_SUBTREE on be suffix

22 years agoFix - on little-endian machines, store IDs in big-endian order. Otherwise
Howard Chu [Mon, 10 Dec 2001 16:53:15 +0000 (16:53 +0000)]
Fix - on little-endian machines, store IDs in big-endian order. Otherwise
BDB's default key sort algorithm sorts in the wrong order (and there's no
convenient way to select the correct algorithm). This is an incompatible
change to the database format but will improve back-ldbm's add/delete
characteristics.

22 years agoSome more version cleanup
Howard Chu [Mon, 10 Dec 2001 16:26:32 +0000 (16:26 +0000)]
Some more version cleanup

22 years agoMore cleanup. The last, I hope.
Howard Chu [Mon, 10 Dec 2001 13:44:02 +0000 (13:44 +0000)]
More cleanup. The last, I hope.

22 years agoExtra NULL check, just in case
Howard Chu [Mon, 10 Dec 2001 13:39:36 +0000 (13:39 +0000)]
Extra NULL check, just in case

22 years agoMisc cleanup
Howard Chu [Mon, 10 Dec 2001 13:35:04 +0000 (13:35 +0000)]
Misc cleanup

22 years agoFix typo in glue_back_select
Howard Chu [Mon, 10 Dec 2001 12:30:43 +0000 (12:30 +0000)]
Fix typo in glue_back_select

22 years agoRevert previous commit. Checked in by mistake.
Howard Chu [Mon, 10 Dec 2001 12:25:24 +0000 (12:25 +0000)]
Revert previous commit. Checked in by mistake.

22 years agoChanged backglue configuration. Added noSubordinates arg to select_backend
Howard Chu [Mon, 10 Dec 2001 12:09:40 +0000 (12:09 +0000)]
Changed backglue configuration. Added noSubordinates arg to select_backend
to deal with glued subordinates.

22 years agoimprovements to monitor backend: added a log entry that lists the current log level...
Pierangelo Masarati [Mon, 10 Dec 2001 09:50:06 +0000 (09:50 +0000)]
improvements to monitor backend: added a log entry that lists the current log level and can be modified via protocol at runtime, to change the log level; minor improvements; fixed a problem in dealing with dn normalization

22 years agominor cleanup
Pierangelo Masarati [Mon, 10 Dec 2001 09:46:50 +0000 (09:46 +0000)]
minor cleanup

22 years agoreworked internal stuff
Pierangelo Masarati [Mon, 10 Dec 2001 09:43:31 +0000 (09:43 +0000)]
reworked internal stuff

22 years agouse offsetof directly
Kurt Zeilenga [Sun, 9 Dec 2001 19:27:05 +0000 (19:27 +0000)]
use offsetof directly

22 years agofix issuffix call
Kurt Zeilenga [Sun, 9 Dec 2001 19:19:10 +0000 (19:19 +0000)]
fix issuffix call

22 years agomisc cleanup
Kurt Zeilenga [Sun, 9 Dec 2001 18:57:46 +0000 (18:57 +0000)]
misc cleanup

22 years agoConverted suffixAlias to struct bervals.
Howard Chu [Sun, 9 Dec 2001 14:57:42 +0000 (14:57 +0000)]
Converted suffixAlias to struct bervals.

22 years agoEliminate unnecessary per-operation dn_normalize(o_ndn); it's already
Howard Chu [Sun, 9 Dec 2001 14:46:29 +0000 (14:46 +0000)]
Eliminate unnecessary per-operation dn_normalize(o_ndn); it's already
done in do_bind() and there's space in the connection structure for c_ndn
already, just copy it.

22 years agoMinor strlen cleanup
Howard Chu [Sun, 9 Dec 2001 13:57:55 +0000 (13:57 +0000)]
Minor strlen cleanup

22 years agoRemove lint
Kurt Zeilenga [Sun, 9 Dec 2001 03:19:23 +0000 (03:19 +0000)]
Remove lint

22 years agoCleaned up search, use dn_issuffixbv
Howard Chu [Sun, 9 Dec 2001 03:09:18 +0000 (03:09 +0000)]
Cleaned up search, use dn_issuffixbv

22 years agoAdded dn_issuffixbv() like dn_issuffix, but with bervals.
Howard Chu [Sun, 9 Dec 2001 03:02:29 +0000 (03:02 +0000)]
Added dn_issuffixbv() like dn_issuffix, but with bervals.

22 years agoAdded ndn to replog args, eliminate unnecessary dn_normalize in replog.
Howard Chu [Sun, 9 Dec 2001 02:57:50 +0000 (02:57 +0000)]
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.

22 years agoAdded ndn to replog args, eliminate unnecessary dn_normalize in replog.
Howard Chu [Sun, 9 Dec 2001 02:47:39 +0000 (02:47 +0000)]
Added ndn to replog args, eliminate unnecessary dn_normalize in replog.

22 years agoAdded referrals to gluestate.
Howard Chu [Sun, 9 Dec 2001 02:46:25 +0000 (02:46 +0000)]
Added referrals to gluestate.

22 years agoMore misc MSVC changes
Kurt Zeilenga [Sun, 9 Dec 2001 02:43:04 +0000 (02:43 +0000)]
More misc MSVC changes

22 years agoRemove lint and misc MSVC updates
Kurt Zeilenga [Sun, 9 Dec 2001 02:34:45 +0000 (02:34 +0000)]
Remove lint and misc MSVC updates

22 years agoDon't include glued databases in namingContexts
Howard Chu [Sun, 9 Dec 2001 02:01:58 +0000 (02:01 +0000)]
Don't include glued databases in namingContexts

22 years agoClean up bdb_entry_release / bdb_entry_return
Howard Chu [Sun, 9 Dec 2001 01:14:32 +0000 (01:14 +0000)]
Clean up bdb_entry_release / bdb_entry_return

22 years agoFix for slapcat
Howard Chu [Sat, 8 Dec 2001 16:42:27 +0000 (16:42 +0000)]
Fix for slapcat

22 years agoAdded new backglue pseudo-backend. Uses callbacks to glue different backends
Howard Chu [Sat, 8 Dec 2001 15:58:47 +0000 (15:58 +0000)]
Added new backglue pseudo-backend. Uses callbacks to glue different backends
together into a single searchable hierarchy.

22 years agoAdded callbacks for send_ldap_response and send_search_result.
Howard Chu [Sat, 8 Dec 2001 15:21:20 +0000 (15:21 +0000)]
Added callbacks for send_ldap_response and send_search_result.

22 years agoFix previous commit...
Howard Chu [Sat, 8 Dec 2001 13:07:01 +0000 (13:07 +0000)]
Fix previous commit...

22 years agoCleanup previous commit
Howard Chu [Sat, 8 Dec 2001 11:15:55 +0000 (11:15 +0000)]
Cleanup previous commit

22 years agoAdded dn_rdnlen. Fixed rdn leak in limits.c.
Howard Chu [Sat, 8 Dec 2001 11:08:26 +0000 (11:08 +0000)]
Added dn_rdnlen. Fixed rdn leak in limits.c.

22 years agoConverted all use of dn_parent to the in-place version. (Fixed a pdn leak
Howard Chu [Sat, 8 Dec 2001 10:37:42 +0000 (10:37 +0000)]
Converted all use of dn_parent to the in-place version. (Fixed a pdn leak
in back-sql along the way.)

22 years agoSwitched to dn_parent1, cleaned up dn2id_add/delete
Howard Chu [Sat, 8 Dec 2001 10:10:04 +0000 (10:10 +0000)]
Switched to dn_parent1, cleaned up dn2id_add/delete

22 years agoTurned dn_parent into dn_parent1, returning in-place pointer. Made
Howard Chu [Sat, 8 Dec 2001 08:41:39 +0000 (08:41 +0000)]
Turned dn_parent into dn_parent1, returning in-place pointer. Made
dn_parent return ch_strdup of dn_parent1 for compatibility.

22 years agoITS#1399, fix make depend when built as module
Kurt Zeilenga [Sat, 8 Dec 2001 07:48:58 +0000 (07:48 +0000)]
ITS#1399, fix make depend when built as module

22 years agoAdd reference to replication-notes
Kurt Zeilenga [Sat, 8 Dec 2001 07:38:14 +0000 (07:38 +0000)]
Add reference to replication-notes

22 years agoReplication notes
Kurt Zeilenga [Sat, 8 Dec 2001 07:35:48 +0000 (07:35 +0000)]
Replication notes
written by Ganesan Rajagopal <rganesan@debian.org>

22 years agoPretty the entry DNs on add but not rename (yet).
Kurt Zeilenga [Sat, 8 Dec 2001 06:57:06 +0000 (06:57 +0000)]
Pretty the entry DNs on add but not rename (yet).

22 years agoChanged be_nsuffix from char ** to struct berval **, removed nsufflen
Howard Chu [Sat, 8 Dec 2001 05:17:31 +0000 (05:17 +0000)]
Changed be_nsuffix from char ** to struct berval **, removed nsufflen

22 years agoChanged be_nsuffix from char ** to struct berval ** to eliminate strlen's
Howard Chu [Sat, 8 Dec 2001 05:15:58 +0000 (05:15 +0000)]
Changed be_nsuffix from char ** to struct berval ** to eliminate strlen's

22 years agorebuild
Kurt Zeilenga [Sat, 8 Dec 2001 04:31:06 +0000 (04:31 +0000)]
rebuild

22 years agoDisallow duplicate duplicate data
Kurt Zeilenga [Sat, 8 Dec 2001 04:30:23 +0000 (04:30 +0000)]
Disallow duplicate duplicate data

22 years agomisc cleanup
Kurt Zeilenga [Sat, 8 Dec 2001 04:29:34 +0000 (04:29 +0000)]
misc cleanup

22 years agoAdd SLAPD_STATIC_BACKENDS and SLAPD_DYNAMIC_BACKENDS macros to simplify
Howard Chu [Sat, 8 Dec 2001 04:01:30 +0000 (04:01 +0000)]
Add SLAPD_STATIC_BACKENDS and SLAPD_DYNAMIC_BACKENDS macros to simplify
backend build rules.

22 years agoSeparate CFLAGS/CPPFLAGS when using libtool...
Kurt Zeilenga [Sat, 8 Dec 2001 02:32:23 +0000 (02:32 +0000)]
Separate CFLAGS/CPPFLAGS when using libtool...

22 years agoquick fix BSD builds
Kurt Zeilenga [Sat, 8 Dec 2001 01:57:25 +0000 (01:57 +0000)]
quick fix BSD builds

22 years agoFix typos in previous commit
Howard Chu [Sat, 8 Dec 2001 01:16:10 +0000 (01:16 +0000)]
Fix typos in previous commit