Howard Chu
8ac19f0847
ITS#4917 preserve old sat_ad_mutex
2007-04-24 12:02:53 +00:00
Howard Chu
8033f476f4
Disallow runtime delete of modload values
2007-04-24 11:46:22 +00:00
Kurt Zeilenga
f810e6ed41
Distinguish absent control value from empty control value.
2007-04-20 22:32:58 +00:00
Pierangelo Masarati
b013847111
fix ';binary' certificate transport (ITS#4868); add cert to sql-test000 (mysql; psql untested)
2007-04-12 01:02:01 +00:00
Pierangelo Masarati
a01d9f961d
fix no-op crasher (ITS#4925)
2007-04-11 20:31:49 +00:00
Howard Chu
bfa0d15834
Fix prev commit, filter construction with URI filters
2007-04-10 02:38:54 +00:00
Hallvard Furuseth
1c87542ea1
Add missing return from void *bdb_tool_trickle_task()
2007-04-09 22:45:21 +00:00
Howard Chu
87466fc7c8
Add trickle-sync for quick mode
2007-04-07 06:10:01 +00:00
Howard Chu
97d0de6c1f
ITS#4915 log failure retry status
2007-04-06 01:16:55 +00:00
Howard Chu
0c2d84819d
Fix prev commit, config_obsolete
2007-04-06 00:31:08 +00:00
Howard Chu
a2405e0a7e
Axe slurpd / replog support
2007-04-06 00:21:02 +00:00
Howard Chu
3d1fe19acc
slurpd is strongly deprecated
2007-04-05 23:20:04 +00:00
Ralf Haferkamp
d06a8bd198
olcDatabase=config always gets index 0,
...
don't allow multiple olcDatabase=config entries (ITS#4914)
2007-04-05 16:12:24 +00:00
Howard Chu
75e1f0ef68
ITS#4911 move slap_op_init/destroy to slap_init/destroy
2007-04-05 01:39:24 +00:00
Howard Chu
a5363815fd
Fix uninit'd serverID field
2007-04-05 01:03:02 +00:00
Hallvard Furuseth
8e5beab1e8
printf %p expects void*
2007-04-04 17:49:31 +00:00
Hallvard Furuseth
e4a87ee27c
Fix char* = const char* (text = sr->sr_text)
2007-04-04 17:48:25 +00:00
Ralf Haferkamp
cb207b846a
Moved the check for existing monitor database to the top, otherwise trying
...
to add multiple monitor databases through back-config deadlocks the server.
2007-04-04 17:14:09 +00:00
Howard Chu
64000c5fc7
ITS#4904 fix delta-sync modlist free
2007-04-02 21:22:43 +00:00
Howard Chu
63bef22335
Cleanup conditional arg in prev commit
2007-03-31 00:40:22 +00:00
Ralf Haferkamp
726146da59
use slap_add_opattrs as discussed on -devel.
2007-03-30 18:39:33 +00:00
Ralf Haferkamp
c6743b5a82
Add operational Attributes when creating frontend and config database entries.
...
(Otherwise test049-sync-config fails)
2007-03-29 15:39:52 +00:00
Ralf Haferkamp
7491b3ff2a
Create frontend and config database entries automatically during slapadd
2007-03-29 14:45:44 +00:00
Hallvard Furuseth
4667f18253
Do not end a potentially last line of a Makefile statement with '\'.
2007-03-26 22:16:45 +00:00
Howard Chu
c6df30118f
ITS#4893 fix prev commit
2007-03-25 12:18:06 +00:00
Howard Chu
7cdfd72cc0
More struct cleanup
2007-03-25 11:37:51 +00:00
Howard Chu
7426ab07fc
ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
...
be sent to transmit client credentials. Buffer the message data.
2007-03-25 04:40:22 +00:00
Howard Chu
49d708fae3
Preliminary GNUtls support. gnutls.c will merge back into tls.c later.
2007-03-23 23:47:07 +00:00
Pierangelo Masarati
78d8d6e06d
add support for pagedResults to back-sql (ITS#4888)
2007-03-22 23:10:56 +00:00
Pierangelo Masarati
18fc3548cd
fix test in case of bailout (ITS#4891)
2007-03-22 22:30:53 +00:00
Howard Chu
d9958cbdbe
Enhanced unique configuration
2007-03-22 08:22:53 +00:00
Howard Chu
0752716d80
Remove obsolete purge (obsoleted in cache.c rev 1.106)
2007-03-22 07:35:10 +00:00
Pierangelo Masarati
226133ea38
don't add databases twice; but try as hard as possible...
2007-03-21 23:22:49 +00:00
Pierangelo Masarati
d0fe3b0890
allow adding of back-bdb with monitoring on (ITS#4789)
2007-03-21 22:35:37 +00:00
Pierangelo Masarati
3c6e50b4c7
cleanup
2007-03-21 22:33:50 +00:00
Pierangelo Masarati
d0e6e17b89
cleanup after sending entry
2007-03-21 22:33:09 +00:00
Pierangelo Masarati
ac96ba3131
fix ITS#4883
2007-03-21 16:33:38 +00:00
Pierangelo Masarati
4a73490186
improve previous commit (check result of structural_class())
2007-03-21 09:51:11 +00:00
Pierangelo Masarati
c36904bda5
exploit inheritance in add (ITS#4884): passes all tests; modify may need work. Please review
2007-03-21 00:57:20 +00:00
Pierangelo Masarati
bf2d5729ae
more structure name cleanup
2007-03-20 17:09:24 +00:00
Pierangelo Masarati
639d678592
cleanup struct declarations
2007-03-20 01:07:10 +00:00
Pierangelo Masarati
a6e232e7c1
add uptime monitoring (in seconds)
2007-03-19 21:39:43 +00:00
Pierangelo Masarati
93f338eb79
cleanup
2007-03-19 15:50:51 +00:00
Pierangelo Masarati
6420bcd7d7
restore op before checking result (and, if necessary, bailing out)
2007-03-19 15:50:28 +00:00
Pierangelo Masarati
98fe6a81a0
handle r_dn == r_ndn
2007-03-19 15:44:58 +00:00
Pierangelo Masarati
2ad757793d
make sure unsigned time_t doesn't hurt (follow-on to ITS#4872)
2007-03-17 14:45:41 +00:00
Pierangelo Masarati
9be22e18bf
remove lint (ITS#4878)
2007-03-17 14:22:44 +00:00
Pierangelo Masarati
71c93265e2
fix ITS#4874
2007-03-15 01:07:19 +00:00
Pierangelo Masarati
a28eb7817a
fix cleanup
2007-03-14 01:05:42 +00:00
Pierangelo Masarati
8e8633b241
add support for binary attributes (ITS#4868)
2007-03-13 00:34:37 +00:00
Howard Chu
0d5a53815a
Don't generate schema entries for include files that didn't define schema
...
elements. Use proper directory separator on Windows
2007-03-12 22:47:43 +00:00
Pierangelo Masarati
f0a7cee642
remove lint (ITS#4865)
2007-03-11 17:46:46 +00:00
Pierangelo Masarati
fd1efa13d0
fix previous commit (ITS#4861)
2007-03-09 17:24:56 +00:00
Pierangelo Masarati
6a9c44849c
check consistency of referrals and result code (ITS#4861)
2007-03-08 17:57:49 +00:00
Pierangelo Masarati
d07f85fc91
fix subtree shortcut (ITS#4856)
2007-03-05 19:39:32 +00:00
Pierangelo Masarati
f88449bcba
fix str2anlist handling of undefined objects (ITS#4854)
2007-03-05 16:18:41 +00:00
Pierangelo Masarati
5d00861860
Solaris doesn't like NULL pointers in printf, which now can occur since IA5string allows the empty string
2007-02-26 23:57:34 +00:00
Pierangelo Masarati
18b1fd4e5f
Solaris doesn't like NULL pointers in printf, which now can occur since IA5string allows the empty string
2007-02-26 20:38:20 +00:00
Pierangelo Masarati
2271fb4636
detect braindead entries (e.g. from back-perl, ITS#4845,ITS#4852)
2007-02-26 09:50:19 +00:00
Howard Chu
4ae77ae266
ITS#4851 retry if opening a supposedly clean shared memory env fails
2007-02-24 20:18:56 +00:00
Pierangelo Masarati
5ed0fc3749
re-fix previus commit the other way 'round (rids are < 1000)
2007-02-24 18:29:55 +00:00
Pierangelo Masarati
b0f63112be
fix type/format mismatch
2007-02-24 18:00:46 +00:00
Howard Chu
0b70e471f0
Fix prev commit
2007-02-24 17:34:40 +00:00
Howard Chu
df3da23811
ITS#4848 better config context tracking
2007-02-24 17:24:48 +00:00
Pierangelo Masarati
e5ebfe6662
improve async connect handling in case of errors
2007-02-21 22:22:14 +00:00
Pierangelo Masarati
34fde82589
fix in-directory retcode lookup
2007-02-21 14:17:25 +00:00
Pierangelo Masarati
d130b7422f
this should never occur, but in case keep it readable
2007-02-20 23:08:09 +00:00
Pierangelo Masarati
9555065fea
only fetch user if and as soon as required by filter
2007-02-17 17:35:11 +00:00
Pierangelo Masarati
814e6a305f
extensibleObject allows all
2007-02-17 17:31:45 +00:00
Howard Chu
06212e9de9
Plug leaks
2007-02-16 02:22:24 +00:00
Kurt Zeilenga
5953a397fc
Fix C errors
2007-02-15 01:41:56 +00:00
Ralf Haferkamp
663d3bdf07
bdb-Database need objectclass "olcBdbConfig", removed double quotes from DNs
2007-02-14 16:16:08 +00:00
Howard Chu
9b6f1edf9e
ITS#4830 move -lltdl earlier in link order
2007-02-14 15:28:57 +00:00
Howard Chu
e28627f1e2
Added "slapd" rewrite map handler, connection_fake_init2 to use existing
...
tmpmemctx without reinitializing
2007-02-14 08:51:47 +00:00
Howard Chu
7dc2199bfd
Fix rev 1.312
2007-02-14 00:08:26 +00:00
Pierangelo Masarati
4e75fa6345
cleanup
2007-02-13 23:34:42 +00:00
Pierangelo Masarati
5d31a6247c
minor fixes...
2007-02-13 23:33:54 +00:00
Howard Chu
59d4b38a7c
syncinfo_free must be able to free multiple syncinfos
2007-02-13 14:35:53 +00:00
Howard Chu
f649d8a29c
Cleanup si_ctxcsn and si_sids in db_destroy
2007-02-13 13:40:56 +00:00
Howard Chu
52aabd2d21
Coverity deadcode
2007-02-13 11:21:27 +00:00
Howard Chu
3eb81978f3
Coverity leak
2007-02-13 11:10:36 +00:00
Howard Chu
ab2a55d222
Coverity error
2007-02-13 11:03:41 +00:00
Howard Chu
aa19286296
Coverity scan - saved attr may not exist for a Replace
2007-02-13 11:03:16 +00:00
Howard Chu
2bdc0819b4
Fix attribute deletion
2007-02-12 01:01:01 +00:00
Howard Chu
e7c5b684d0
Rework module_unload API
2007-02-11 23:01:08 +00:00
Howard Chu
a031b99546
Fix prev commit
2007-02-11 14:37:21 +00:00
Howard Chu
f2355e91e0
Unconditionalize gmtime_mutex, always use it when calling lutil_csnstr
2007-02-11 13:52:55 +00:00
Howard Chu
762170350f
Coverity - fix IPv6 addr parsing
2007-02-11 11:56:33 +00:00
Howard Chu
782b17eb56
Coverity scan errors
2007-02-11 11:39:00 +00:00
Pierangelo Masarati
a904cc015c
fix crash related to ITS#4839; other issues seem to presist
2007-02-10 10:55:05 +00:00
Howard Chu
ba96ad0b90
Revert memberURL back to STRUCTURAL - test044 breaks otherwise
2007-02-09 18:58:24 +00:00
Howard Chu
b6273ef28a
ITS#4833 refix
2007-02-09 18:49:38 +00:00
Howard Chu
10a0900e2e
Fix prev commit, cleanup fakeroot entry before freeing
2007-02-09 17:39:49 +00:00
Howard Chu
94e7e3ba57
Fix prev commit, free fakeroot on teardown
2007-02-09 17:30:23 +00:00
Howard Chu
2d3c48ccd5
ITS#4838 fix fake root handling broken by prev commit
2007-02-09 17:23:00 +00:00
Howard Chu
fb583c3071
Revert prev commit
2007-02-08 10:29:40 +00:00
Howard Chu
57c5bbf7e4
Just use a readlock in cache loader
2007-02-08 09:27:35 +00:00
Howard Chu
0c25783cee
use dn2id index for extended filters using entryDN
2007-02-08 06:43:28 +00:00
Howard Chu
810ff9ec9d
ITS#4835 add disclaimers about these definitions, use Auxiliary
2007-02-08 02:41:56 +00:00
Howard Chu
113c25598e
Add pointer to an existing document since the netscape.com URLs are dead.
2007-02-08 01:54:32 +00:00
Howard Chu
73eda09be3
Fix entry ordering in config_build_entry
2007-02-07 16:06:41 +00:00
Howard Chu
4642c21f65
ITS#4833 fix olcDatabase index offset
2007-02-07 16:00:03 +00:00
Howard Chu
b278a8967a
Fix redundant frees
2007-02-07 15:09:30 +00:00
Howard Chu
290344e683
ITS#4752 add undo for schema entries.
2007-02-07 14:57:02 +00:00
Howard Chu
4e4356cf2c
Fix redundant frees
2007-02-07 14:54:57 +00:00
Howard Chu
b06eeff43b
ITS#4752 try to undo failed Modifies
2007-02-07 11:42:23 +00:00
Howard Chu
c5b33893f0
Fix fetching of initial contextCSN, updating from syncprov
2007-02-07 06:26:22 +00:00
Howard Chu
9d86bf253f
Improve prev commit
2007-02-07 02:49:40 +00:00
Howard Chu
3fbcfa797e
Re-fix ITS#4720, use rwlock
2007-02-07 01:08:54 +00:00
Howard Chu
04f46aa880
ITS#4832 fix unint'd var
2007-02-07 00:41:15 +00:00
Howard Chu
3f20aa245f
Partially revert prev commit, delete unused parameter, fix psearch response
2007-02-06 05:58:01 +00:00
Howard Chu
1403491288
Fixes for glue and persist chaining
2007-02-06 05:29:00 +00:00
Howard Chu
9467269cef
ITS#4623, entry_get has to pass thru glue layer too
2007-02-06 04:19:56 +00:00
Howard Chu
9381fc42a5
Add overlay hooks for entry_get_rw / entry_release_rw
2007-02-06 04:18:14 +00:00
Howard Chu
578a2b0db4
Default to no sid in initial cookie
2007-02-06 01:19:06 +00:00
Howard Chu
448f584fe5
Fix typo
2007-02-06 01:18:17 +00:00
Howard Chu
4067b97cf4
Add equality match for olcSyncrepl
2007-02-06 00:22:49 +00:00
Howard Chu
d87d11eb09
Add a debug message when skipping an old entry.
2007-02-06 00:06:09 +00:00
Howard Chu
21e4eb3dcc
Fix prev commit - cannot shortcut initial sync
2007-02-05 23:54:07 +00:00
Howard Chu
250cbd286a
Optimization: send sid in cookie to avoid getting our changes sent
...
back to us.
2007-02-05 23:10:22 +00:00
Howard Chu
4e193bc5cb
Fix typos
2007-02-05 12:39:37 +00:00
Howard Chu
5f1fdfa515
Fix prev commit
2007-02-05 11:23:50 +00:00
Howard Chu
b5d8341569
Add timeout / network timeout to bindconf
2007-02-05 11:03:59 +00:00
Howard Chu
2432378de8
Fix compare_csns to accept new cookie when there are more CSNs than
...
we knew about before
2007-02-05 11:03:36 +00:00
Howard Chu
55b29bedf8
Fix prev commit, don't generate a new ctxcsn if we're a consumer with
...
an empty DB
2007-02-05 09:19:46 +00:00
Howard Chu
42aca03eea
Fix typos
2007-02-05 07:55:24 +00:00
Howard Chu
d57ad4f3c0
More for contextCSN checks
2007-02-05 07:36:07 +00:00
Howard Chu
36571123ca
Fix prev commit
2007-02-05 06:47:32 +00:00
Howard Chu
f41343aa21
Add entryCSN comparison for consistency check
2007-02-05 06:07:27 +00:00
Howard Chu
9320f002e3
Fix prev commit, doesn't need permissive modify
2007-02-05 05:59:43 +00:00
Howard Chu
21b49a09e7
Use permissive modify on contextCSN
2007-02-05 05:25:13 +00:00
Howard Chu
fffaea79eb
Preliminary multi-context support for syncrepl. Passes all single-master
...
tests, needs multi-master testing.
2007-02-05 04:50:07 +00:00
Howard Chu
7d2a744acf
Fix prev commit
2007-02-04 00:16:54 +00:00
Howard Chu
51549d2e5d
Add olcServerID for configuring serverID portion of CSN
2007-02-04 00:02:38 +00:00
Howard Chu
0787d0c434
Always initialize global_host
2007-02-03 02:53:10 +00:00
Howard Chu
4b1bb81452
Add lutil_gettime() returning structured time with microseconds. Use
...
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Pierangelo Masarati
5509c20961
keep SlapReply clean (ITS#4828)
2007-02-01 21:58:48 +00:00
Howard Chu
8b43a8475f
Fix ITS#4827, was losing the entryCSN mod.
2007-02-01 05:21:21 +00:00
Howard Chu
384979a07d
Note for future - we should provide macros for all of the syntaxes
...
listed in RFC4517 and just let users use them.
2007-01-31 11:35:20 +00:00
Howard Chu
9fc2268c73
Allow identical duplicate OID macro definitions. Makes it harmless
...
if multiple schema files declare the same macros for common syntax OIDs.
2007-01-31 11:26:04 +00:00
Howard Chu
6d0c164753
More for syncrepl support
2007-01-30 07:29:11 +00:00
Howard Chu
51e58c671e
Fix q[-1] ref in prev commit
2007-01-29 23:56:59 +00:00
Howard Chu
67f16caec0
ITS#4823 allow zero-length IA5String
2007-01-29 04:39:54 +00:00
Pierangelo Masarati
ff9b674899
cleanup back-meta according to back-ldap
2007-01-28 00:53:11 +00:00
Pierangelo Masarati
917ae32030
more about quarantine separation
2007-01-28 00:31:47 +00:00
Pierangelo Masarati
e07dc8c757
fix more spurious return stuff; split quarantine in: detection, exploitation, recovery; describe failure reasons
2007-01-28 00:24:10 +00:00
Pierangelo Masarati
fd71fdf83e
plug one-time leaks related to configuration
2007-01-27 21:15:11 +00:00
Howard Chu
f92dc7b5fa
Partially revert prev commit, just omit the sl_mem_destroy
2007-01-27 18:38:24 +00:00
Pierangelo Masarati
60f48c1932
fix NULL attr value in accesslog (second bit of ITS#4821; might be made cleaner...)
2007-01-27 18:03:30 +00:00
Pierangelo Masarati
5bf79a5686
fix modify opattrs sync replication (ITS#4820; test019 can't be fixed right now)
2007-01-27 16:38:20 +00:00
Pierangelo Masarati
f5d26ed730
add helper (and cleanup)
2007-01-27 14:12:59 +00:00
Howard Chu
e6a009a43b
Delete olcInclude support
2007-01-27 05:58:18 +00:00
Pierangelo Masarati
196fd6308d
do not allow back-meta with no targets
2007-01-26 23:03:46 +00:00
Howard Chu
f58ea89c20
Must use case-insensitive comparisons on attr types
2007-01-26 02:18:44 +00:00
Pierangelo Masarati
6155d91143
don't return adminLimitExceeded unless LDAPv3; use largest among candidates timeouts
2007-01-26 01:59:30 +00:00
Pierangelo Masarati
cf226fb029
implement search timeout when the remote server does not respond in the specified timeout
2007-01-26 01:39:05 +00:00
Pierangelo Masarati
5a228fa87a
implement search timeout when the remote server does not respond in the specified timeout
2007-01-26 00:40:54 +00:00
Pierangelo Masarati
ecc28ff57c
fix cached connection taint in case of timeout
2007-01-26 00:40:05 +00:00
Howard Chu
9b5dbf9e35
Remove extraneous debug statements
2007-01-25 13:53:08 +00:00
Howard Chu
df31c884b4
Free main-thread keys in db_close, can't do it later because the env
...
will be gone.
2007-01-25 12:24:52 +00:00
Howard Chu
ba68a94f11
Plug global_host race condition/leak
2007-01-25 12:16:55 +00:00
Howard Chu
ea8a2894c4
Free main-thread keys in db_close, can't do it later because the env
...
will be gone.
2007-01-25 12:00:40 +00:00
Howard Chu
8d03970944
Fix debug args
2007-01-25 11:56:49 +00:00
Howard Chu
4b4072eb44
Use thread keys to plug slapi leak in connection_fake_init()
2007-01-25 11:55:40 +00:00
Howard Chu
2ec71598cd
Don't muck with sl_mem
2007-01-25 10:33:28 +00:00
Howard Chu
540878020a
Fix call to connection_fake_init, plug leak
2007-01-25 10:01:51 +00:00
Howard Chu
c49f17bfdd
Check for duplicate UUIDs due to ITS#4813 patch
2007-01-25 08:35:27 +00:00
Howard Chu
0126348461
connection_fake_init can leak SLAPI extensions.
2007-01-25 07:22:39 +00:00
Howard Chu
5a263ba88f
ITS#4805 plug remaining leak
2007-01-25 07:10:34 +00:00
Howard Chu
009e911a9d
Listener commit broke test048, skip listener check on Hidden DBs
2007-01-25 05:57:47 +00:00
Howard Chu
183a0f3719
ITS#4810 bi_entry_get_rw() must return the entry regardless of whether
...
it's an alias or referral or not
2007-01-25 04:31:23 +00:00
Howard Chu
35e0956c26
Log the error code too
2007-01-25 04:10:57 +00:00
Howard Chu
7eeeaaf06d
ITS#4810 log a message if be_entry_get doesn't return the entry we want
2007-01-25 04:10:18 +00:00
Howard Chu
1ce42136fb
ITS#4813 don't limit the presence list to the current snapshot. add
...
some debug msgs for the sessionlog list.
2007-01-25 02:06:33 +00:00
Howard Chu
59ff8cc795
Don't touch any other opattrs when updating contextCSN
2007-01-24 09:29:28 +00:00
Howard Chu
d84d5e98fb
ITS#4809 add reqMod attribute to modrdn records so that operational
...
attributes may be propagated. use them in delta-sync.
2007-01-24 09:10:37 +00:00
Howard Chu
c9dd0afdff
Finish prev fix, entryUUID was getting dropped
2007-01-24 05:02:52 +00:00
Pierangelo Masarati
c635e068a2
make Solaris happy with printf of NULLs (ITS#4811?)
2007-01-23 01:30:13 +00:00
Howard Chu
11b1818b16
Partial fix for prev commit
2007-01-22 14:38:07 +00:00
Howard Chu
8b8995913c
More LDIF-format schema, for test049
2007-01-22 13:43:11 +00:00
Howard Chu
b044d51709
More for syncrepl
2007-01-22 13:33:55 +00:00
Howard Chu
10942dceea
Fixes for syncrepl compatibility
2007-01-22 10:53:48 +00:00
Howard Chu
c3545e6060
New modify handler, compares old and new entry and to generate deltas.
...
Avoids unnecessary rewrites of unchanged attributes.
2007-01-22 10:04:10 +00:00
Howard Chu
07aca1c9a6
Preliminary steps to enabling sync replication of config. Needs work.
...
Allow configuring a consumer on the provider that points to the provider
but is a no-op. This ensures that the consumer will continue to be a
consumer after the replication occurs.
2007-01-21 13:44:32 +00:00
Howard Chu
67b08ebe77
Don't use ldap_pvt_thread_pool_context_reset(), it interferes with
...
dynamic adds.
2007-01-21 13:02:05 +00:00
Howard Chu
fc30db2190
Fix - don't just generate missing cn=schema entry in memory, write it
...
out as well.
2007-01-21 11:22:52 +00:00
Kurt Zeilenga
3297be046b
silence warnings
2007-01-19 07:31:02 +00:00
Pierangelo Masarati
814b8a1438
don't bail out if all targets are too lazy...
2007-01-18 01:13:39 +00:00
Pierangelo Masarati
02af23c4c1
allow modules to muck with connection tree and so
2007-01-18 00:02:29 +00:00
Pierangelo Masarati
7701c82b68
fix ITS#4802
2007-01-17 22:22:00 +00:00
Pierangelo Masarati
b604ef8d52
test mapped error code (ITS#4808)
2007-01-17 21:52:13 +00:00
Howard Chu
9a8b3f711e
Only sort the first time
2007-01-17 10:43:37 +00:00
Howard Chu
5d4c8f86bf
Fix prev commit
2007-01-17 10:02:53 +00:00
Howard Chu
ecb06964c5
Cleanup prev commit
2007-01-17 02:46:41 +00:00
Howard Chu
9898983d58
Minor tweaks, put dup EntryInfo's on free list instead of destroying them
2007-01-17 02:43:05 +00:00
Pierangelo Masarati
4b9f4c688a
allow to specify the required access privileges in internal operations (ITS#4806)
2007-01-16 22:13:44 +00:00
Pierangelo Masarati
dfff749f04
fix dumb overparanoid test
2007-01-16 11:30:24 +00:00
Pierangelo Masarati
8b2e8ece5c
fix leak (ITS#4805)
2007-01-15 15:02:14 +00:00
Howard Chu
1f853acfc9
Shortcut when no index info is present
2007-01-15 01:27:02 +00:00
Howard Chu
e5285894ce
Keep attr list intact, glued DBs may need it
2007-01-15 01:23:02 +00:00
Howard Chu
a94c74987e
ITS#4554
2007-01-15 01:20:08 +00:00
Howard Chu
5d3f3c240d
ITS#4554 slapindex takes a list of attributes to index
2007-01-15 01:14:14 +00:00
Pierangelo Masarati
ee2370bf42
one more round of cached connections fixes/improvements
2007-01-13 11:51:28 +00:00
Quanah Gibson-Mount
7b503e6290
logging cleanup
2007-01-12 22:55:39 +00:00
Howard Chu
f2be5ad0e7
Log errors in delta sync
2007-01-12 09:59:15 +00:00
Howard Chu
b941856404
Set upper bound on EntryInfos, fixed at 4x Entry cachesize.
...
Probably should be tunable. Probably should add hit/miss counters
to monitor to assist in tuning...
2007-01-12 07:35:34 +00:00
Pierangelo Masarati
270dfe4db8
free entry in a cleaner manner (ITS#4801?)
2007-01-11 22:13:54 +00:00
Pierangelo Masarati
78362d5acf
fix entry deallocation
2007-01-11 21:33:39 +00:00
Pierangelo Masarati
aba0eacaee
don't list (other) structural classes
2007-01-11 20:57:43 +00:00
Pierangelo Masarati
53d6d3c957
streamline group attr specification/diagnostics
2007-01-11 20:41:43 +00:00
Pierangelo Masarati
fb2e448e87
cleanup
2007-01-11 18:57:37 +00:00
Hallvard Furuseth
8ce3f67c99
Delete unused label.
2007-01-11 12:04:49 +00:00
Hallvard Furuseth
d16754c81b
Delete unused variables.
2007-01-11 12:04:22 +00:00
Hallvard Furuseth
a8eacbb355
assert expects int. (int)<nonnull ptr> can be 0. Use assert(arg!=NULL).
2007-01-11 12:03:20 +00:00
Howard Chu
5bcd9243f2
Don't zero out attr value flags
2007-01-10 20:48:37 +00:00
Kurt Zeilenga
3cdba151ad
trim listed modules
2007-01-10 01:57:26 +00:00
Pierangelo Masarati
fc20e15556
further cleanup
2007-01-10 00:53:05 +00:00
Howard Chu
a2e299eb22
ITS#4799 remove kerberos / kbind
2007-01-10 00:23:28 +00:00
Howard Chu
15eb08e562
ITS#4799 additional patches
2007-01-10 00:19:24 +00:00
Howard Chu
c2bba7e258
ITS#4799 remove kbind references. (kind of moot, since slurpd
...
itself is also deprecated...)
2007-01-09 23:55:13 +00:00
Pierangelo Masarati
e79580d203
disallow invalid per-syntax shortcuts
2007-01-09 15:33:54 +00:00
Pierangelo Masarati
3042c57ac0
allow forcing abandon of search operations on a connection basis
2007-01-09 12:19:04 +00:00
Pierangelo Masarati
b73915d36f
fix build without TLS
2007-01-09 12:17:46 +00:00
Howard Chu
afabf44493
Fix prev commit
2007-01-09 02:09:44 +00:00
Howard Chu
99a1d0f979
Fix TLS parsing
2007-01-09 01:35:31 +00:00
Pierangelo Masarati
e2d65fb69b
fix previous commit(s)
2007-01-09 00:59:17 +00:00
Howard Chu
a6a8fb514b
Add TLS context configuration
2007-01-08 23:36:24 +00:00
Pierangelo Masarati
7bcca30623
better handling of critical conditions
2007-01-08 21:37:45 +00:00
Howard Chu
1cc1f9b18a
Make syncrepl inherit default TLS settings from main slapd config (except
...
for reqcert, default demand)
2007-01-08 20:16:45 +00:00
Howard Chu
813cca89a6
ITS#4797
2007-01-08 19:10:23 +00:00
Pierangelo Masarati
82de650b19
fix idassert mode=self for anonymous operations (ITS#4798)
2007-01-08 18:34:59 +00:00
Pierangelo Masarati
3c012a606b
fix response code mapping
2007-01-08 00:13:28 +00:00
Pierangelo Masarati
671330a051
better async connection and partial error handling
2007-01-07 22:06:13 +00:00
Pierangelo Masarati
da8dd8066d
don't leave attrs with no values 'round; fix description
2007-01-07 18:53:09 +00:00
Pierangelo Masarati
0e835b0c32
self-document thread monitoring
2007-01-06 16:19:15 +00:00
Pierangelo Masarati
45edf395eb
cleanup ITS#4781 enhancement
2007-01-06 00:45:02 +00:00
Pierangelo Masarati
b0f06da400
improve disconnect handling
2007-01-05 16:18:42 +00:00
Pierangelo Masarati
d132415e5f
cleanup
2007-01-05 10:34:32 +00:00
Howard Chu
2082b1f9f0
Avoid calling purge too often
2007-01-05 06:49:25 +00:00
Pierangelo Masarati
c56564e2b5
disconnect without notice
2007-01-04 20:17:53 +00:00
Pierangelo Masarati
963eaf63b6
return unsolicited responses
2007-01-04 19:58:29 +00:00
Howard Chu
001ce8e493
Partially revert prev commit, fix lru_purge loop
2007-01-04 11:01:59 +00:00
Howard Chu
57fa57b1d1
Fix HDB - don't use IDL cache when it's not configured
2007-01-04 10:56:18 +00:00
Howard Chu
e48f72c1b5
Unify use of BDB lockers
2007-01-04 08:36:59 +00:00
Howard Chu
23a2339090
Fix prev commits...
2007-01-04 03:26:54 +00:00
Howard Chu
f2acc11976
Simpler fix
2007-01-04 03:17:59 +00:00
Howard Chu
831d1cccc7
Fix idl_cache teardown again - skip if cache is empty
2007-01-04 03:14:46 +00:00
Pierangelo Masarati
bce4063a17
shortcut schema mapping if not configured
2007-01-03 21:35:18 +00:00
Pierangelo Masarati
3284f54ec0
silence warnings
2007-01-03 21:34:49 +00:00
Howard Chu
e094bef172
Remember our own success code in case an overlay changes it
2007-01-03 20:28:56 +00:00
Howard Chu
f206f3ddc0
Just return API errors to the frontend, don't attempt to send them.
2007-01-03 20:21:07 +00:00
Howard Chu
5cfd2f6d97
Use Clock algorithm for IDL cache too
2007-01-03 19:00:07 +00:00
Howard Chu
6d1ca0a769
Delete unused idl_cache_entry rwlock field
2007-01-03 05:36:49 +00:00
Howard Chu
d5a7e252b3
#if out unnecessary code in prev commit
2007-01-03 02:10:30 +00:00
Howard Chu
2c1f91dd0f
Tweak entry alignment, play with STRIPE/STRIDE definitions to test.
2007-01-03 02:06:06 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
1f79382c4f
FWIW, SIGBREAK on Windows should only be ignored when running as a Service.
2007-01-02 10:10:16 +00:00
Howard Chu
68a0e0d922
Revert to ordering behavior of original attrs_free()
2007-01-01 13:42:36 +00:00
Howard Chu
822888eafc
Bypass a few redundant locks
2007-01-01 11:44:39 +00:00
Howard Chu
6074f48fa7
Tweak cache_lru_print
2007-01-01 11:17:13 +00:00
Howard Chu
a5546a22a8
Fix prev commit, hdb_cache_find_parent
2007-01-01 07:09:22 +00:00
Howard Chu
dcd5c74914
Drop unnecessary memset()s
2007-01-01 06:46:47 +00:00
Howard Chu
cd35516bdc
Fix typo in prev commit
2007-01-01 02:16:25 +00:00
Howard Chu
37dfbd3e8b
Fix prev commit
2007-01-01 01:07:57 +00:00
Howard Chu
d7fa1e764d
partial revert - keep acquiring BDB lock in lru_purge.
2007-01-01 01:00:19 +00:00
Howard Chu
b8309b4cf8
Cleanup db_lock/unlock parameters
2006-12-31 23:37:06 +00:00
Howard Chu
a720011c8a
Ditch LRU cache replacement in favor of 2nd-chance/clock.
...
Much better concurrency.
2006-12-31 16:16:48 +00:00
Howard Chu
ff93c6bef7
Don't log EAGAIN returns from ber_get_next()
2006-12-31 16:15:45 +00:00
Howard Chu
598ef9e685
Fix prev commit
2006-12-30 12:47:17 +00:00
Howard Chu
e844a6956d
In bdb_cache_add use a readlock outside the txn to protect the entry
...
until send_ldap_result completes.
2006-12-30 12:05:55 +00:00
Howard Chu
6222b79bc8
streamline attrs_free
2006-12-29 01:00:24 +00:00
Pierangelo Masarati
0544badf19
move slapo-denyop to contrib/slapd-modules/debyop/
2006-12-28 16:30:53 +00:00
Pierangelo Masarati
26c2c98196
move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)
2006-12-28 16:23:57 +00:00
Pierangelo Masarati
bd33fc8678
fix filter structure leak (ITS#4794)
2006-12-28 10:32:46 +00:00
Howard Chu
d0467a5961
cleanup debug msg
2006-12-27 01:15:05 +00:00
Howard Chu
d2fc667fe7
Fix connection_get race condition on Windows
2006-12-26 23:40:00 +00:00
Howard Chu
a2dc5dd494
Fix prev commit
2006-12-26 11:34:33 +00:00
Howard Chu
03dbc30deb
Use temporary AttributeDescriptions to prevent unbounded growth
2006-12-26 04:51:08 +00:00
Howard Chu
90b2976413
ITS#3707 changed SLAPD_FILTER_COMPUTED
2006-12-26 00:00:48 +00:00
Howard Chu
3bf226382e
ITS#3707 preserve filter input, allow (and ignore) undefined attributes
2006-12-25 23:30:45 +00:00
Pierangelo Masarati
7e8242d50d
pool privileged connections (ITS#4791)
2006-12-24 18:23:36 +00:00
Pierangelo Masarati
1939ed3fc2
apparently, structural_class() args changed
2006-12-24 15:45:48 +00:00
Pierangelo Masarati
6193ee4003
don't leak callbacks if stuff cannot be registered; provide a means to dispose of private stuff if required
2006-12-24 15:44:56 +00:00
Pierangelo Masarati
c3960b98d3
fix RID format
2006-12-24 15:43:43 +00:00
Pierangelo Masarati
186d30288d
silence warning
2006-12-24 15:43:01 +00:00
Pierangelo Masarati
9edb2d518e
plug rootDSE info one-time leak
2006-12-24 10:51:07 +00:00
Pierangelo Masarati
3de9659781
(blind) compile fix; please review
2006-12-24 10:50:22 +00:00
Howard Chu
01744806a3
ITS#4788 op->o_no_schema_check allows unknown attrs in slap_mods_check
2006-12-24 07:14:54 +00:00
Howard Chu
45fbb173b7
Pass op to slap_mods_check()
2006-12-24 06:55:02 +00:00
Howard Chu
e955bbeaf5
Unify rs_modlist in Add/Modify/Modrdn req structs
2006-12-24 06:45:57 +00:00
Howard Chu
79885438e7
Revert prev commit, need a different solution
2006-12-24 06:26:01 +00:00
Howard Chu
b60644a07f
Fix prev commit, renaming schema
2006-12-24 03:51:08 +00:00
Howard Chu
58886b6a9c
ITS#4337 insert EntryInfo in proper slot
2006-12-24 03:44:08 +00:00
Howard Chu
36317874b7
ITS#4337 allow suffix overlap when inserting new DB before existing ones
2006-12-24 01:27:35 +00:00
Howard Chu
6020a6d81d
ITS#4337 implement modrdn for back-config
2006-12-24 00:56:37 +00:00
Howard Chu
fcc51c0497
Fix modrdn, must also rename the directory if it exists.
2006-12-24 00:54:14 +00:00
Howard Chu
b6d860f556
ITS#4788 don't return auditContext attr on syncrepl searches
2006-12-23 22:10:34 +00:00
Pierangelo Masarati
7684514535
fix typo (ITS#4784)
2006-12-21 22:05:49 +00:00
Howard Chu
69beae5d7d
ITS#4733 make sure frontend and config DB entries exist.
2006-12-21 07:36:16 +00:00
Howard Chu
df54b1a244
In connections_shutdown - check for Uninitialized struct first, since
...
attempting to lock an unint'd mutex may crash on some platforms. And
there is no chance for an unint'd conn to get init'd while shutdown
is occurring, so the unprotected check of struct state is safe.
2006-12-21 06:06:32 +00:00
Howard Chu
5747896ba0
ITS#4780 plug leak
2006-12-20 05:41:14 +00:00
Pierangelo Masarati
4483e79906
further fix of ITS#4782
2006-12-19 22:11:33 +00:00
Pierangelo Masarati
6752a27c0e
(almost) blind fixes to ITS#4782
2006-12-19 21:59:23 +00:00
Howard Chu
08b209ffa9
ITS#4782 quick fix, never send result from proxy authz check.
2006-12-19 20:37:38 +00:00
Howard Chu
7d9361e498
Fix: don't modify original filter in filter_map_rewrite
2006-12-19 19:47:01 +00:00
Howard Chu
8c90df8314
Fix cleanup for extended ops
2006-12-19 01:14:35 +00:00
Howard Chu
8274bc75e0
Fix rev 1.121/1.122
2006-12-18 22:42:46 +00:00
Howard Chu
01c38dd6ea
ITS#4458 re-encode passwd request
2006-12-18 22:30:47 +00:00
Howard Chu
39c3efdd7b
Pass extended ops thru as well
2006-12-18 22:29:45 +00:00
Howard Chu
8b457119ac
Use a specific sr_type for intermediate Glue results
2006-12-18 19:46:40 +00:00
Howard Chu
44dfc63877
Fake intermediate Results to prevent premature cleanup
2006-12-18 03:10:04 +00:00
Howard Chu
da7a4a0708
Fix prev commit
2006-12-18 02:35:32 +00:00
Pierangelo Masarati
f52bb3d2c7
catch double free
2006-12-18 01:29:07 +00:00
Pierangelo Masarati
7bcbd40344
catch invalid read (i == -1)
2006-12-18 01:28:43 +00:00
Howard Chu
23423cd086
Fix callback handling
2006-12-18 00:27:38 +00:00
Howard Chu
ccf7b0fb04
Remove redundant search cleanup
2006-12-18 00:02:00 +00:00
Pierangelo Masarati
4e11af075f
- add support for "use-temporary-conn" much like back-ldap
...
- fix various connection creation/setup concurrency issues
- use shared connection when always idasserting (similar to ITS#4781)
- reduce the impact of schema mapping when not used (tnx to gprof)
- fix temporary/tainted connection leak in abnormal conditions
2006-12-17 23:52:23 +00:00
Howard Chu
28793246e6
ITS#4638 restore params for Compare and Modify
2006-12-17 23:49:42 +00:00
Howard Chu
1e849ec14d
ITS#4638 restore original parameters on op completion
...
(this is preliminary, more work remains)
2006-12-17 22:57:45 +00:00
Pierangelo Masarati
96152e2a3f
fix another typo
2006-12-17 22:48:17 +00:00
Pierangelo Masarati
68fd83f2fd
further fix previous commit
2006-12-17 22:21:41 +00:00
Pierangelo Masarati
ef0261e84c
cleanup and document ITS#4781 commit
2006-12-17 22:20:02 +00:00
Pierangelo Masarati
3e427ad75a
support a separate cached connection for binds when using (liberal) idassert flagged with "override" (ITS#4781)
2006-12-17 22:11:40 +00:00
Pierangelo Masarati
8830e0628e
more portable fix to ITS#4756
2006-12-17 22:03:03 +00:00
Pierangelo Masarati
298d439d59
add support for auditContext (schema differs a bit from <draft-chu-ldap-logschema>, expired)
2006-12-16 14:55:47 +00:00
Quanah Gibson-Mount
0523f0e3a7
cleanup
2006-12-16 03:33:27 +00:00
Pierangelo Masarati
15d601e7bc
refine previous commit
2006-12-15 02:10:22 +00:00
Pierangelo Masarati
917fbf427a
make slap_sasl_open() comply with URL notation for IPv6 addresses
2006-12-15 02:01:58 +00:00
Pierangelo Masarati
5e3d7a55dc
rewrite chased DN according to referral's (ITS#4776)
2006-12-15 02:00:24 +00:00
Pierangelo Masarati
97e6225cc9
implement full IPv6 support in ACLs; use URL notation (as suggested by Howard) to disambiguate parsing (ITS#4756)
2006-12-15 01:11:11 +00:00
Pierangelo Masarati
d29d83a80e
protect assertion behind mutex (test should be atomic anyway...)
2006-12-14 19:22:00 +00:00
Howard Chu
4d9d4e2538
Fix connections_shutdown()
2006-12-14 02:12:39 +00:00
Howard Chu
1f35a953a1
Remainder of fix for ITS#4615 - stop processing overlay stack at glue
...
boundary
2006-12-13 03:03:47 +00:00
Howard Chu
69c4495bc2
ITS#4768 more be_add fallout
2006-12-12 21:00:12 +00:00
Howard Chu
871201e0d6
Fix prev commit
2006-12-12 20:04:44 +00:00
Howard Chu
499c9369e1
ITS#4777 fix modlist delete
2006-12-12 19:39:28 +00:00
Kurt Zeilenga
2761b06c58
ITS#4775: blind fix for buffer overflow condition in dead KrbIV code
...
(KrbIV code likely should be removed)
2006-12-12 14:18:54 +00:00
Kurt Zeilenga
80d74dc2cd
Monitor attributes should have dSAOperation usage,
...
not directoryOperation usage. Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Pierangelo Masarati
9fdb9b6e02
give cleanup another chance to free the temporary callback (ITS#4771)
2006-12-07 19:44:04 +00:00
Pierangelo Masarati
0b29856b16
don't use conditionals in macro arguments (ITS#4769)
2006-12-06 11:39:07 +00:00
Howard Chu
77ed3423b9
ITS#4767 fix bdb_add / translucent interaction
2006-12-04 22:06:58 +00:00
Pierangelo Masarati
c89d0db64f
fix deadlock in case of bind error; propagate error as appropriate
2006-12-02 17:09:20 +00:00
Pierangelo Masarati
41c4afb331
improve error message
2006-12-02 16:17:01 +00:00
Pierangelo Masarati
e73ce756cc
fix DN (and berval'ued items requiring) normalization in bindconf_parse (ITS#4766)
2006-12-02 16:13:25 +00:00
Pierangelo Masarati
19dabd2fa8
complain if instantiated outside of a database definition
2006-12-02 10:42:42 +00:00
Pierangelo Masarati
78af5454d2
use case consistent with RFCs (ITS#4764)
2006-12-02 10:30:29 +00:00
Howard Chu
c8a000cb7b
ITS#4765 init slap_daemon.sd_actives
2006-12-01 15:02:14 +00:00
Howard Chu
43f0177a08
Fix prev commit, attrs_dup left a_desc uninit'd
2006-12-01 15:00:10 +00:00
Howard Chu
eb47d50da7
Tweak bei_state so cache_lru_add doesn't ever try to free just-added
...
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
2006-12-01 14:48:38 +00:00
Howard Chu
b79d63516d
Rewrite attrs_dup with attrs_alloc.
...
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Howard Chu
2a9afa55a7
Avoid unnecessary calls to oc_bvfind
2006-11-27 19:59:59 +00:00
Howard Chu
3711183610
Skip checkpoint call if size was not specified - defer time-based
...
checkpoints to the runq job
2006-11-27 19:54:04 +00:00
Howard Chu
ee9623ad0f
Use quicksort in slap_mods_check for finding duplicates.
...
Currently enabled, preserving original order of input. See ifdefs to
alter the behavior: SLAP_MODS_CHECK_QUICKSORT, PRESERVE_ORDER
2006-11-25 10:58:45 +00:00
Pierangelo Masarati
0981516abf
fix ITS#4760 differently
2006-11-24 13:02:26 +00:00
Pierangelo Masarati
de254abb27
destroy cached groups after identity change (ITS#4760)
2006-11-24 11:43:47 +00:00
Pierangelo Masarati
14ac05436a
fix defaults in "group" in parsing (ITS#4761)
2006-11-24 11:29:05 +00:00
Pierangelo Masarati
09abc9f8ae
fix leak in case of retry
2006-11-24 01:44:11 +00:00
Pierangelo Masarati
8326ac21b1
add "report" to "onerr" modes: continue a search in case one target returns an error, and only propagate the error at the end
2006-11-23 23:50:36 +00:00
Pierangelo Masarati
a06fc9cb02
fix backward compatibility issues in ACI; more debug logging (ITS#4759)
2006-11-23 23:29:45 +00:00
Howard Chu
574769395a
ITS#4600 #if out redundant checks. will delete them later.
2006-11-23 11:07:03 +00:00
Pierangelo Masarati
14e1feed1f
fix leak when 'rebind-as-user' is set (and client searches without prior bind)
2006-11-18 18:02:46 +00:00
Howard Chu
dfafda4128
Better tracking of system schema, refresh cn=schema after moduleloads
2006-11-17 22:52:20 +00:00
Howard Chu
701c39ed83
Tone down enum_tree warning
2006-11-17 22:51:04 +00:00
Howard Chu
f0f7324e0e
Keep hardcoded schema together in lists
2006-11-17 20:11:11 +00:00
Howard Chu
28bd54a06d
ITS#4755 add rid to syncrepl debug msgs
2006-11-17 02:11:57 +00:00
Howard Chu
b711426a99
Fix prev commit, reset DB pointer
2006-11-16 14:27:49 +00:00
Howard Chu
7cfa3ae34a
Use runq to defer creation of log root entry; allows the log DB to come
...
after the main DB in the configuration. Allows logging cn=config.
2006-11-16 14:12:09 +00:00
Howard Chu
ee0026ec1e
Don't bother setting up threads if there are no indexed attrs (unlikely...)
2006-11-15 01:20:34 +00:00
Howard Chu
4b6a3e8b6d
Convert schema parsers to ConfigArgs so they can pass errors back to clients
2006-11-15 01:18:37 +00:00
Ralf Haferkamp
cdb9b2e2aa
Add calls to PERL_SET_CONTEXT, as the active thread might not be the one
...
that created the PerlInterpreter object (ITS#4751)
2006-11-14 15:18:50 +00:00
Howard Chu
510c2b881e
ITS#4746 additional leaks
2006-11-13 02:57:05 +00:00
Howard Chu
c9da788f78
ITS#4746 plug leaks
2006-11-13 02:44:45 +00:00
Howard Chu
bd95f8ab1c
ITS#4738 provisional fix, still needs confirmation
2006-11-13 00:24:59 +00:00
Howard Chu
c6bf6672aa
Add valx arg to config_parse_add - indicate which value in the current
...
operation is executing (as opposed to c->valx which indicates which
value in the target is being changed)
2006-11-12 02:22:23 +00:00
Howard Chu
48fce3d119
ITS#4742 cleanup config error reporting
2006-11-12 02:15:49 +00:00
Howard Chu
7a92d4af1f
Short-circuit the mapping search if more than 1 entry is found
2006-11-12 00:54:37 +00:00
Howard Chu
4df4d4f46c
Tweak prev commit, use LDAP_UNAVAILABLE to force early termination
2006-11-11 23:38:01 +00:00
Howard Chu
161574b00d
ITS#4744 authzTo/authzFrom patterns are supposed to allow multiple targets.
...
Partially revert rev 1.126.
2006-11-11 22:55:09 +00:00
Howard Chu
b42d93f24f
ITS#3755 silence strict-aliasing warnings
2006-11-10 10:39:54 +00:00
Howard Chu
47793aa3c9
Fix typo in prev commit
2006-11-09 06:47:47 +00:00
Howard Chu
64a2dbf9d4
ITS#4741 fix error check from external password quality module
2006-11-09 04:06:37 +00:00
Howard Chu
6ac62a7573
Fix - failed Binds could leave a closing connection open.
2006-11-09 01:42:21 +00:00
Howard Chu
d3dc069a62
ITS#4704 use an old CSN while purging log.
2006-11-07 02:12:29 +00:00
Pierangelo Masarati
efb04832bd
rework compare
...
fix several minor issues with using dangling pointers and uninitialized data
fix caching of privileged connections
fix issues with unresponsive target failures during search
2006-11-05 12:05:47 +00:00
Pierangelo Masarati
6f1d78b3ce
s/fprintf/Debug/; improve logging
2006-11-05 09:24:51 +00:00
Pierangelo Masarati
2f861c56a6
cleanup variables scope; re-sort conditions
2006-11-05 09:24:01 +00:00
Pierangelo Masarati
c148b2381e
improve previous commit (ITS#4729)
2006-11-03 08:35:51 +00:00
Pierangelo Masarati
3a2277cdf8
fix dynlist dynamic build (ITS#4729)
2006-11-03 00:29:19 +00:00
Howard Chu
1b1a0ebf18
Tweak prev commit:
...
Preserve delete/replace indication from original request
2006-11-02 19:26:04 +00:00
Howard Chu
730d8e5bd3
ITS#4728 mod/Replace can have no values also
2006-11-02 18:57:55 +00:00
Pierangelo Masarati
71bcd4a4b6
s/ldap_int_discard/ldap_pvt_discard/
2006-10-28 18:13:12 +00:00
Pierangelo Masarati
07abb0eb3a
fix concurrency issue when binding before a search; rework and cleanup data structures (remove unused members)
2006-10-28 16:20:59 +00:00
Pierangelo Masarati
45156c6d7a
need ldap-int.h for ldap_int_discard() declaration (ITS#4717)
2006-10-28 16:19:53 +00:00
Kurt Zeilenga
dbaf7c5c25
More ldapbis cleanup
2006-10-28 04:47:58 +00:00
Kurt Zeilenga
99b954e2c3
LDAPBIS cleanup
2006-10-28 03:53:02 +00:00
Kurt Zeilenga
672f8ef3f3
RFC 4511 calls for unavailableCriticalExtension to returned when
...
a server is unwilling to make use of a known critical control.
2006-10-28 03:52:53 +00:00
Pierangelo Masarati
051cbd3990
missing CVS header
2006-10-26 22:48:34 +00:00
Howard Chu
44475373db
Fix prev commit again (ITS#4722)
2006-10-26 22:10:12 +00:00
Pierangelo Masarati
ca3451504c
fix building without threads (don't publish any thread-related monitor info...)
2006-10-26 21:44:10 +00:00
Howard Chu
b009b1820e
ITS#4720 release csn mutex before checkpointing.
2006-10-26 15:34:40 +00:00