Commit Graph

17449 Commits

Author SHA1 Message Date
Hallvard Furuseth
0669adf635 ITS#5340 fixes:
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
  in case the caller reuses the SlapReply without resetting the flags.
2008-04-10 12:54:11 +00:00
Hallvard Furuseth
eaec3a56e4 code cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174 2008-04-09 18:24:22 +00:00
Howard Chu
204b035a9c ITS#5383 use public OID for config schema, no more hiding 2008-04-09 15:22:23 +00:00
Howard Chu
d9dac0c8bc ITS#5376, #5378 delta-sync should fallback in other cases too 2008-04-09 12:01:11 +00:00
Howard Chu
f0bb1739a7 ITS#5409 must reset pagedresults state if no cookie is provided 2008-04-09 03:08:38 +00:00
Howard Chu
91c23cbc4d ITS#5455 be sure to reset bei_finders / bei_state 2008-04-09 00:12:08 +00:00
Gavin Henry
51be9d70fe just a typo I found when reading. 2008-04-07 17:19:23 +00:00
Gavin Henry
e720e064c6 just a typo I found when reading. 2008-04-07 16:05:59 +00:00
Hallvard Furuseth
9cdcd58afc constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50 2008-04-06 20:04:10 +00:00
Howard Chu
8027d8afb0 ITS#5454 proposed fix. May still need to change initial trylock to a
regular mutex_lock.
2008-04-05 00:45:59 +00:00
Ralf Haferkamp
20d2188cbf empty() and size() methods 2008-04-04 10:36:01 +00:00
Howard Chu
d989f19668 ITS#5450 fully terminate value lists 2008-04-04 00:01:02 +00:00
Howard Chu
e1f518ef1c ITS#5419 only Hidden DBs get special treatment 2008-04-03 10:04:56 +00:00
Howard Chu
78a1714ad9 Fix bogus whitespace from 1.18 2008-04-03 09:48:39 +00:00
Howard Chu
5de6bbcbe0 ITS#5437, #5444 add entry to consumer 2008-04-03 08:55:15 +00:00
Howard Chu
fcb92905f7 define LDIFADD1 2008-04-03 08:52:35 +00:00
Howard Chu
54eb7e8ad2 add dn: prefix to allow use with ldapmodify 2008-04-03 08:51:31 +00:00
Howard Chu
67bb145098 Should accept regular LDIF input 2008-04-03 08:50:19 +00:00
Howard Chu
626608f5f2 ITS#5437, #5444 if numcsns don't match, set changed flag 2008-04-03 08:43:48 +00:00
Howard Chu
77e7b92c87 ITS#5439 fix ID_NOCACHE handling 2008-04-03 08:02:11 +00:00
Howard Chu
f2de258e3d ITS#5442 slapd_rq mutexes must always be used 2008-04-02 03:08:06 +00:00
Ralf Haferkamp
ee846c174c SASL support for LDAPConnection 2008-04-01 16:35:42 +00:00
Pierangelo Masarati
8cb162ef44 fix bitwise test (ITS#5445) 2008-03-31 16:58:03 +00:00
Pierangelo Masarati
f3eeb81458 a connection cannot be privileged and be in the avl tree at the same time (related to ITS#5440?) 2008-03-29 18:17:21 +00:00
Pierangelo Masarati
71cabe40c3 print targets' status 2008-03-29 18:16:34 +00:00
Pierangelo Masarati
f32f99211e make stamp a long no matter what time_t is, to print it accordingly (ITS#5441) 2008-03-29 16:22:50 +00:00
Pierangelo Masarati
f049fbb206 avoid system call when not needed (ITS#5441) 2008-03-29 12:11:44 +00:00
Ralf Haferkamp
e4c84417f7 added $OpenLDAP$ CVS Keyword 2008-03-28 11:27:24 +00:00
Ralf Haferkamp
93529d26c5 added $OpenLDAP$ CVS Keyword 2008-03-28 11:05:10 +00:00
Ralf Haferkamp
14336cb9ae - Build LdifWriter
- added $OpenLDAP$ CVS Keyword
2008-03-28 10:57:48 +00:00
Ralf Haferkamp
2297aaf3f8 initial LdifWriter code 2008-03-27 17:02:37 +00:00
Ralf Haferkamp
5568abbbca - Plugged memory leak default constructor
- Fixed copy-constructor
2008-03-27 14:02:58 +00:00
Howard Chu
50a26bec0a ITS#5434 again 2008-03-25 05:08:21 +00:00
Pierangelo Masarati
f696cecb77 work around paranoid check (ITS#5412) 2008-03-22 16:01:23 +00:00
Howard Chu
fc69e61be6 ITS#5432 don't send cookie with delete set if there's no true delete CSN 2008-03-21 00:09:24 +00:00
Howard Chu
c495cba4af Add dn2id_get / modify support 2008-03-20 23:34:04 +00:00
Ralf Haferkamp
133ecac740 build LdifReader 2008-03-20 16:11:15 +00:00
Ralf Haferkamp
e4b9519810 Improved error handling 2008-03-20 16:10:37 +00:00
Ralf Haferkamp
fee0730f26 derive LDAPException from std::exception, merged ReferralException into the
LDAPException files
2008-03-20 15:08:29 +00:00
Ralf Haferkamp
9277b5b45f missing pieces from last commit 2008-03-20 13:24:49 +00:00
Howard Chu
213c9358b8 ITS#5430 syncprov/glue can be used two different ways 2008-03-20 10:58:00 +00:00
Ralf Haferkamp
289e63985c Read LDIF version, handle comments and empty lines 2008-03-20 10:01:33 +00:00
Howard Chu
294da7ed11 ITS#5435 ConfigReply arg must be non-NULL 2008-03-20 01:24:33 +00:00
Howard Chu
261d2420f4 ITS#5434 search thru other overlays when present 2008-03-20 00:31:42 +00:00
Howard Chu
0abf40063f ITS#5433 checkpoint must write to master DB 2008-03-20 00:26:14 +00:00
Howard Chu
d3e8df3940 ITS#5432 fix compare_csns loop conditions 2008-03-20 00:10:31 +00:00
Howard Chu
d711b538ad do_syncrep1 always reads contextCSN from the main DB 2008-03-20 00:05:22 +00:00
Gavin Henry
f9fd262e01 add start date. 2008-03-19 22:46:29 +00:00
Gavin Henry
b697132142 ITS#5425 slapdconfig.sdf and slapdconf2.sdf out of date 2008-03-19 22:30:08 +00:00
Gavin Henry
8af69fddc7 updated replicated directory diagram. 2008-03-19 22:17:04 +00:00