Howard Chu
0ba50a1d06
ITS#8843 check for NULL modlist
2018-05-02 16:51:49 +01:00
Quanah Gibson-Mount
f32384ef44
ITS#8840 Fix domainScope control to ensure the control value is absent as per Microsoft specification ( https://msdn.microsoft.com/en-us/library/aa366979%28v=vs.85%29.aspx ).
2018-04-30 17:33:22 +00:00
Quanah Gibson-Mount
59e9ff6243
Happy New Year
2018-03-22 15:35:24 +00:00
Howard Chu
8300eee017
back-mdb Multival fixes
...
Fix multival logic on Replace
Fix return codes from modify_internal, id2entry_put
2018-02-28 22:37:38 +00:00
Howard Chu
08851a8200
ITS#8789 revert previous patch
...
And try another approach. Always write contextCSN updates, but
don't set dont_replicate for updates we want propagated.
2018-02-28 22:19:57 +00:00
Howard Chu
e0cc94a0b7
ITS#8789 avoid unnecessary writes of context entry
...
If syncprov is present, only write contextCSN attribute on
actual state changes, not on per-entry modifications.
Continue to update in-memory cookieState. Saves overhead,
syncprov will eventually checkpoint it into the DB anyway.
2018-02-21 19:51:59 +00:00
Howard Chu
434c306cbe
Add debug msg if adding entry to logDB fails
2018-02-21 19:50:45 +00:00
Howard Chu
9fc6b894ec
ITS#8752 accesslog: partially revert 3bb8b737ed
2018-02-21 19:48:02 +00:00
Howard Chu
dc3b3be429
ITS#8486 Don't keep sl_mutex locked when playing the sessionlog
2018-02-11 16:47:47 +00:00
Howard Chu
0c1ebd178c
ITS#8801 Fix CSN queue processing
2018-02-08 00:18:00 +00:00
Howard Chu
4d1077ffa4
ITS#8800 remove originator check in syncprov_search_response
...
Let the entryCSN check do all the work. Reloading a server from an old
backup needs this to go thru.
2018-02-08 00:17:07 +00:00
Howard Chu
0eb577632f
ITS#8607 Don't record checkpoints
2018-02-08 00:16:50 +00:00
Howard Chu
ca7f697e14
ITS#8100 fixes for delta-syncrepl with empty accesslog
...
Update syncprov contextCSNs when context entry is added.
Fix accesslog to properly tag Add op when adding context entry.
2018-01-30 21:40:05 +00:00
Ondřej Kuzník
52f7daab01
ITS#8796 Fix SSF reset
...
Maintain the SSF across SASL binds.
2018-01-15 16:58:58 +00:00
Hallvard Furuseth
57253688b3
ITS#8778 Fix telephoneNumberNormalize("-" or " ")
2017-11-26 21:22:23 +01:00
Quanah Gibson-Mount
c5b73dd85b
ITS#6300 -- Update for multi-listener support
2017-10-19 14:55:01 -07:00
Bryan Duncan
a25046535c
ITS #6300 : Added support for using kqueue in slapd (for systems that support kqueue(2).
...
Patch obtained from:
http://public.me.com/bryan.duncan/bryan-duncan.kqueue.090922.patch
# This patch file is derived from OpenLDAP Software. All of the
# modifications to OpenLDAP Software represented in the following
# patch(es) were developed by Apple. I, Bryan Duncan, am authorized by
# Apple, my employer, to release this work under the following terms.
#
# Copyright 2009 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted only as authorized by the OpenLDAP
# Public License.
#
# A copy of this license is available in file LICENSE in the
# top-level directory of the distribution or, alternatively, at
# http://www.OpenLDAP.org/license.html .
#
2017-10-19 14:54:50 -07:00
Howard Chu
3bb8b737ed
ITS#8752 accesslog: cleanup should only be called on failures
2017-10-14 11:22:53 +01:00
Howard Chu
03ee55d725
Revert "ITS#8752 ppolicy: don't call same cleanup twice"
...
This reverts commit 1c963f4739
.
Revert "ITS#8752 make sure all cleanups are called in overlay_op_walk"
This reverts commit b0ad788b8a
.
2017-10-13 18:47:25 +01:00
Howard Chu
1c963f4739
ITS#8752 ppolicy: don't call same cleanup twice
...
fallout from b0ad788b8a
2017-10-13 17:39:37 +01:00
Howard Chu
0d7489b908
ITS#8752 fix syncrepl deadlock from updateCookie
...
Must release cookieState->cs_mutex before invoking backend.
Add a condvar to serialize calls of updateCookie, so we can
release the mutex and still update sequentially.
Also added tid logging, useful in conjunction with
7ab0e1aff0cc48cdfb299ca7dbd27900a9e3d1a8
2017-10-13 17:28:57 +01:00
Howard Chu
4a574324fd
ITS#8752 additional debug info, thread ID of rmutex lockers
2017-10-13 17:28:46 +01:00
Howard Chu
b0ad788b8a
ITS#8752 make sure all cleanups are called in overlay_op_walk
2017-10-13 17:28:38 +01:00
Howard Chu
065b315f0d
fix syncprov_qtask race, test062 crashes
...
Keep s_mutex locked until we know we're removed from queue.
Remember qtask cookie so we can retract if ineeded when deleting
the overlay from running slapd.
config_delete is still unsafe, overlay_remove is running with active
threadpool instead of paused pool.
2017-10-13 17:28:28 +01:00
Josh Soref
10566c8be3
ITS#8605 - spelling fixes
...
* javascript
* kernel
* ldap
* length
* macros
* maintained
* manager
* matching
* maximum
* mechanism
* memory
* method
* mimic
* minimum
* modifiable
* modifiers
* modifying
* multiple
* necessary
* normalized
* objectclass
* occurrence
* occurring
* offered
* operation
* original
* overridden
* parameter
* permanent
* preemptively
* printable
* protocol
* provider
* really
* redistribution
* referenced
* refresh
* regardless
* registered
* request
* reserved
* resource
* response
* sanity
* separated
* setconcurrency
* should
* specially
* specifies
* structure
* structures
* subordinates
* substitution
* succeed
* successful
* successfully
* sudoers
* sufficient
* superiors
* supported
* synchronization
* terminated
* they're
* through
* traffic
* transparent
* unsigned
* unsupported
* version
* absence
* achieves
* adamson
* additional
* address
* against
* appropriate
* architecture
* associated
* async
* attribute
* authentication
* authorized
* auxiliary
* available
* begin
* beginning
* buffered
* canonical
* certificate
* charray
* check
* class
* compatibility
* compilation
* component
* configurable
* configuration
* configure
* conjunction
* constraints
* constructor
* contained
* containing
* continued
* control
* convenience
* correspond
* credentials
* cyrillic
* database
* definitions
* deloldrdn
* dereferencing
* destroy
* distinguish
* documentation
* emmanuel
* enabled
* entry
* enumerated
* everything
* exhaustive
* existence
* existing
* explicitly
* extract
* fallthru
* fashion
* february
* finally
* function
* generically
* groupname
* happened
* implementation
* including
* initialization
* initializes
* insensitive
* instantiated
* instantiation
* integral
* internal
* iterate
2017-10-11 14:39:38 -07:00
Quanah Gibson-Mount
fd5ad3ef39
ITS#8527 - Add additional debug logging on consumer/provider state when the consumer has a newer cookie than the provider
2017-10-11 14:32:25 -07:00
Ondřej Kuzník
3258bf40eb
ITS#8291 Reopen cursor after delete
2017-10-11 14:32:08 -07:00
Emmanuel Lécharny
77408ac781
ITS#8153 - olcTimeLimit should be Single Value
2017-10-11 14:31:51 -07:00
Ivan Nejgebauer
cb9a4d01bc
ITS#8037 - Add support for relax control to delta-syncrepl
2017-10-11 14:31:45 -07:00
Michael Ströder
636b63b5fd
ITS#8692 let back-sock generate increment: line in case of LDAP_MOD_INCREMENT (see RFC 4525, section 3)
2017-10-11 13:04:38 -07:00
sca+openldap@andreasschulze.de
90835da72f
ITS#8578 - remove unused-variables in RE24 testing call (2.4.45)
2017-10-06 10:45:08 -07:00
Nadezhda Ivanova
da170cbe3b
ITS#8404 Fix an assertion failure during modify of olcDbRewrite in back-meta
2017-10-06 10:44:54 -07:00
Ted C. Cheng
e20ac6b539
ITS#7520 - back-ldap omit-unknown-schema changes
2017-10-06 10:44:31 -07:00
Ondřej Kuzník
08492987a0
ITS#7100 Update entryTtl behaviour to match RFC 2589
2017-10-06 10:43:48 -07:00
Howard Chu
70e54d2527
ITS#8752 fix syncrepl null_callback
...
Make sure it's last in callback stack
2017-10-05 22:13:39 +01:00
Quanah Gibson-Mount
0d4cd89786
LDAP_FEATURE_SUBORDINATE_SCOPE is from expired draft-sermersheim-ldap-subordinate-scope, leave behind LDAP_DEVEL
2017-09-26 11:51:27 -07:00
Quanah Gibson-Mount
30e2a904dc
Move a bunch of featuers back behind LDAP_DEVEL for 2.5
...
SLAP_AUXPROP_DONTUSECOPY is ok for release
2017-09-26 11:35:50 -07:00
Quanah Gibson-Mount
86105092bd
CHECK_CSN is a debug only flag for testing. It should always remain
...
behind LDAP_DEVEL
2017-09-26 11:30:50 -07:00
Quanah Gibson-Mount
a9ff0e97fc
ITS#6817 - back-meta work for SLAP_AUTH_DN was never finished according
...
to the ITS notes. In addition, this would need man page updates for the
feature
2017-09-26 11:27:15 -07:00
Quanah Gibson-Mount
41a9010773
The support for unindexed attributes being tracked in back-monitor needs
...
to remain behind LDAP_DEVEL for now. Right now, the mutex in
back-monitor cannot properly handle the load if the server had a lot
of unindexed attributes that were being accessed in search filters.
2017-09-26 11:04:45 -07:00
Quanah Gibson-Mount
7246da8a66
Whitespace cleanup
2017-09-26 10:33:01 -07:00
Quanah Gibson-Mount
04cfd144d9
Fix additional compile for /dev/poll support. /dev/poll is neither tested nor supported.
2017-09-22 12:05:18 -07:00
Quanah Gibson-Mount
2085def079
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
2017-09-19 15:21:56 -07:00
Quanah Gibson-Mount
09bec057e5
Fix calls to SLAP_DEVPOLL_SOCK_LX for multi-listener support. Support
...
for /dev/poll is neither enabled nor tested, so other issues may exist.
2017-09-19 15:20:56 -07:00
Howard Chu
20e46d8494
ITS#8725 fix 75999a18c3
...
Not needed since callback uses tmpalloc
2017-09-08 21:36:05 +01:00
Nadezhda Ivanova
82737719c8
ITS#8725 Always remove listener descriptors from daemon on shutdown
2017-09-08 19:43:59 +01:00
Howard Chu
db3909d27d
ITS#8725 add slap_sl_mark / slap_sl_release
...
For fast cleanup after constructing disposable entries
2017-09-08 17:39:22 +01:00
Howard Chu
68e064ca84
ITS#8725 Avoid listener thread startup race
...
Typically only shows up under valgrind, not in regular runs
2017-09-08 17:39:22 +01:00
Howard Chu
8b1fb962fc
ITS#8725 connection fixes
...
Fix op_finish, must resched connection to pick up pending ops.
Fix op completion counter.
2017-09-08 17:39:14 +01:00
Howard Chu
63308ef6bb
ITS#8725 backover fixes for async
...
Fix some valgrind race conditions - wait for frontend to finish up
Don't set callbacks for abandon or unbind - since they have no response
Use tmpalloc for backover callback
2017-09-08 17:25:55 +01:00