]> git.sur5r.net Git - openldap/log
openldap
22 years agoConverted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC and
Julius Enarusai [Fri, 1 Nov 2002 18:59:52 +0000 (18:59 +0000)]
Converted ch_malloc, ch_calloc and ch_realloc calls to SLAP_MALLOC and
SLAP_CALLOC in add_value/add_value_one functions and propagated errors to
all functions that use these functions.

22 years agoFix sasl_server_start invocation, must pass NULL cred when credlen is 0.
Howard Chu [Fri, 1 Nov 2002 02:14:55 +0000 (02:14 +0000)]
Fix sasl_server_start invocation, must pass NULL cred when credlen is 0.

22 years agoFix referrals and alias. For ldbm and I think for bdb, this is necessary
Stig Venaas [Thu, 31 Oct 2002 16:48:04 +0000 (16:48 +0000)]
Fix referrals and alias. For ldbm and I think for bdb, this is necessary
now that we normalize to lower case. Should be merged into 2.1.

22 years agoclarify how to specify no limits
Pierangelo Masarati [Thu, 31 Oct 2002 11:26:19 +0000 (11:26 +0000)]
clarify how to specify no limits

22 years agouse keyword "unlimited" instead of -1 for no limits
Pierangelo Masarati [Thu, 31 Oct 2002 09:57:24 +0000 (09:57 +0000)]
use keyword "unlimited" instead of -1 for no limits

22 years agoDefine DB_VERSION_X to make life easier when checking BDB versions.
Howard Chu [Wed, 30 Oct 2002 20:35:25 +0000 (20:35 +0000)]
Define DB_VERSION_X to make life easier when checking BDB versions.

22 years agoTest anonymous whoami
Kurt Zeilenga [Wed, 30 Oct 2002 00:17:36 +0000 (00:17 +0000)]
Test anonymous whoami

22 years agochanges in bdb_psearch() - search scope check
Jong Hyuk Choi [Tue, 29 Oct 2002 08:05:45 +0000 (08:05 +0000)]
changes in bdb_psearch() - search scope check

22 years agoMisc configure cleanup
Kurt Zeilenga [Tue, 29 Oct 2002 04:55:15 +0000 (04:55 +0000)]
Misc configure cleanup

22 years agochange due to removal of servers/slapd/lcup.c
Jong Hyuk Choi [Tue, 29 Oct 2002 04:39:05 +0000 (04:39 +0000)]
change due to removal of servers/slapd/lcup.c

22 years agoRemoval of servers/slapd/lcup.c
Jong Hyuk Choi [Tue, 29 Oct 2002 00:00:47 +0000 (00:00 +0000)]
Removal of servers/slapd/lcup.c

22 years agoUse of slap_schema.si_ad_entryUUID in bdb_psearch()
Jong Hyuk Choi [Mon, 28 Oct 2002 23:57:54 +0000 (23:57 +0000)]
Use of slap_schema.si_ad_entryUUID in bdb_psearch()

22 years agoAdd superiorUUID to system schema
Kurt Zeilenga [Mon, 28 Oct 2002 20:01:55 +0000 (20:01 +0000)]
Add superiorUUID to system schema

22 years agoMisc cleanup
Kurt Zeilenga [Sun, 27 Oct 2002 21:45:17 +0000 (21:45 +0000)]
Misc cleanup

22 years agocode cleanup
Kurt Zeilenga [Sun, 27 Oct 2002 03:42:32 +0000 (03:42 +0000)]
code cleanup

22 years agoFix typo
Kurt Zeilenga [Sun, 27 Oct 2002 00:41:52 +0000 (00:41 +0000)]
Fix typo

22 years agoFix ITS#2157, server should never attempt to unlink the client's socket.
Howard Chu [Sat, 26 Oct 2002 22:41:26 +0000 (22:41 +0000)]
Fix ITS#2157, server should never attempt to unlink the client's socket.
It likely has no name anyway, and the client owns it after all.

22 years agobeautify "unknown"
Pierangelo Masarati [Sat, 26 Oct 2002 18:51:24 +0000 (18:51 +0000)]
beautify "unknown"

22 years agoneed to move #define here; on by default
Pierangelo Masarati [Sat, 26 Oct 2002 16:32:11 +0000 (16:32 +0000)]
need to move #define here; on by default

22 years agofix hasSubordinate filtering; now it can be safely turned on
Pierangelo Masarati [Sat, 26 Oct 2002 16:18:31 +0000 (16:18 +0000)]
fix hasSubordinate filtering; now it can be safely turned on

22 years agouse more appropriate error code
Pierangelo Masarati [Sat, 26 Oct 2002 10:05:35 +0000 (10:05 +0000)]
use more appropriate error code

22 years agoactually, get_perms is needed by ldapi:// rgeardless of -DSLAP_X_LISTENER_MOD
Pierangelo Masarati [Sat, 26 Oct 2002 10:02:41 +0000 (10:02 +0000)]
actually, get_perms is needed by ldapi:// rgeardless of -DSLAP_X_LISTENER_MOD

22 years agorebuild (and test updated log.pl)
Kurt Zeilenga [Sat, 26 Oct 2002 03:31:10 +0000 (03:31 +0000)]
rebuild (and test updated log.pl)

22 years agoforce
Kurt Zeilenga [Sat, 26 Oct 2002 03:23:54 +0000 (03:23 +0000)]
force

22 years agoforced
Kurt Zeilenga [Sat, 26 Oct 2002 03:21:42 +0000 (03:21 +0000)]
forced

22 years agoforced
Kurt Zeilenga [Sat, 26 Oct 2002 03:20:32 +0000 (03:20 +0000)]
forced

22 years agoforce again
Kurt Zeilenga [Sat, 26 Oct 2002 03:12:58 +0000 (03:12 +0000)]
force again

22 years agoanother forced commit
Kurt Zeilenga [Sat, 26 Oct 2002 03:10:26 +0000 (03:10 +0000)]
another forced commit

22 years agoAnother forced commit
Kurt Zeilenga [Sat, 26 Oct 2002 03:04:04 +0000 (03:04 +0000)]
Another forced commit

22 years agoAnother forced commit
Kurt Zeilenga [Sat, 26 Oct 2002 03:02:09 +0000 (03:02 +0000)]
Another forced commit

22 years agoForced change for testing
Kurt Zeilenga [Sat, 26 Oct 2002 03:01:35 +0000 (03:01 +0000)]
Forced change for testing

22 years agoforced change for testing
Kurt Zeilenga [Sat, 26 Oct 2002 02:58:31 +0000 (02:58 +0000)]
forced change for testing

22 years agoUpdate anon
Kurt Zeilenga [Sat, 26 Oct 2002 02:53:36 +0000 (02:53 +0000)]
Update anon

22 years agotest 3
Kurt Zeilenga [Sat, 26 Oct 2002 02:52:25 +0000 (02:52 +0000)]
test 3

22 years agoanother test
Kurt Zeilenga [Sat, 26 Oct 2002 02:41:46 +0000 (02:41 +0000)]
another test

22 years agoForced change (test)
Kurt Zeilenga [Sat, 26 Oct 2002 02:39:35 +0000 (02:39 +0000)]
Forced change (test)

22 years agoAdd "allow update_anon"
Kurt Zeilenga [Fri, 25 Oct 2002 18:47:24 +0000 (18:47 +0000)]
Add "allow update_anon"
Fix -USLAP_X_LISTENER_MOD builds

22 years agoAddition of servers/slapd/lcup.c and servers/slapd/back-bdb/lcup.c for persistent...
Jong Hyuk Choi [Fri, 25 Oct 2002 17:57:03 +0000 (17:57 +0000)]
Addition of servers/slapd/lcup.c and servers/slapd/back-bdb/lcup.c for persistent search

22 years agoLCUP persistent search code drop
Jong Hyuk Choi [Fri, 25 Oct 2002 17:51:30 +0000 (17:51 +0000)]
LCUP persistent search code drop

22 years agoadd restrictions related to listeners in form of file permissions
Pierangelo Masarati [Fri, 25 Oct 2002 16:43:44 +0000 (16:43 +0000)]
add restrictions related to listeners in form of file permissions
(see in slapd(8) the description on how to enforce file permissions
on sockets in ldapi schema); at present, only user permissions are
used as follows: the url extension x-mod=-rwxrwxrwx is used; only
the user permisisons are considered, e.g. the first set of rwx;
"r" means read is allowed from that listener
"w" means write is allowed on that listener
"x" means bind is not required on that listener
these restrictions ADD to those already present, and are actually
checked AFTER the other restrictions, but BEFORE ACLs, so they can
be used to apply gross restrictions but should not be viewed as
a replacement of ACLs. To compile this, #define SLAP_X_LISTENER_MOD

22 years agober_write error message cleanup
Kurt Zeilenga [Fri, 25 Oct 2002 05:47:08 +0000 (05:47 +0000)]
ber_write error message cleanup

22 years agoSHTOOL cleanup
Kurt Zeilenga [Fri, 25 Oct 2002 05:46:56 +0000 (05:46 +0000)]
SHTOOL cleanup

22 years agoMake sure that newSuperior isn't old superior
Kurt Zeilenga [Fri, 25 Oct 2002 01:09:50 +0000 (01:09 +0000)]
Make sure that newSuperior isn't old superior

22 years agoPlug memleak in previous commit
Howard Chu [Thu, 24 Oct 2002 23:51:34 +0000 (23:51 +0000)]
Plug memleak in previous commit

22 years agoForced commit, undo previous accidental checkin.
Howard Chu [Thu, 24 Oct 2002 11:40:37 +0000 (11:40 +0000)]
Forced commit, undo previous accidental checkin.

22 years agoITS#2153, make sure sockbuf buffer is empty before returning (-2) from
Howard Chu [Thu, 24 Oct 2002 11:39:06 +0000 (11:39 +0000)]
ITS#2153, make sure sockbuf buffer is empty before returning (-2) from
try_read1msg. Blind fix, problem was not duplicated/tested.

22 years agolistener:
Pierangelo Masarati [Thu, 24 Oct 2002 10:03:52 +0000 (10:03 +0000)]
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

22 years agoAdd more LDIF comments
Kurt Zeilenga [Wed, 23 Oct 2002 18:34:54 +0000 (18:34 +0000)]
Add more LDIF comments

22 years agodocument socket permission extension to ldapi://
Pierangelo Masarati [Wed, 23 Oct 2002 14:22:21 +0000 (14:22 +0000)]
document socket permission extension to ldapi://

22 years agochange socket permission syntax (to reuse function for other purposes)
Pierangelo Masarati [Wed, 23 Oct 2002 14:12:01 +0000 (14:12 +0000)]
change socket permission syntax (to reuse function for other purposes)

22 years agoprevent use of uninitialized var
Pierangelo Masarati [Wed, 23 Oct 2002 14:11:02 +0000 (14:11 +0000)]
prevent use of uninitialized var

22 years agofix typo
Pierangelo Masarati [Wed, 23 Oct 2002 14:10:21 +0000 (14:10 +0000)]
fix typo

22 years agoFix comment garbled in 2.1.6. (Very weird, how did this happen?)
Howard Chu [Wed, 23 Oct 2002 02:45:44 +0000 (02:45 +0000)]
Fix comment garbled in 2.1.6. (Very weird, how did this happen?)

22 years agoAdd comment attributing origin of the Metaphone algorithm
Kurt Zeilenga [Tue, 22 Oct 2002 04:52:57 +0000 (04:52 +0000)]
Add comment attributing origin of the Metaphone algorithm

22 years agoRename
Kurt Zeilenga [Tue, 22 Oct 2002 04:11:28 +0000 (04:11 +0000)]
Rename

22 years agoAdd implicit DN check
Kurt Zeilenga [Mon, 21 Oct 2002 21:24:21 +0000 (21:24 +0000)]
Add implicit DN check

22 years agoAdd a referrals/manageDsaIT test (depends on order of reference return)
Kurt Zeilenga [Mon, 21 Oct 2002 19:11:27 +0000 (19:11 +0000)]
Add a referrals/manageDsaIT test (depends on order of reference return)

22 years agoHide shtool echo bold warnings
Kurt Zeilenga [Fri, 18 Oct 2002 21:33:30 +0000 (21:33 +0000)]
Hide shtool echo bold warnings

22 years agoFix stupid bug
Kurt Zeilenga [Fri, 18 Oct 2002 21:09:46 +0000 (21:09 +0000)]
Fix stupid bug

22 years agoUpdate
Kurt Zeilenga [Fri, 18 Oct 2002 19:10:25 +0000 (19:10 +0000)]
Update

22 years agoAdd back-shell --with-threads warning
Kurt Zeilenga [Fri, 18 Oct 2002 18:53:07 +0000 (18:53 +0000)]
Add back-shell --with-threads warning

22 years agoblind fix for NULL pointer in Debug() bug (ITS#2143)
Kurt Zeilenga [Thu, 17 Oct 2002 17:45:44 +0000 (17:45 +0000)]
blind fix for NULL pointer in Debug() bug (ITS#2143)

22 years agoFix ITS#2142
Kurt Zeilenga [Thu, 17 Oct 2002 16:55:42 +0000 (16:55 +0000)]
Fix ITS#2142

22 years agoMisc updates
Kurt Zeilenga [Thu, 17 Oct 2002 05:59:57 +0000 (05:59 +0000)]
Misc updates

22 years agoFix comment
Kurt Zeilenga [Thu, 17 Oct 2002 04:35:55 +0000 (04:35 +0000)]
Fix comment

22 years agoNote --without-threads limitation
Kurt Zeilenga [Wed, 16 Oct 2002 16:54:27 +0000 (16:54 +0000)]
Note --without-threads limitation

22 years agoAdd copy of OPL 2.0.1 and note in files which specifically refer
Kurt Zeilenga [Tue, 15 Oct 2002 23:22:20 +0000 (23:22 +0000)]
Add copy of OPL 2.0.1 and note in files which specifically refer
to 2.0.1 as to the location to the copy.

22 years agotweak {thr,sched,pthread}_yield() detection
Kurt Zeilenga [Sun, 13 Oct 2002 03:07:08 +0000 (03:07 +0000)]
tweak {thr,sched,pthread}_yield() detection

22 years agofirst cut at ditStructureRule and nameForm routines
Kurt Zeilenga [Sun, 13 Oct 2002 01:36:58 +0000 (01:36 +0000)]
first cut at ditStructureRule and nameForm routines

22 years agocorrect security sample
Kurt Zeilenga [Sat, 12 Oct 2002 05:10:41 +0000 (05:10 +0000)]
correct security sample

22 years agoPatch: 'ldapmodify -c' should return error on failure (ITS#2133)
Kurt Zeilenga [Sat, 12 Oct 2002 04:35:42 +0000 (04:35 +0000)]
Patch: 'ldapmodify -c' should return error on failure  (ITS#2133)

Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

'ldapmodify -c' returned the error status from the _last_ LDIF entry,
so a bad entry followed by a good entry returns success.
This patch makes it return the status of the last _failed_ entry,
or 0 if all entries succeeded.

22 years agoPrefer thr_yield over sched_yield for Solaris
Howard Chu [Sat, 12 Oct 2002 01:26:59 +0000 (01:26 +0000)]
Prefer thr_yield over sched_yield for Solaris

22 years agoPrefer thr_yield over sched_yield for Solaris
Howard Chu [Sat, 12 Oct 2002 01:21:21 +0000 (01:21 +0000)]
Prefer thr_yield over sched_yield for Solaris

22 years agoMore fixes for ITS#2136, make sure all error returns set *text.
Howard Chu [Fri, 11 Oct 2002 17:12:56 +0000 (17:12 +0000)]
More fixes for ITS#2136, make sure all error returns set *text.

22 years agoIn sb_tls_bio_read/write, check for EAGAIN in addition to EWOULDBLOCK.
Howard Chu [Fri, 11 Oct 2002 06:22:24 +0000 (06:22 +0000)]
In sb_tls_bio_read/write, check for EAGAIN in addition to EWOULDBLOCK.
According to read(2)/write(2) EAGAIN is the only one we're interested in.
Fixes HP-UX 11.
http://www.openldap.org/lists/openldap-software/200105/msg00564.html

22 years agobetter check of snprintf result
Kurt Zeilenga [Fri, 11 Oct 2002 02:51:09 +0000 (02:51 +0000)]
better check of snprintf result

22 years agoPatch: Delete the buggy surrogate parent code (ITS#1815)
Kurt Zeilenga [Thu, 10 Oct 2002 20:28:36 +0000 (20:28 +0000)]
Patch:  Delete the buggy surrogate parent code (ITS#1815)
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

22 years agoFix crasher in ldap_domain2dn()
Luke Howard [Thu, 10 Oct 2002 08:59:19 +0000 (08:59 +0000)]
Fix crasher in ldap_domain2dn()

22 years agoClarify new "entry" ACLs
Kurt Zeilenga [Thu, 10 Oct 2002 04:27:23 +0000 (04:27 +0000)]
Clarify new "entry" ACLs

22 years agoAdd DIT Structure Rules and Name Forms
Kurt Zeilenga [Thu, 10 Oct 2002 04:19:46 +0000 (04:19 +0000)]
Add DIT Structure Rules and Name Forms

22 years agoMore OBSOLETE checks
Kurt Zeilenga [Thu, 10 Oct 2002 02:38:32 +0000 (02:38 +0000)]
More OBSOLETE checks

22 years agoAdd some OBSOLETE schema checks
Kurt Zeilenga [Thu, 10 Oct 2002 02:07:24 +0000 (02:07 +0000)]
Add some OBSOLETE schema checks

22 years agoFix multiple NAME example
Kurt Zeilenga [Thu, 10 Oct 2002 01:34:55 +0000 (01:34 +0000)]
Fix multiple NAME example

22 years agoDon't mask error text variables
Kurt Zeilenga [Wed, 9 Oct 2002 23:36:28 +0000 (23:36 +0000)]
Don't mask error text variables

22 years agoRemove lint
Kurt Zeilenga [Wed, 9 Oct 2002 23:35:45 +0000 (23:35 +0000)]
Remove lint

22 years agoImplement content rule checks
Kurt Zeilenga [Wed, 9 Oct 2002 23:02:01 +0000 (23:02 +0000)]
Implement content rule checks
w/ implicit default rules allowing any auxiliary class to be mixed in

22 years agoRevert previous commit. More thought needed re: IPV4 vs IPv6 failures
Howard Chu [Wed, 9 Oct 2002 21:18:51 +0000 (21:18 +0000)]
Revert previous commit. More thought needed re: IPV4 vs IPv6 failures

22 years agoUpdate to 1.6.1
Kurt Zeilenga [Wed, 9 Oct 2002 21:16:56 +0000 (21:16 +0000)]
Update to 1.6.1

22 years agoITS#2132, give up at first bind failure
Howard Chu [Wed, 9 Oct 2002 20:45:13 +0000 (20:45 +0000)]
ITS#2132, give up at first bind failure

22 years agoFix bad sup error
Kurt Zeilenga [Wed, 9 Oct 2002 19:24:02 +0000 (19:24 +0000)]
Fix bad sup error

22 years agoNeed ../cr.o
Kurt Zeilenga [Wed, 9 Oct 2002 19:11:12 +0000 (19:11 +0000)]
Need ../cr.o

22 years agoFix ITS#2132, give up if listener fails to open
Howard Chu [Wed, 9 Oct 2002 18:57:50 +0000 (18:57 +0000)]
Fix ITS#2132, give up if listener fails to open

22 years agoBasic framework for DIT Content Rules (not yet enforced)
Kurt Zeilenga [Wed, 9 Oct 2002 07:11:50 +0000 (07:11 +0000)]
Basic framework for DIT Content Rules (not yet enforced)

22 years agoAdd ditContentRule routines
Kurt Zeilenga [Wed, 9 Oct 2002 02:56:46 +0000 (02:56 +0000)]
Add ditContentRule routines

22 years agoBump EXBUFSIZ up a bit
Kurt Zeilenga [Tue, 8 Oct 2002 20:56:03 +0000 (20:56 +0000)]
Bump EXBUFSIZ up a bit

22 years agoFix realloc() bugs
Kurt Zeilenga [Tue, 8 Oct 2002 20:37:30 +0000 (20:37 +0000)]
Fix realloc() bugs

22 years agoFix AC_CACHE_CHECK bug in DB_THREAD detection.
Kurt Zeilenga [Tue, 8 Oct 2002 19:47:17 +0000 (19:47 +0000)]
Fix AC_CACHE_CHECK bug in DB_THREAD detection.

22 years agoPlug memory leak (ITS#2126)
Kurt Zeilenga [Tue, 8 Oct 2002 19:45:01 +0000 (19:45 +0000)]
Plug memory leak (ITS#2126)

22 years agoRework unprotected simple bind checks
Kurt Zeilenga [Tue, 8 Oct 2002 19:03:18 +0000 (19:03 +0000)]
Rework unprotected simple bind checks

22 years agoAdd security restrictions examples
Kurt Zeilenga [Tue, 8 Oct 2002 01:15:20 +0000 (01:15 +0000)]
Add security restrictions examples