Commit Graph

9343 Commits

Author SHA1 Message Date
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