Commit Graph

97 Commits

Author SHA1 Message Date
Howard Chu
299fb490a2 ITS#9121 fix prev commit
Only flush entry if dynlist_prepare_entry altered it
2020-02-14 22:32:03 +00:00
Howard Chu
02eb0b6fe8 ITS#9121 fix filtering of dyngroups with memberof 2020-02-04 16:36:42 +00:00
Howard Chu
f860fff714 ITS#9121 more memberof tweaks 2020-01-21 23:36:56 +00:00
Howard Chu
8e2291275a ITS#9121 dynlist: fix not filters 2020-01-21 11:27:21 +00:00
Howard Chu
cb42a6e91a ITS#9121 fix memberOf eval
Must disable ACL group caching when checking membership
2020-01-17 14:49:58 +00:00
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Howard Chu
14d4215bc1 ITS#9121 more for dynamic memmber/memberOf 2019-12-18 20:37:58 +00:00
Howard Chu
c458744e32 ITS#9121 cleanup
Delete unused code, add comments
2019-12-16 18:42:57 +00:00
Howard Chu
90b0abd894 ITS#9121 dynlist enhancements
1) allow filtering on dynamic attribute values
2) populate an optionally configured memberOf attribute

test044 script still needs to be extended to test these
enhancements. We need to define an interim attributeType
for testing memberOf functionality.
2019-12-16 18:31:12 +00:00
Ondřej Kuzník
97a310b312 ITS#8731 Apply doc/devel/variadic_debug/04-variadic.cocci 2019-02-15 16:51:53 +00:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Quanah Gibson-Mount
59e9ff6243 Happy New Year 2018-03-22 15:35:24 +00:00
Quanah Gibson-Mount
1df85d3427 Happy New Year! 2017-01-03 12:36:47 -08:00
Hallvard Furuseth
23c5d6bbdd ITS#8435 Fix uninited slap_callback.sc_writewait 2016-06-12 08:30:58 +02:00
Quanah Gibson-Mount
6c4d6c880b Happy New Year! 2016-01-29 13:32:05 -06:00
Quanah Gibson-Mount
1705fa7e55 Happy New Year 2015-02-11 15:36:57 -06:00
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