Howard Chu
fccca0ead9
Minor cleanup (coverity)
2015-01-14 16:59:54 +00:00
Kurt Zeilenga
5c878c1bf2
Happy new year (belated)
2014-01-25 05:21:25 -08:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Hallvard Furuseth
13f52646b2
ITS#6758 Avoid SlapReply reuse, simple cases.
...
Caller provides and reuses a SlapReply it does not read after
initialization. So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Hallvard Furuseth
9e6331f14f
ITS#6752 Remove OpenLDAP 2.[23] dynlist code
2010-12-20 10:25:11 +00:00
Hallvard Furuseth
e7df2ef95f
ITS#6752 Handle REP_ENTRY_* flags correctly
2010-12-20 10:22:19 +00:00
Hallvard Furuseth
42a0f5efc2
ITS#6752 Fix dynlist Compare callback
...
Replace dynlist_sc_save_entry() with dynlist_sc_compare_entry() which
compares instead of saves the entry. Check rs->sr_type == REP_SEARCH.
2010-12-20 10:20:38 +00:00
Hallvard Furuseth
abbf57fd79
ITS#6752 dynlist: Do less work, simplify a bit.
...
Rearrange dynlist_compare(), tweak dynlist_response().
2010-12-20 10:19:21 +00:00
Kurt Zeilenga
3dadeb3efe
happy belated New Year
2010-04-13 22:17:29 +00:00
Pierangelo Masarati
3cd65c0a5d
reduce code duplication
2010-02-12 08:55:34 +00:00
Pierangelo Masarati
40065adb4d
remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423)
2009-12-08 18:47:17 +00:00
Pierangelo Masarati
2c1c200662
log about invalid URI (more about ITS#6421)
2009-12-08 01:34:22 +00:00
Pierangelo Masarati
db852e4378
handle simple filters with no brackets (ITS#6421)
2009-12-08 00:17:25 +00:00
Howard Chu
e0cad0e988
ITS#6308 lock leak: must release entry using same op that acquired it
2009-09-29 06:21:32 +00:00
Pierangelo Masarati
e45c20cf92
fix uninitialized var (ITS#6266; actually, the problem was a bit more severe...)
2009-08-24 01:22:55 +00:00
Howard Chu
c5cf4fca22
ITS#6002 fix attrset unparse
2009-03-05 23:44:18 +00:00
Pierangelo Masarati
d36099aa62
cleanup (related to ITS#5760)
2009-02-15 22:16:21 +00:00
Pierangelo Masarati
97bd3479c4
muck with flags only when needed (ITS#5898)
2009-01-30 01:29:32 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Pierangelo Masarati
5cf95c5b30
fix length
2008-11-18 00:12:22 +00:00
Quanah Gibson-Mount
911376e543
Fix prev commit
2008-11-17 23:45:20 +00:00
Pierangelo Masarati
09cb340f67
add optional URI to allow restricting the scope of application of a specific dynamic list expansion rule (ITS#5761)
2008-10-21 11:30:04 +00:00
Hallvard Furuseth
b6f83f1a25
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
...
error, not LBER_DEFAULT.
2008-10-13 09:17:36 +00:00
Pierangelo Masarati
6845c2510d
don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732)
2008-10-09 22:34:43 +00:00
Pierangelo Masarati
9be58de517
fix ITS#5717
2008-09-29 18:45:39 +00:00
Pierangelo Masarati
43d0d989ef
allow intermixing of mapped/not mapped attrs (spotted while invstigating ITS#5717)
2008-09-29 17:38:12 +00:00
Howard Chu
4af6e9c4c6
Fix 1.40, release entry with same backend that obtained it
2008-07-08 06:00:32 +00:00
Pierangelo Masarati
b4894ccd81
don't lookup dg* attrs more than needed (ITS#5583)
2008-06-29 21:50:05 +00:00
Pierangelo Masarati
fa612acf41
if there is only one member_ad, and it's not mapped, consider it as old-style member listing
2008-06-14 12:39:47 +00:00
Pierangelo Masarati
74ad5210c0
cleanup
2008-04-26 15:47:06 +00:00
Pierangelo Masarati
c965d2c86d
add mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some rework; ITS#5466)
2008-04-26 15:42:01 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
2de9d97ad2
first round of s/sprintf/snprintf/; the rationale is: truncate error messages rather than buffer overflow; otherwise, assert that no buffer overflow occurred. In some cases, error handling could be added. Please note: no real error in the code was found so far, apart from that in syncprov.c and from some config-time error logging; however, errors could slip thru again if things don't change consistently
2007-09-29 17:55:33 +00:00
Howard Chu
d2179d885f
Use attr_valfind instead of value_find_ex to optimize lookups
2007-09-24 05:02:31 +00:00
Howard Chu
e8c2414831
Preliminary sorted value support
2007-09-24 01:31:23 +00:00
Howard Chu
a3547e2758
More for a_numvals
2007-09-23 04:40:16 +00:00
Hallvard Furuseth
8b7fd262b8
Cast away const
2007-09-21 12:58:34 +00:00
Pierangelo Masarati
d92e8ad1f7
add helper for internal searchs for objectClass=*
2007-09-15 17:38:53 +00:00
Pierangelo Masarati
76974d412a
add support for dgAuthz --- see discussion on -devel
2007-09-14 22:42:16 +00:00
Pierangelo Masarati
f7bda3be0a
release entry (ITS#5135)
2007-09-14 22:39:49 +00:00
Howard Chu
aec54643c2
Don't populate member list unless it was requested
2007-09-11 14:10:50 +00:00
Howard Chu
da5c3285d2
Fix config delete
2007-08-24 23:56:55 +00:00
Howard Chu
ecf59634e9
Fix prev commit
2007-08-24 23:28:43 +00:00
Howard Chu
2d4f198662
Add dgIdentity support
2007-08-23 23:33:37 +00:00
Ralf Haferkamp
3a9310431e
Reworked recent backend API changes, now using a separate struct,
...
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
5ae46c195e
Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
...
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Howard Chu
88cbe052e0
Fallout from ITS#4986 - remove unused param of select_backend()
2007-07-13 03:18:20 +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