]> git.sur5r.net Git - openldap/log
openldap
24 years agoget rid of unused structure
Gary Williams [Wed, 25 Oct 2000 16:48:11 +0000 (16:48 +0000)]
get rid of unused structure

24 years agoadd new logging macros/defs (behind NEW_LOGGING)
Gary Williams [Wed, 25 Oct 2000 16:47:17 +0000 (16:47 +0000)]
add new logging macros/defs (behind NEW_LOGGING)

24 years agotry new logging routines (behind NEW_LOGGING)
Gary Williams [Wed, 25 Oct 2000 15:35:01 +0000 (15:35 +0000)]
try new logging routines (behind NEW_LOGGING)

24 years agoadd new ber dump routine (behind NEW_LOGGING)
Gary Williams [Wed, 25 Oct 2000 15:33:39 +0000 (15:33 +0000)]
add new ber dump routine (behind NEW_LOGGING)

24 years agoenable new logging functions (behind NEW_LOGGING)
Gary Williams [Wed, 25 Oct 2000 15:03:22 +0000 (15:03 +0000)]
enable new logging functions (behind NEW_LOGGING)

24 years agoFix another #if 0 v UTF8MATCH bug
Kurt Zeilenga [Wed, 25 Oct 2000 01:32:35 +0000 (01:32 +0000)]
Fix another #if 0 v UTF8MATCH bug

24 years agoMissed on #if 0 to #if UTF8MATCH is last commit
Kurt Zeilenga [Tue, 24 Oct 2000 22:25:41 +0000 (22:25 +0000)]
Missed on #if 0 to #if UTF8MATCH is last commit
Also, enable UTF8MATCH... this is devel!

24 years agoUTF8 aware caseIgnore matching
Kurt Zeilenga [Tue, 24 Oct 2000 22:23:30 +0000 (22:23 +0000)]
UTF8 aware caseIgnore matching
---
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.

24 years agoImplement 2 approximate matching algorithms.
Mark Adamson [Tue, 24 Oct 2000 20:25:37 +0000 (20:25 +0000)]
Implement 2 approximate matching algorithms.

24 years agoRemove extranous spaces from DNs (not allowed in LDAPv3)
Kurt Zeilenga [Mon, 23 Oct 2000 19:00:05 +0000 (19:00 +0000)]
Remove extranous spaces from DNs (not allowed in LDAPv3)

24 years agoFix IS ASCII checks. Should be < 0x80 (0100), not < 0x100.
Kurt Zeilenga [Mon, 23 Oct 2000 18:04:45 +0000 (18:04 +0000)]
Fix IS ASCII checks.  Should be < 0x80 (0100), not < 0x100.

24 years agoFix register_syntax argument names
Kurt Zeilenga [Mon, 23 Oct 2000 18:02:48 +0000 (18:02 +0000)]
Fix register_syntax argument names

24 years agoFix: remap API error codes into protocol error codes before sending
Howard Chu [Mon, 23 Oct 2000 13:32:14 +0000 (13:32 +0000)]
Fix: remap API error codes into protocol error codes before sending
back to client.

24 years agoA little bit of Matching Rule Use.
Julio Sánchez Fernández [Mon, 23 Oct 2000 12:25:43 +0000 (12:25 +0000)]
A little bit of Matching Rule Use.

24 years agoFirst-cut at manageDSAit-aware backend selection.
Kurt Zeilenga [Sat, 21 Oct 2000 03:29:02 +0000 (03:29 +0000)]
First-cut at manageDSAit-aware backend selection.

24 years agoAdd better space compression
Kurt Zeilenga [Sat, 21 Oct 2000 03:27:41 +0000 (03:27 +0000)]
Add better space compression

24 years agoAdd extra spaces to babs' DN.
Kurt Zeilenga [Sat, 21 Oct 2000 03:26:49 +0000 (03:26 +0000)]
Add extra spaces to babs' DN.

24 years agoRemove defaultaccess directive
Kurt Zeilenga [Sat, 21 Oct 2000 03:26:24 +0000 (03:26 +0000)]
Remove defaultaccess directive

24 years agofix lutil_set_debug_level call
Gary Williams [Fri, 20 Oct 2000 14:46:33 +0000 (14:46 +0000)]
fix lutil_set_debug_level call

24 years agoThis patch replaces gai_strerror with AC_GAI_STRERROR in daemon.c and also
Kurt Zeilenga [Thu, 19 Oct 2000 18:05:11 +0000 (18:05 +0000)]
This patch replaces gai_strerror with AC_GAI_STRERROR in daemon.c and also
uses AC_GAI_STRERROR to report getaddrinfo failures in os-ip.c
-- Stig Venass

24 years agorev-01
Kurt Zeilenga [Thu, 19 Oct 2000 18:04:05 +0000 (18:04 +0000)]
rev-01

24 years agoquick hack to support holding of the root naming context
Kurt Zeilenga [Wed, 18 Oct 2000 19:29:40 +0000 (19:29 +0000)]
quick hack to support holding of the root naming context

24 years agoAdd ldap_pvt_gai_strerror().
Kurt Zeilenga [Wed, 18 Oct 2000 17:25:30 +0000 (17:25 +0000)]
Add ldap_pvt_gai_strerror().
Calls to gai_strerror() should be replaced with calls AC_GAI_STRERROR().

24 years agoValidate session handle
Kurt Zeilenga [Wed, 18 Oct 2000 16:32:57 +0000 (16:32 +0000)]
Validate session handle

24 years agofix file test
Gary Williams [Wed, 18 Oct 2000 14:58:34 +0000 (14:58 +0000)]
fix file test

24 years agofix SOCKET_ERROR typos
Kurt Zeilenga [Wed, 18 Oct 2000 03:24:50 +0000 (03:24 +0000)]
fix SOCKET_ERROR typos

24 years agoEliminate the need for a buffer.
Kurt Zeilenga [Wed, 18 Oct 2000 02:27:45 +0000 (02:27 +0000)]
Eliminate the need for a buffer.

24 years agoremove lint
Kurt Zeilenga [Wed, 18 Oct 2000 00:35:09 +0000 (00:35 +0000)]
remove lint

24 years agorename macros per conventions
Kurt Zeilenga [Wed, 18 Oct 2000 00:33:56 +0000 (00:33 +0000)]
rename macros per conventions
zap commented out _int_ declarations

24 years agouse ber_socket_t, not LBER_SOCKET_T
Kurt Zeilenga [Wed, 18 Oct 2000 00:32:35 +0000 (00:32 +0000)]
use ber_socket_t, not LBER_SOCKET_T

24 years agoFORCED COMMIT to update rcs log
Kurt Zeilenga [Wed, 18 Oct 2000 00:30:49 +0000 (00:30 +0000)]
FORCED COMMIT to update rcs log
rework debugging to demonstrate syslogging
restrict timestamping to HAVE_WINSOCK
and general cleanup

24 years agoremove lint
Kurt Zeilenga [Wed, 18 Oct 2000 00:29:21 +0000 (00:29 +0000)]
remove lint

24 years agoRemove lint
Kurt Zeilenga [Wed, 18 Oct 2000 00:28:39 +0000 (00:28 +0000)]
Remove lint

24 years agoUse SOCKET_ERROR instead of -1
Kurt Zeilenga [Wed, 18 Oct 2000 00:27:31 +0000 (00:27 +0000)]
Use SOCKET_ERROR instead of -1

24 years agoUpdate handling of partial responses
Kurt Zeilenga [Wed, 18 Oct 2000 00:26:53 +0000 (00:26 +0000)]
Update handling of partial responses
Update comments
Update log messages
rename symbols per conventions

24 years agominor cleanup
Kurt Zeilenga [Wed, 18 Oct 2000 00:24:58 +0000 (00:24 +0000)]
minor cleanup

24 years agoDocument the "threads" directive
Kurt Zeilenga [Wed, 18 Oct 2000 00:22:30 +0000 (00:22 +0000)]
Document the "threads" directive

24 years agoFix typo in concurrency description
Kurt Zeilenga [Wed, 18 Oct 2000 00:15:32 +0000 (00:15 +0000)]
Fix typo in concurrency description

24 years agoRemove commented out (logging) code
Kurt Zeilenga [Tue, 17 Oct 2000 20:44:34 +0000 (20:44 +0000)]
Remove commented out (logging) code

24 years agoreturn default to no logging
Kurt Zeilenga [Tue, 17 Oct 2000 20:43:33 +0000 (20:43 +0000)]
return default to no logging

24 years agoHandle *lud_host == '\0'
Kurt Zeilenga [Tue, 17 Oct 2000 20:30:14 +0000 (20:30 +0000)]
Handle *lud_host == '\0'
(likely should modify parsers and other codes to disallow such)

24 years agoconvert text level to int
Gary Williams [Tue, 17 Oct 2000 19:42:24 +0000 (19:42 +0000)]
convert text level to int

24 years agoadd prototype for lutil_mnem2level
Gary Williams [Tue, 17 Oct 2000 19:37:01 +0000 (19:37 +0000)]
add prototype for lutil_mnem2level

24 years agoForced commit to correct log entry
Kurt Zeilenga [Tue, 17 Oct 2000 19:30:34 +0000 (19:30 +0000)]
Forced commit to correct log entry
ldap_url_search should NOT use hostport of URL.

24 years agoldap_url_search should use hostport of URL.
Kurt Zeilenga [Tue, 17 Oct 2000 19:26:04 +0000 (19:26 +0000)]
ldap_url_search should use hostport of URL.

24 years agoPartial update of URL man page...
Kurt Zeilenga [Tue, 17 Oct 2000 19:07:56 +0000 (19:07 +0000)]
Partial update of URL man page...

24 years agoconvert string levels to ints
Gary Williams [Tue, 17 Oct 2000 18:56:24 +0000 (18:56 +0000)]
convert string levels to ints

24 years agoBump listeners to 10
Kurt Zeilenga [Tue, 17 Oct 2000 06:36:22 +0000 (06:36 +0000)]
Bump listeners to 10

24 years agoTrim unimplemented syntaxes and matching rules from subschema subentry
Kurt Zeilenga [Mon, 16 Oct 2000 23:47:46 +0000 (23:47 +0000)]
Trim unimplemented syntaxes and matching rules from subschema subentry

24 years agoDon't attempt to send abandon unless connection exists.
Kurt Zeilenga [Mon, 16 Oct 2000 23:11:41 +0000 (23:11 +0000)]
Don't attempt to send abandon unless connection exists.
If connection doesn't exist, return LDAP_SERVER_DOWN.

24 years agoNote that the directory containing the replogfile as well as
Kurt Zeilenga [Mon, 16 Oct 2000 22:19:29 +0000 (22:19 +0000)]
Note that the directory containing the replogfile as well as
the slurpd temporary directory should have limited read/write/execute
access.

24 years agoReplace last commit with Stig's improved version
Kurt Zeilenga [Mon, 16 Oct 2000 21:45:35 +0000 (21:45 +0000)]
Replace last commit with Stig's improved version

24 years agoITS#839: getaddrinfo portability fix from Gabar Gombas
Kurt Zeilenga [Mon, 16 Oct 2000 20:32:39 +0000 (20:32 +0000)]
ITS#839: getaddrinfo portability fix from Gabar Gombas

24 years agoITS#821: TLS data ready fix from <mattc@chartist.com>
Kurt Zeilenga [Mon, 16 Oct 2000 20:26:56 +0000 (20:26 +0000)]
ITS#821: TLS data ready fix from <mattc@chartist.com>

24 years agoRemove cpp lint
Kurt Zeilenga [Mon, 16 Oct 2000 20:04:42 +0000 (20:04 +0000)]
Remove cpp lint

24 years agoMake sure openldap-slurp is created 700
Kurt Zeilenga [Mon, 16 Oct 2000 16:43:42 +0000 (16:43 +0000)]
Make sure openldap-slurp is created 700

24 years agoAdd detection for gia_strerror
Kurt Zeilenga [Mon, 16 Oct 2000 04:10:22 +0000 (04:10 +0000)]
Add detection for gia_strerror

24 years agoBetter processing of extensible filters. Needs testing, but the prior
Julio Sánchez Fernández [Sun, 15 Oct 2000 19:17:06 +0000 (19:17 +0000)]
Better processing of extensible filters.  Needs testing, but the prior
version was not encoding properly the filter.

24 years agoExtend MRA. It now has a pointer to a MatchingRule, but a char
Julio Sánchez Fernández [Sun, 15 Oct 2000 19:12:21 +0000 (19:12 +0000)]
Extend MRA.  It now has a pointer to a MatchingRule, but a char
pointer is kept for messages and to tell a filter without rule
from one with an unknown rule.  It matters.

Fix a couple of bugs in debug output.

24 years agoExtend MRA. It now has a pointer to a MatchingRule, but a char
Julio Sánchez Fernández [Sun, 15 Oct 2000 19:10:43 +0000 (19:10 +0000)]
Extend MRA.  It now has a pointer to a MatchingRule, but a char
pointer is kept for messages and to tell a filter without rule
from one with an unknown rule.  It matters.

24 years agoBetter parsing.
Julio Sánchez Fernández [Sat, 14 Oct 2000 18:36:13 +0000 (18:36 +0000)]
Better parsing.

24 years agoentropy should be unsigned
Kurt Zeilenga [Sat, 14 Oct 2000 02:14:38 +0000 (02:14 +0000)]
entropy should be unsigned

24 years agoRework control create/dup routines to distinguish not
Kurt Zeilenga [Sat, 14 Oct 2000 02:13:53 +0000 (02:13 +0000)]
Rework control create/dup routines to distinguish not
present value from empty value.

24 years agoFix typo
Kurt Zeilenga [Sat, 14 Oct 2000 02:13:11 +0000 (02:13 +0000)]
Fix typo

24 years agoCorrect SMIME comment
Kurt Zeilenga [Sat, 14 Oct 2000 01:42:49 +0000 (01:42 +0000)]
Correct SMIME comment
move pilot.schema to the Attic

24 years agoPer IETF LDAPext discussions, ;binary transfer of binary syntax
Kurt Zeilenga [Sat, 14 Oct 2000 01:37:48 +0000 (01:37 +0000)]
Per IETF LDAPext discussions, ;binary transfer of binary syntax
makes little sense.  Implementations should not require or by
default return ;binary for attributes of this syntax.  This means
inetOrgPerson needs updating.  This means Netscape roaming doesn't.

24 years agolabel io as "ldap_"
Kurt Zeilenga [Sat, 14 Oct 2000 00:12:39 +0000 (00:12 +0000)]
label io as "ldap_"

24 years agoAdd mra.o to linked objects
Julio Sánchez Fernández [Fri, 13 Oct 2000 20:43:32 +0000 (20:43 +0000)]
Add mra.o to linked objects

24 years agoProtos for extensible matching rules
Julio Sánchez Fernández [Fri, 13 Oct 2000 20:41:23 +0000 (20:41 +0000)]
Protos for extensible matching rules

24 years agoDoesn't require <stdio.h>
Kurt Zeilenga [Fri, 13 Oct 2000 20:40:45 +0000 (20:40 +0000)]
Doesn't require <stdio.h>

24 years agoThe beginning of extensible matches. Do not use.
Julio Sánchez Fernández [Fri, 13 Oct 2000 20:39:36 +0000 (20:39 +0000)]
The beginning of extensible matches.  Do not use.

24 years agoLet slapd at least start and do things. Someone should really have
Julio Sánchez Fernández [Fri, 13 Oct 2000 20:24:49 +0000 (20:24 +0000)]
Let slapd at least start and do things.  Someone should really have
a look at this.  Do we need to add something to every program so
that levelArray is at least initialized?

24 years agoPrevent it from crashing.
Julio Sánchez Fernández [Fri, 13 Oct 2000 20:22:46 +0000 (20:22 +0000)]
Prevent it from crashing.

24 years agoDon't print bind dn, it's confusing when using SASL
Kurt Zeilenga [Fri, 13 Oct 2000 18:57:56 +0000 (18:57 +0000)]
Don't print bind dn, it's confusing when using SASL

24 years agoUse LDAP_VERSION3 instead of 3
Kurt Zeilenga [Fri, 13 Oct 2000 18:30:24 +0000 (18:30 +0000)]
Use LDAP_VERSION3 instead of 3

24 years agoadd typedef for log function that was in lber.h
Gary Williams [Fri, 13 Oct 2000 14:10:41 +0000 (14:10 +0000)]
add typedef for log function that was in lber.h

24 years agoremove stdarg.h and prototypes that require it
Gary Williams [Fri, 13 Oct 2000 14:09:32 +0000 (14:09 +0000)]
remove stdarg.h and prototypes that require it

24 years agoReturn authMethodNotSupported not authUnknown for unknown
Kurt Zeilenga [Fri, 13 Oct 2000 05:28:23 +0000 (05:28 +0000)]
Return authMethodNotSupported not authUnknown for unknown
bind authentication method

24 years agoZap defaultaccess option
Kurt Zeilenga [Fri, 13 Oct 2000 04:46:50 +0000 (04:46 +0000)]
Zap defaultaccess option

24 years agoRemove "defaultaccess" option. No longer needed as without
Kurt Zeilenga [Fri, 13 Oct 2000 04:45:24 +0000 (04:45 +0000)]
Remove "defaultaccess" option.  No longer needed as without
ACLs, the only sane and useful option is "read".

24 years agoLabel sb debugging as "ldap_"...
Kurt Zeilenga [Fri, 13 Oct 2000 01:00:55 +0000 (01:00 +0000)]
Label sb debugging as "ldap_"...

24 years agoFix TLSVerifyClient. Applied in wrong branch before.
Howard Chu [Fri, 13 Oct 2000 00:54:05 +0000 (00:54 +0000)]
Fix TLSVerifyClient. Applied in wrong branch before.

24 years agoAdd sasl i/o debugging
Kurt Zeilenga [Thu, 12 Oct 2000 23:50:58 +0000 (23:50 +0000)]
Add sasl i/o debugging

24 years agoImport Stig reorganized daemon.c + style changes
Kurt Zeilenga [Thu, 12 Oct 2000 21:59:08 +0000 (21:59 +0000)]
Import Stig reorganized daemon.c + style changes

24 years agoremove LDAP_Debug macro
Gary Williams [Thu, 12 Oct 2000 21:16:18 +0000 (21:16 +0000)]
remove LDAP_Debug macro

24 years agoupdate logging
Gary Williams [Thu, 12 Oct 2000 21:14:43 +0000 (21:14 +0000)]
update logging

24 years agochange to LDAP_LOG macro
Gary Williams [Thu, 12 Oct 2000 21:13:56 +0000 (21:13 +0000)]
change to LDAP_LOG macro

24 years agoslight change to macro
Gary Williams [Thu, 12 Oct 2000 21:02:58 +0000 (21:02 +0000)]
slight change to macro

24 years agoexample client using new logging
Gary Williams [Thu, 12 Oct 2000 20:13:20 +0000 (20:13 +0000)]
example client using new logging

24 years agoexample of new logging use
Gary Williams [Thu, 12 Oct 2000 20:12:28 +0000 (20:12 +0000)]
example of new logging use

24 years agoget new debug configuration
Gary Williams [Thu, 12 Oct 2000 20:11:49 +0000 (20:11 +0000)]
get new debug configuration

24 years agofirst try at logging improvements
Gary Williams [Thu, 12 Oct 2000 20:01:12 +0000 (20:01 +0000)]
first try at logging improvements

24 years agoFix layer installation
Kurt Zeilenga [Thu, 12 Oct 2000 19:02:31 +0000 (19:02 +0000)]
Fix layer installation

24 years agoAdd missing 'static'... (ITS#823,825,828)
Kurt Zeilenga [Wed, 11 Oct 2000 23:42:53 +0000 (23:42 +0000)]
Add missing 'static'... (ITS#823,825,828)
as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed

24 years agoRevised ITS#799 fix from Steve Sonntag <vtag@novell.com>
Kurt Zeilenga [Wed, 11 Oct 2000 21:11:34 +0000 (21:11 +0000)]
Revised ITS#799 fix from Steve Sonntag <vtag@novell.com>
 The problem is that the current code checks the queue inside
 the test for correct connecction state, so sometimes the queue
 doesn't get checked. This change moves the test outside
 the connection check.

24 years agoAdjust result code when entry is not found to noSuchObject
Kurt Zeilenga [Wed, 11 Oct 2000 18:19:26 +0000 (18:19 +0000)]
Adjust result code when entry is not found to noSuchObject

24 years agoUpdate with latest needs
Kurt Zeilenga [Wed, 11 Oct 2000 18:01:40 +0000 (18:01 +0000)]
Update with latest needs

24 years ago- fixed bug in debugging output (added #include "config.h" to debug.h)
Ralf Haferkamp [Wed, 11 Oct 2000 17:18:27 +0000 (17:18 +0000)]
- fixed bug in debugging output (added #include "config.h" to debug.h)
- rebuild configure script

24 years agoRemoved testing mods accidentally committed with previous fix.
Mark Valence [Wed, 11 Oct 2000 16:41:15 +0000 (16:41 +0000)]
Removed testing mods accidentally committed with previous fix.

24 years agoAdded conn and op arguments to group backend callback.
Mark Valence [Wed, 11 Oct 2000 16:35:14 +0000 (16:35 +0000)]
Added conn and op arguments to group backend callback.