Commit Graph

9326 Commits

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