Pierangelo Masarati
6f182a7547
make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup
2004-11-27 15:08:24 +00:00
Howard Chu
38b430be3c
Fix prev commit
2004-11-27 11:50:54 +00:00
Howard Chu
b4eceddb52
Add slap_find_control_id
2004-11-27 11:45:07 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00
Howard Chu
6bbca5e368
Now that we have a fixed number of slots for controls, don't bother
...
realloc'ing slap_known_controls.
2004-11-23 14:42:04 +00:00
Howard Chu
47dd8d8732
Dynamic control management
2004-11-23 13:08:45 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Pierangelo Masarati
39195e48a3
minor cleanup
2004-09-27 23:04:34 +00:00
Pierangelo Masarati
d026e2c9f7
preformat "conn=%lu op=%lu"
2004-09-26 23:00:00 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
429be3c137
Add FIXME comment regarding improper return of unavailableCriticalExtension
...
Misc Clean.
2004-08-28 13:45:53 +00:00
Pierangelo Masarati
809e623cd9
add paged results support to back-ldap
2004-08-24 09:19:33 +00:00
Pierangelo Masarati
528b6c7e25
clear pagedresults_state if reusing an inactive connection; prepare for more consistent behavior of pagedResults control
2004-06-21 21:31:55 +00:00
Pierangelo Masarati
5ff789e379
fix pagedResults dangling pointer in parsing cookie (ITS#3089)
2004-06-21 17:49:03 +00:00
Pierangelo Masarati
a317f01dc1
improve pagedResults ignoring (hopefully)
2004-06-16 15:26:21 +00:00
Kurt Zeilenga
0ae37bd468
Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
...
the lastmod command will fail. To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Pierangelo Masarati
c0490482d6
ignore the control if page is larger than requested sizelimit (as per RFC)
2004-06-12 17:37:37 +00:00
Kurt Zeilenga
5a7f9858fe
cleanup
2004-05-24 23:23:50 +00:00
Kurt Zeilenga
13c70ed410
fix up error handling, including disallowing sync+pagedResults combinations.
2004-05-15 19:26:48 +00:00
Pierangelo Masarati
2e09e645ba
promoted proxyAuthz to STATS log level
2004-05-13 22:47:24 +00:00
Pierangelo Masarati
08a8e7b8c3
empty ID should be fine according to draft-weltman-ldapv3-proxy
2004-05-13 20:18:37 +00:00
Pierangelo Masarati
7be90a7ddf
remove unused structure member ps_id
2004-04-17 15:01:13 +00:00
Pierangelo Masarati
c846d75b8b
lots of cleanup
2004-04-13 16:47:23 +00:00
Pierangelo Masarati
fadf3398d4
honor size limits when using paged results
2004-04-09 11:44:28 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
a2b2dfd461
Hide noop control until published and code is updated.
2004-03-18 04:06:20 +00:00
Luke Howard
d249714033
s/SERVER_SEARCH_FLAG/SEARCH_FLAG
2004-03-09 14:12:34 +00:00
Luke Howard
87a02dbb14
Support server search flag control as alias for permissive modify
...
Recognise tree delete control - needs backend support
2004-03-09 14:05:01 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
8aaaad0dd7
Revert to simple authzID behavior
2003-12-23 14:27:54 +00:00
Kurt Zeilenga
3eb5337020
Make modify/increment conditional
2003-12-17 21:42:48 +00:00
Pierangelo Masarati
f2a9089e4d
cleanup most of the -pedantic warnings (ITS#2884) and other small fixes
2003-12-17 20:55:46 +00:00
Pierangelo Masarati
ee34f3fb64
add to 'val[.<style>=<value>' ACLs special match styles for DN-valued attributes; add negated objectClass to attribute name lists for ACLs and partial replication
2003-12-16 00:49:10 +00:00
Pierangelo Masarati
bc972e0656
allow 'AUTHZ' mech in proxyAuthz control to allow also the <mech> part of the 'u:' user
2003-12-15 18:19:14 +00:00
Pierangelo Masarati
4602c935f7
saslAuthzTo/From stuff
...
when comparing IDs to saslAuthzTo/From values, the saslAuthzTo
saslAuthzFrom values can take different forms:
dn[.<style>]:<pattern>
<style> ::= exact ; exact match
children ; children of <pattern> match
subtree ; <pattern> or children of <pattern> match
regex ; <pattern> is regcomp() & regexec()
if no <style>, then exact is assumed
u[.<mech>][/<realm>]:<user>
when parsing a proxyAuthz value, only exact DN is allowed,
and no <mech> can be specified. <user> cannot contain ':'
and <mech> cannot contain '/'.
2003-12-13 23:02:59 +00:00
Kurt Zeilenga
38ccdaf7a3
unifdef -DLDAP_CONTROL_PAGEDRESULTS (as it is always defined)
2003-12-08 18:16:07 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Kurt Zeilenga
21796e671a
Don't assume offsetof(foo,firstelement) is zero
2003-11-19 18:04:49 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
a9a28794bd
Hide experimental controls
2003-09-19 18:38:35 +00:00
Kurt Zeilenga
99f968b597
Initial support for pre/post read controls.
...
TODO:
Fix transactional consistency
Add client response control handling
2003-09-16 18:56:04 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Kurt Zeilenga
b54780f940
Add initial support for modify/increment. No over/under flow detection.
...
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Hallvard Furuseth
6b37465d94
Fix printf format in debug output.
2003-06-11 15:50:25 +00:00
Kurt Zeilenga
3ca2a91ae1
Assertion control with no backend support (yet)
2003-06-10 02:19:30 +00:00