]> git.sur5r.net Git - openldap/log
openldap
16 years agoITS#5518,#5525 cleanup ld_defconn if it was freed
Howard Chu [Fri, 23 May 2008 09:53:42 +0000 (09:53 +0000)]
ITS#5518,#5525 cleanup ld_defconn if it was freed

16 years agorevert test logic
Pierangelo Masarati [Thu, 22 May 2008 17:43:12 +0000 (17:43 +0000)]
revert test logic

16 years agoITS#5519 add missing stubs
Howard Chu [Tue, 20 May 2008 11:23:19 +0000 (11:23 +0000)]
ITS#5519 add missing stubs

16 years agoUse DES_* functions instead of deprecated des_*
Emmanuel Dreyfus [Tue, 20 May 2008 05:18:33 +0000 (05:18 +0000)]
Use DES_* functions instead of deprecated des_*

16 years agoHere is slapo-nops, used to remove idempotent operations (i.e.: replacing
Emmanuel Dreyfus [Mon, 19 May 2008 22:44:08 +0000 (22:44 +0000)]
Here is slapo-nops, used to remove idempotent operations (i.e.: replacing
an attribute values by the exact same values)

16 years agoFix bei_state access
Howard Chu [Mon, 19 May 2008 16:19:59 +0000 (16:19 +0000)]
Fix bei_state access
http://www.openldap.org/lists/openldap-devel/200805/msg00073.html

16 years agoDo connections_init() sooner
Howard Chu [Sun, 18 May 2008 15:58:10 +0000 (15:58 +0000)]
Do connections_init() sooner

16 years agofix comment
Pierangelo Masarati [Sat, 17 May 2008 11:56:10 +0000 (11:56 +0000)]
fix comment

16 years agofix handling of multiple attrs in URI (ITS#5516)
Pierangelo Masarati [Sat, 17 May 2008 11:55:50 +0000 (11:55 +0000)]
fix handling of multiple attrs in URI (ITS#5516)

16 years agolookup entries as LDAP_REQ_SEARCH (ITS#5513)
Pierangelo Masarati [Sat, 17 May 2008 11:36:44 +0000 (11:36 +0000)]
lookup entries as LDAP_REQ_SEARCH (ITS#5513)

16 years agoparenthesize some macro args
Hallvard Furuseth [Sat, 17 May 2008 00:05:54 +0000 (00:05 +0000)]
parenthesize some macro args

16 years agoITS#5512 Doc contribution for search privileges in 2.4
Gavin Henry [Thu, 15 May 2008 21:35:13 +0000 (21:35 +0000)]
ITS#5512 Doc contribution for search privileges in 2.4

16 years agoITS#5507: Set FD_CLOEXEC (close on exec) flag on LDAP file descriptors
Hallvard Furuseth [Thu, 15 May 2008 20:56:41 +0000 (20:56 +0000)]
ITS#5507: Set FD_CLOEXEC (close on exec) flag on LDAP file descriptors

16 years agoITS#5465 ignore ops without queued CSNs
Howard Chu [Tue, 13 May 2008 21:57:19 +0000 (21:57 +0000)]
ITS#5465 ignore ops without queued CSNs

16 years agoITS#5506 reset op2.o_extra
Howard Chu [Mon, 12 May 2008 18:33:05 +0000 (18:33 +0000)]
ITS#5506 reset op2.o_extra

16 years agoITS#5503 integerFilter keys were not terminated
Howard Chu [Sat, 10 May 2008 00:28:03 +0000 (00:28 +0000)]
ITS#5503 integerFilter keys were not terminated

16 years agoFix an error in debug message, and correctly keep track of attribute count
Emmanuel Dreyfus [Fri, 9 May 2008 21:49:47 +0000 (21:49 +0000)]
Fix an error in debug message, and correctly keep track of attribute count
after a mod_replace

16 years agoAdd attribute size and count constraints to slapo-constaint
Emmanuel Dreyfus [Fri, 9 May 2008 12:59:16 +0000 (12:59 +0000)]
Add attribute size and count constraints to slapo-constaint
Approved by Ando

Usage example:
  overlay constraint
  constraint_attribute jpegPhoto size 131072
  constraint_attribute userPassword count 3

16 years agoITS#5493 always send cookie with delta-sync entries
Howard Chu [Fri, 9 May 2008 01:51:26 +0000 (01:51 +0000)]
ITS#5493 always send cookie with delta-sync entries

16 years agoUse network-timeout instead
Howard Chu [Fri, 9 May 2008 00:08:19 +0000 (00:08 +0000)]
Use network-timeout instead

16 years agoAdd syncrepl timeout / network_timeout options
Howard Chu [Thu, 8 May 2008 13:39:31 +0000 (13:39 +0000)]
Add syncrepl timeout / network_timeout options

16 years agoUse underscore in network_timeout
Howard Chu [Thu, 8 May 2008 13:15:40 +0000 (13:15 +0000)]
Use underscore in network_timeout

16 years agoreplica keyword is obsolete, remove it
Howard Chu [Thu, 8 May 2008 13:11:35 +0000 (13:11 +0000)]
replica keyword is obsolete, remove it

16 years agoNote slapd map type for internal searches
Howard Chu [Thu, 8 May 2008 01:35:27 +0000 (01:35 +0000)]
Note slapd map type for internal searches

16 years agoITS#5486, fix rev 1.219. Must never use s_op directly, must always use
Howard Chu [Tue, 6 May 2008 03:03:47 +0000 (03:03 +0000)]
ITS#5486, fix rev 1.219. Must never use s_op directly, must always use
a copy.

16 years agoITS#5470 revert prev commit, use 3 second timeouts
Howard Chu [Mon, 5 May 2008 23:40:02 +0000 (23:40 +0000)]
ITS#5470 revert prev commit, use 3 second timeouts

16 years agoRemove syncrepl timeouts
Howard Chu [Mon, 5 May 2008 23:18:09 +0000 (23:18 +0000)]
Remove syncrepl timeouts

16 years agoITS#5451 test for deadlock
Howard Chu [Fri, 2 May 2008 10:49:00 +0000 (10:49 +0000)]
ITS#5451 test for deadlock

16 years agoFix prev commit
Howard Chu [Thu, 1 May 2008 23:56:01 +0000 (23:56 +0000)]
Fix prev commit

16 years agoMinor typo fix
Quanah Gibson-Mount [Thu, 1 May 2008 23:05:13 +0000 (23:05 +0000)]
Minor typo fix

16 years agoCleanup extra debug in prev commit
Howard Chu [Thu, 1 May 2008 23:02:52 +0000 (23:02 +0000)]
Cleanup extra debug in prev commit

16 years agoPropagate o_extra too
Howard Chu [Thu, 1 May 2008 22:55:29 +0000 (22:55 +0000)]
Propagate o_extra too

16 years agoFix prev commit
Howard Chu [Thu, 1 May 2008 13:25:15 +0000 (13:25 +0000)]
Fix prev commit

16 years agoUse o_extra instead of o_private
Howard Chu [Thu, 1 May 2008 12:49:35 +0000 (12:49 +0000)]
Use o_extra instead of o_private

16 years agoITS#5490 callback stack may be NULL
Howard Chu [Wed, 30 Apr 2008 23:50:08 +0000 (23:50 +0000)]
ITS#5490 callback stack may be NULL

16 years agoFix prev commit (again) - set in wrong order
Howard Chu [Wed, 30 Apr 2008 18:35:02 +0000 (18:35 +0000)]
Fix prev commit (again) - set in wrong order

16 years ago- removed unneeded copy constructor
Ralf Haferkamp [Wed, 30 Apr 2008 17:43:32 +0000 (17:43 +0000)]
- removed unneeded copy constructor
- handle more AttributeType properties
- additional "const"-ification

16 years agoUse "const" where appropriate
Ralf Haferkamp [Wed, 30 Apr 2008 15:18:28 +0000 (15:18 +0000)]
Use "const" where appropriate

16 years agoFix prev commit
Howard Chu [Wed, 30 Apr 2008 12:52:45 +0000 (12:52 +0000)]
Fix prev commit

16 years agoAvoid queueing response on abandoned psearches
Howard Chu [Tue, 29 Apr 2008 22:09:12 +0000 (22:09 +0000)]
Avoid queueing response on abandoned psearches

16 years agoFix prev cache.c commit
Howard Chu [Tue, 29 Apr 2008 21:44:47 +0000 (21:44 +0000)]
Fix prev cache.c commit

16 years agoMore for ITS#5470, add csns to presence search filter in MMR
Howard Chu [Tue, 29 Apr 2008 01:05:09 +0000 (01:05 +0000)]
More for ITS#5470, add csns to presence search filter in MMR

16 years agoavoid potential deadlock?
Pierangelo Masarati [Mon, 28 Apr 2008 23:26:45 +0000 (23:26 +0000)]
avoid potential deadlock?

16 years agoITS#5451 glue deadlock fix
Howard Chu [Mon, 28 Apr 2008 12:53:04 +0000 (12:53 +0000)]
ITS#5451 glue deadlock fix

16 years agoFix comment typo
Howard Chu [Mon, 28 Apr 2008 11:20:34 +0000 (11:20 +0000)]
Fix comment typo

16 years agoFix delete deadlock
Howard Chu [Mon, 28 Apr 2008 11:17:52 +0000 (11:17 +0000)]
Fix delete deadlock

16 years agocleanup
Pierangelo Masarati [Sat, 26 Apr 2008 15:47:06 +0000 (15:47 +0000)]
cleanup

16 years agoadd mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some...
Pierangelo Masarati [Sat, 26 Apr 2008 15:42:01 +0000 (15:42 +0000)]
add mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some rework; ITS#5466)

16 years agoITS#5484 remove syncop from runq before freeing it
Howard Chu [Thu, 24 Apr 2008 18:35:35 +0000 (18:35 +0000)]
ITS#5484 remove syncop from runq before freeing it

16 years agoFix typo in 1.389
Howard Chu [Thu, 24 Apr 2008 10:19:20 +0000 (10:19 +0000)]
Fix typo in 1.389

16 years agoUpdate to rev -11
Howard Chu [Wed, 23 Apr 2008 11:09:25 +0000 (11:09 +0000)]
Update to rev -11

16 years agoDisclaimer for behavior in a master/slave replication environment
Howard Chu [Wed, 23 Apr 2008 10:58:29 +0000 (10:58 +0000)]
Disclaimer for behavior in a master/slave replication environment

16 years agoITS#5346 overlay_db_open needs to preserve the original *be.
Howard Chu [Wed, 23 Apr 2008 10:31:22 +0000 (10:31 +0000)]
ITS#5346 overlay_db_open needs to preserve the original *be.

16 years agoFor ITS#5346 - reintroduce bd_self pointer (from 2008-03-13)
Howard Chu [Wed, 23 Apr 2008 10:23:00 +0000 (10:23 +0000)]
For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13)

16 years agoForced commit: rev 1.59 is derived from Symas and subject to this Copyright:
Howard Chu [Mon, 21 Apr 2008 22:30:04 +0000 (22:30 +0000)]
Forced commit: rev 1.59 is derived from Symas and subject to this Copyright:

Copyright 2008 Symas Corp.
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public License.

16 years agoForced commit: rev 1.33 is derived from Symas and subject to this Copyright:
Howard Chu [Mon, 21 Apr 2008 22:28:38 +0000 (22:28 +0000)]
Forced commit: rev 1.33 is derived from Symas and subject to this Copyright:

Copyright 2008 Symas Corp.
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public License.

16 years agoClarify ppolicy text
Howard Chu [Mon, 21 Apr 2008 21:44:20 +0000 (21:44 +0000)]
Clarify ppolicy text

16 years agomissing numvals (ITS#5481)
Pierangelo Masarati [Mon, 21 Apr 2008 16:43:50 +0000 (16:43 +0000)]
missing numvals (ITS#5481)

16 years ago(ITS#5479) Pasword Policy docs from Symas
Gavin Henry [Mon, 21 Apr 2008 13:05:30 +0000 (13:05 +0000)]
(ITS#5479) Pasword Policy docs from Symas

16 years agoComplete reorganise of the sections to make it easier to find things and ITS#5476
Gavin Henry [Mon, 21 Apr 2008 12:33:52 +0000 (12:33 +0000)]
Complete reorganise of the sections to make it easier to find things and ITS#5476

16 years agoITS#5470 also ignore presentlist if number of CSNs don't match
Howard Chu [Sat, 19 Apr 2008 23:27:49 +0000 (23:27 +0000)]
ITS#5470 also ignore presentlist if number of CSNs don't match

16 years agofix typo in error message
Pierangelo Masarati [Thu, 17 Apr 2008 20:57:22 +0000 (20:57 +0000)]
fix typo in error message

16 years agofix abstract class inheritance check (ITS#5474)
Pierangelo Masarati [Thu, 17 Apr 2008 20:49:59 +0000 (20:49 +0000)]
fix abstract class inheritance check (ITS#5474)

16 years agoITS#5470 ignore presentlist on partial multimaster refreshes
Howard Chu [Thu, 17 Apr 2008 01:42:40 +0000 (01:42 +0000)]
ITS#5470 ignore presentlist on partial multimaster refreshes

16 years agoRevert prev commit
Howard Chu [Thu, 17 Apr 2008 00:03:06 +0000 (00:03 +0000)]
Revert prev commit

16 years agoITS#5470 don't return any data at all until we have a ctxcsn
Howard Chu [Wed, 16 Apr 2008 10:37:44 +0000 (10:37 +0000)]
ITS#5470 don't return any data at all until we have a ctxcsn

16 years agoFORCED COMMIT: On Unix, ':' gets escaped but not other Windows chars.
Hallvard Furuseth [Wed, 16 Apr 2008 00:29:50 +0000 (00:29 +0000)]
FORCED COMMIT: On Unix, ':' gets escaped but not other Windows chars.
And '/' in the suffix DN now works.

16 years agoFor ITS#5408: Handle special chars in filenames, in particular on Windows.
Hallvard Furuseth [Wed, 16 Apr 2008 00:09:25 +0000 (00:09 +0000)]
For ITS#5408: Handle special chars in filenames, in particular on Windows.

When upgrading, may need to slapcat/slapadd the database if back-ldif
is used as a general backend with chars like ':' or Windows' special
chars in DNs.

16 years agoFor ITS#5408: Cleanup: No functionality change.
Hallvard Furuseth [Tue, 15 Apr 2008 22:30:40 +0000 (22:30 +0000)]
For ITS#5408: Cleanup: No functionality change.
Change dn2path(), get_entry() and move_entry() prototypes/usage.
Remove unused statements/initializations.  get_entry() now returns
a result code, reducing result code handling a bit.

16 years agoFor ITS#5408: back-ldif cannot currently handle multiple database suffixes.
Hallvard Furuseth [Tue, 15 Apr 2008 22:22:38 +0000 (22:22 +0000)]
For ITS#5408: back-ldif cannot currently handle multiple database suffixes.
So make olcDbDirectory SINGLE-VALUE and set SLAP_DBFLAG_ONE_SUFFIX.
Take advantage of that in ldif_back_referrals().

16 years agoITS#5469 check earlier for write waiters
Howard Chu [Tue, 15 Apr 2008 22:17:50 +0000 (22:17 +0000)]
ITS#5469 check earlier for write waiters

16 years agomake pseudoroot-bind-defer TRUE by default (part of ITS#5440 fix)
Pierangelo Masarati [Sat, 12 Apr 2008 11:33:48 +0000 (11:33 +0000)]
make pseudoroot-bind-defer TRUE by default (part of ITS#5440 fix)

16 years agoBDB flags link.
Gavin Henry [Fri, 11 Apr 2008 21:48:35 +0000 (21:48 +0000)]
BDB flags link.

16 years agoCleanup prev commit
Howard Chu [Fri, 11 Apr 2008 12:20:01 +0000 (12:20 +0000)]
Cleanup prev commit

16 years agoITS#5454 regular mutex lock is safe
Howard Chu [Fri, 11 Apr 2008 12:12:06 +0000 (12:12 +0000)]
ITS#5454 regular mutex lock is safe

16 years agominor cleanup
Howard Chu [Fri, 11 Apr 2008 12:05:32 +0000 (12:05 +0000)]
minor cleanup

16 years agoITS#5458 fix error message for missing closing paren
Howard Chu [Thu, 10 Apr 2008 18:36:15 +0000 (18:36 +0000)]
ITS#5458 fix error message for missing closing paren

16 years agoITS#5340 fixes:
Hallvard Furuseth [Thu, 10 Apr 2008 12:54:11 +0000 (12:54 +0000)]
ITS#5340 fixes:
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
  in case the caller reuses the SlapReply without resetting the flags.

16 years agocode cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174
Hallvard Furuseth [Wed, 9 Apr 2008 18:24:22 +0000 (18:24 +0000)]
code cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174

16 years agoITS#5383 use public OID for config schema, no more hiding
Howard Chu [Wed, 9 Apr 2008 15:22:23 +0000 (15:22 +0000)]
ITS#5383 use public OID for config schema, no more hiding

16 years agoITS#5376, #5378 delta-sync should fallback in other cases too
Howard Chu [Wed, 9 Apr 2008 12:01:11 +0000 (12:01 +0000)]
ITS#5376, #5378 delta-sync should fallback in other cases too

16 years agoITS#5409 must reset pagedresults state if no cookie is provided
Howard Chu [Wed, 9 Apr 2008 03:08:38 +0000 (03:08 +0000)]
ITS#5409 must reset pagedresults state if no cookie is provided

16 years agoITS#5455 be sure to reset bei_finders / bei_state
Howard Chu [Wed, 9 Apr 2008 00:12:08 +0000 (00:12 +0000)]
ITS#5455 be sure to reset bei_finders / bei_state

16 years agojust a typo I found when reading.
Gavin Henry [Mon, 7 Apr 2008 17:19:23 +0000 (17:19 +0000)]
just a typo I found when reading.

16 years agojust a typo I found when reading.
Gavin Henry [Mon, 7 Apr 2008 16:05:59 +0000 (16:05 +0000)]
just a typo I found when reading.

16 years agoconstify 1st arg to register_at()/register_at(), needed for config.h rev 1.50
Hallvard Furuseth [Sun, 6 Apr 2008 20:04:10 +0000 (20:04 +0000)]
constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50

16 years agoITS#5454 proposed fix. May still need to change initial trylock to a
Howard Chu [Sat, 5 Apr 2008 00:45:59 +0000 (00:45 +0000)]
ITS#5454 proposed fix. May still need to change initial trylock to a
regular mutex_lock.

16 years agoempty() and size() methods
Ralf Haferkamp [Fri, 4 Apr 2008 10:36:01 +0000 (10:36 +0000)]
empty() and size() methods

16 years agoITS#5450 fully terminate value lists
Howard Chu [Fri, 4 Apr 2008 00:01:02 +0000 (00:01 +0000)]
ITS#5450 fully terminate value lists

16 years agoITS#5419 only Hidden DBs get special treatment
Howard Chu [Thu, 3 Apr 2008 10:04:56 +0000 (10:04 +0000)]
ITS#5419 only Hidden DBs get special treatment

16 years agoFix bogus whitespace from 1.18
Howard Chu [Thu, 3 Apr 2008 09:48:39 +0000 (09:48 +0000)]
Fix bogus whitespace from 1.18

16 years agoITS#5437, #5444 add entry to consumer
Howard Chu [Thu, 3 Apr 2008 08:55:15 +0000 (08:55 +0000)]
ITS#5437, #5444 add entry to consumer

16 years agodefine LDIFADD1
Howard Chu [Thu, 3 Apr 2008 08:52:35 +0000 (08:52 +0000)]
define LDIFADD1

16 years agoadd dn: prefix to allow use with ldapmodify
Howard Chu [Thu, 3 Apr 2008 08:51:31 +0000 (08:51 +0000)]
add dn: prefix to allow use with ldapmodify

16 years agoShould accept regular LDIF input
Howard Chu [Thu, 3 Apr 2008 08:50:19 +0000 (08:50 +0000)]
Should accept regular LDIF input

16 years agoITS#5437, #5444 if numcsns don't match, set changed flag
Howard Chu [Thu, 3 Apr 2008 08:43:48 +0000 (08:43 +0000)]
ITS#5437, #5444 if numcsns don't match, set changed flag

16 years agoITS#5439 fix ID_NOCACHE handling
Howard Chu [Thu, 3 Apr 2008 08:02:11 +0000 (08:02 +0000)]
ITS#5439 fix ID_NOCACHE handling

16 years agoITS#5442 slapd_rq mutexes must always be used
Howard Chu [Wed, 2 Apr 2008 03:08:06 +0000 (03:08 +0000)]
ITS#5442 slapd_rq mutexes must always be used

16 years agoSASL support for LDAPConnection
Ralf Haferkamp [Tue, 1 Apr 2008 16:35:42 +0000 (16:35 +0000)]
SASL support for LDAPConnection

16 years agofix bitwise test (ITS#5445)
Pierangelo Masarati [Mon, 31 Mar 2008 16:58:03 +0000 (16:58 +0000)]
fix bitwise test (ITS#5445)