Howard Chu
d918bc9983
ITS#4375 rework statslog, debug log info
2007-07-23 03:51:42 +00:00
Howard Chu
b06a5b8498
ITS#4937, consolidate statslog
2007-07-23 00:47:31 +00:00
Howard Chu
3b837d4fca
More for ITS#5050
2007-07-23 00:33:21 +00:00
Howard Chu
1e8350ad3f
Silence warnings in prev commit
2007-07-23 00:02:31 +00:00
Howard Chu
da9f66ede7
ITS#5050 use correct (Bind) timeout in dobind_int
2007-07-22 17:48:04 +00:00
Howard Chu
e0cb8bcf98
Delete extraneous test in prev commit
2007-07-22 17:19:21 +00:00
Howard Chu
b0113c38cd
ITS#5040 don't touch modifyTimestamp and other opattrs when updating
...
ppolicy opattrs
2007-07-22 16:42:01 +00:00
Howard Chu
4b3bf1a61a
Set GLUE ocflag on dummy context entry
2007-07-21 00:35:32 +00:00
Howard Chu
a56a8540fd
ITS#4961 read context glue entry if it exists
2007-07-21 00:05:16 +00:00
Ralf Haferkamp
5b897eef52
Fixed return value of _cleanup function
2007-07-20 17:13:22 +00:00
Howard Chu
b7d38c15ff
ITS#5048 fully initialize fc_limits
2007-07-20 15:16:36 +00:00
Howard Chu
fb5568bd45
ITS#5052 fix Quick mode erroneously indexing ID#0
2007-07-20 14:42:31 +00:00
Hallvard Furuseth
9bd4a298ef
ITS#5049: Initialize conn in syncprov_db_close() before connection_fake_init().
2007-07-18 21:02:14 +00:00
Pierangelo Masarati
3aefa9434d
major improvement: baseline support for back-config; minor improvement: trim code to handle absence of librewrite (enable forced when slapo-rwm is configured...)
2007-07-14 16:18:44 +00:00
Pierangelo Masarati
4066e22c59
"register" slapo-rwm
2007-07-14 16:17:43 +00:00
Pierangelo Masarati
0122f25853
fix minor error message
2007-07-14 16:17:20 +00:00
Howard Chu
f28d9e800f
Fix mirrormode/tool mode
2007-07-14 00:12:47 +00:00
Howard Chu
88cbe052e0
Fallout from ITS#4986 - remove unused param of select_backend()
2007-07-13 03:18:20 +00:00
Howard Chu
974ca7b366
Fix prev commit
2007-07-13 02:57:01 +00:00
Howard Chu
d09d43559a
ITS#4986 - remove special manageDSAit handing in select_backend()
2007-07-13 02:18:36 +00:00
Pierangelo Masarati
ca7ad7f2e3
fix searchFilter double free (ITS#5043)
2007-07-12 22:22:31 +00:00
Quanah Gibson-Mount
c3e347c11f
Change db == NULL to rc == LDAP_INAPPROPRIATE_MATCHING
...
as a half-way step for ITS#5037
2007-07-10 00:24:05 +00:00
Quanah Gibson-Mount
88a4ffe5be
ITS#5037
...
Move db == NULL check to correct spot
2007-07-09 21:28:14 +00:00
Ralf Haferkamp
19b4aba5a1
added config option "normalize-mapped-attrs" to enable normalization of
...
undefined mapped attribute types.
2007-07-09 16:22:54 +00:00
Hallvard Furuseth
8eda2e301f
Fix SLAP_NO_SL_MALLOC (ber_malloc_x -> ber_memalloc_x) for ITS#4990.
2007-07-04 22:49:34 +00:00
Gavin Henry
ba88d443e9
Cater for perl 5+
2007-07-01 22:36:24 +00:00
Hallvard Furuseth
6f2d816df4
ITS#5035 - return ber_socket_t instead of ptrdiff_t from SLAP_EPOLL_EV_PTRFD().
...
Fixes a printf format bug.
2007-07-01 13:43:15 +00:00
Hallvard Furuseth
c71a4ae4f3
Fix integer overflow in slap_loglevel_get() - ITS#5035.
2007-07-01 13:39:24 +00:00
Pierangelo Masarati
8c4582e29f
fix potential leak (detected by Coverity)
2007-06-21 00:10:02 +00:00
Pierangelo Masarati
35282bc713
fix potential NULL dereferencing (detected by Coverity)
2007-06-20 23:44:43 +00:00
Howard Chu
d6ef5f3a0d
ITS#5025 clear sr_entry before sending search reference
2007-06-19 20:04:36 +00:00
Howard Chu
6b793c85cb
ITS#4870 remove lint
2007-06-19 13:49:03 +00:00
Pierangelo Masarati
46ab91eeba
fix ITS#5005
2007-06-19 13:18:17 +00:00
Howard Chu
10264919f4
Fix uninit'd op req DN
2007-06-19 13:07:12 +00:00
Howard Chu
299d19506a
ITS#4933 use ldap_set_option for search timelimit
2007-06-19 11:49:50 +00:00
Pierangelo Masarati
9ff76148ab
test goes __after__ done (ITS#5014 :)
2007-06-16 10:53:48 +00:00
Hallvard Furuseth
b20c1fe5af
Do not access a void* (mi_entry_limbo) as if it were a struct monitor_info_t*
2007-06-15 18:24:01 +00:00
Gavin Henry
d6444a108d
Running 'perlcritic -1 SampleLDAP.pm' and tidying up.
2007-06-15 16:28:33 +00:00
Hallvard Furuseth
53fcfd93a3
ITS#4995 - rewrite clarification
2007-06-15 13:25:32 +00:00
Quanah Gibson-Mount
1dfd0924b2
For ITS#4995, add clarification comments
2007-06-15 03:21:11 +00:00
Pierangelo Masarati
844f13fbe8
don't forget to log errors (ITS#5014)
2007-06-14 23:07:40 +00:00
Howard Chu
087a662f9e
Better fix for rev 1.97
2007-06-14 14:51:15 +00:00
Hallvard Furuseth
c60f7c1fd2
For ITS#4943: Axe thread pool semaphore code
2007-06-10 23:37:49 +00:00
Hallvard Furuseth
9dcef9bc80
Cleanup (add prototypes)
2007-06-10 22:06:28 +00:00
Pierangelo Masarati
af985c7efb
re-fix ITS#4936
2007-06-10 21:55:39 +00:00
Hallvard Furuseth
4586ede1ab
ITS#5007: Rename label "leave"; OSF1 pthread.h makes it as an exception keyword
2007-06-09 23:45:23 +00:00
Hallvard Furuseth
3750520f6f
Fix HP-UX crash: Replace socklen_t with ber_socklen_t from configure. ITS#4629.
2007-06-09 23:35:20 +00:00
Pierangelo Masarati
d4d90f0ef3
use libexecdir as default module path (ITS#4936)
2007-06-09 17:49:39 +00:00
Pierangelo Masarati
ea560284f0
temporary fix to ITS#4986; does not break current tests, but needs review
2007-06-09 16:28:35 +00:00
Pierangelo Masarati
c77e65c274
fix SASL ssf logging (ITS#5001)
2007-06-09 15:31:46 +00:00
Pierangelo Masarati
ecb6db13dc
autchId must be a (quoted) id, and can't be a DN; as a consequence, no need for leading 'u:'
2007-06-09 15:29:46 +00:00
Pierangelo Masarati
133035cdd2
do not try to register custom monitor stuff when subordinate (related to ITS#4965); note: this might not be the best solution, because it does not allow to monitor subordinate databases; however, right now it's necessary, since subodinate databases do not register themselves in back-monitor
2007-06-09 14:14:45 +00:00
Pierangelo Masarati
d34473cdba
always complain when custom monitor stuff cannot be registered (ITS#4965)
2007-06-09 14:11:16 +00:00
Howard Chu
8cafa0b117
ITS#4970 ignore pwdMinAge if pwdReset is TRUE
2007-06-08 09:23:49 +00:00
Howard Chu
9227293e8d
ITS#4977 check for cookie parse failure
2007-06-08 09:05:35 +00:00
Pierangelo Masarati
4148c4e3f9
make searches expand all matching sets of group/url[/member] configurations; relax configuration test as per ITS#4989
2007-06-02 11:27:43 +00:00
Pierangelo Masarati
457b5b11ae
fix leak
2007-06-02 10:43:02 +00:00
Hallvard Furuseth
46d420565b
thread pool data was accessed through the wrong type
2007-05-31 20:52:15 +00:00
Ralf Haferkamp
11e8c186bf
ITS#4991 restore save_attrs when a request is finished to let do_search()
...
cleanup correctly
2007-05-31 15:49:45 +00:00
Ralf Haferkamp
7203276785
ITS#4991 restore mapped AttributeNames before processing a response
2007-05-31 15:46:46 +00:00
Howard Chu
6186117f97
ITS#4966 valsort_modify: ignore Delete modops with no values
2007-05-25 00:58:59 +00:00
Kurt Zeilenga
7fa4cc5d38
Use IANA-assigned OID for entryDN and remove hide flag.
2007-05-23 03:54:31 +00:00
Hallvard Furuseth
101b6b9363
Fix --without-tls (ITS#4975). Enable certificate matching.
2007-05-20 22:48:21 +00:00
Pierangelo Masarati
74ca4680db
more ITS#4973 initialization
2007-05-19 14:12:24 +00:00
Pierangelo Masarati
43367e162e
re-parse ID from passmod request, if necessary (ultimately fixes ITS#4964, along with fix to ITS#4973)
2007-05-19 14:08:49 +00:00
Pierangelo Masarati
4f960dacb3
related to ITS#4973
2007-05-19 14:06:42 +00:00
Hallvard Furuseth
93fbb87545
Give OperationBuffer normal struct members instead of using
...
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Hallvard Furuseth
7372fea8b5
printf format paranoia: macros could be changed to contain format chars
2007-05-18 14:48:28 +00:00
Hallvard Furuseth
d84399e344
Unused varaibles
2007-05-18 14:46:52 +00:00
Hallvard Furuseth
4caf7faa74
Warning cleanup (avoid cast double return val -> integer, gcc gets suspicious)
2007-05-18 14:45:56 +00:00
Hallvard Furuseth
861babae6f
include lber-int.h (for rev 1.396 certificate changes)
2007-05-18 14:41:28 +00:00
Pierangelo Masarati
7b7676a9fa
...
2007-05-17 13:57:20 +00:00
Pierangelo Masarati
978c3609e0
allow array of more generic syntaxes
2007-05-16 09:13:14 +00:00
Pierangelo Masarati
eb5d285a1b
allow attribute inheritance with syntax restriction (please review)
2007-05-16 01:40:34 +00:00
Pierangelo Masarati
dd3f101ff8
further cleanup round in back-relay database selection; cleanup
2007-05-16 01:39:41 +00:00
Pierangelo Masarati
c30ae47206
check for NULL dn in URL; set error code before seding extended response (partially addresses ITS#4968)
2007-05-15 22:29:06 +00:00
Howard Chu
093f52e44d
ITS#4961 disable schema checking on contextCSN update
2007-05-14 21:25:48 +00:00
Hallvard Furuseth
7720844624
Reapply part of rev 1.2 warning cleanup, it was lost in next revision
2007-05-13 22:32:33 +00:00
Howard Chu
97b0c98ab5
Don't use strdup on bervals
2007-05-13 09:36:52 +00:00
Howard Chu
bdd8bf4133
Add CRLfile option for GNUtls
2007-05-13 01:34:12 +00:00
Howard Chu
f3c9d552dd
Use liblber for certificate Validation, Normalization
2007-05-13 01:27:51 +00:00
Howard Chu
93e1da43e9
No more dependency on OpenSSL
2007-05-12 23:44:58 +00:00
Hallvard Furuseth
b6bb36eaf1
Add back-monitor (and its OID arc) to Backend/Database registry
2007-05-12 17:55:37 +00:00
Pierangelo Masarati
f2d213d73f
if no database can be looked up, don't send result when not appropriate
2007-05-12 13:09:48 +00:00
Pierangelo Masarati
d12592ca3c
don't try to lookup a database when there's no request DN
2007-05-12 13:07:17 +00:00
Hallvard Furuseth
dfc10014b1
Fix for !(LDAP_DEBUG && LDAP_SYSLOG)
2007-05-11 23:04:33 +00:00
Howard Chu
8726062e1d
Fix typo in prev commit
2007-05-10 20:15:40 +00:00
Howard Chu
e86e4f98af
ITS#4954 clear c_sasl_dn after error
2007-05-10 19:34:27 +00:00
Howard Chu
2779af4730
ITS#4952 use memcmp to compare CSN values
2007-05-10 18:46:15 +00:00
Hallvard Furuseth
584ea90db2
Remove unused variables
2007-05-09 19:11:44 +00:00
Hallvard Furuseth
5a6362c453
assert(pointer) -> assert(pointer != NULL)
2007-05-09 19:10:36 +00:00
Hallvard Furuseth
d72acf7250
Struct/array initializers must be constant expressions in C89
2007-05-09 19:09:32 +00:00
Hallvard Furuseth
bbc719ca56
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
2007-05-09 18:17:10 +00:00
Howard Chu
f886eaa59c
coverity scan, e is non-NULL
2007-05-08 14:17:21 +00:00
Howard Chu
eb6b265009
coverity scan, fix typo
2007-05-08 14:07:52 +00:00
Howard Chu
b626499794
coverity error, memory leak in file2anlist
2007-05-08 14:04:23 +00:00
Howard Chu
626e9aabea
coverity scan, ch_realloc won't return NULL
2007-05-08 14:01:16 +00:00
Howard Chu
b87965303e
coverity fix, slapd_rw_apply NULL filter
2007-05-08 13:57:13 +00:00
Ralf Haferkamp
f8c94e3155
fix comparison with string literal
2007-05-07 14:55:45 +00:00
Howard Chu
dda5e19904
ITS#4949 make config_syslog accumulate across multiple values
...
Can set to zero to explicitly clear it. (As well as just deleting
all values.)
2007-05-05 01:22:29 +00:00
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