Commit Graph

140 Commits

Author SHA1 Message Date
Hallvard Furuseth
fac36dcba7 ITS#6932: Clean up strange asserts & nearby code.
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
50b1c4e1b1 ITS#6620: Don't delete absent pwdChangedTime.
Based on patch by Martin Evans.
2010-12-02 12:19:31 +00:00
Howard Chu
21d299e370 More for ITS#6608 - don't replicate ppolicy state changes on replicas 2010-08-04 08:14:59 +00:00
Howard Chu
9434a7d676 ITS#6608 don't update mod opattrs on single-master slaves 2010-07-28 02:43:21 +00:00
Ralf Haferkamp
c4f0c2cc2b unregister controls when removing syncprov, ppolicy, valsort, chain or
sssvlv overlay
2010-07-01 11:51:43 +00:00
Howard Chu
c8c3847103 ITS#6566 use Debug, not fprintf(stderr) 2010-06-02 00:18:32 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Howard Chu
eefe62b597 Implement policy checks on compare op 2009-10-15 07:11:39 +00:00
Howard Chu
2d28fe4d4c ITS#6265 must set orm_no_opattrs 2009-08-20 00:32:28 +00:00
Howard Chu
c29b1a53b2 More for 1.124 - forwarded updates need Relax control since state attrs
are no-user-mod.
2009-07-01 07:39:22 +00:00
Howard Chu
8a0b05bfeb ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
lame way of setting an expiration date.)
2009-06-30 12:12:53 +00:00
Howard Chu
98ebf1950e Fix prev commit 2009-06-30 11:54:45 +00:00
Howard Chu
b50f9c7aa9 ITS#6082 return checker module's error message to client 2009-06-30 11:51:13 +00:00
Howard Chu
68246fb76d Fix check_password with {cleartext} passwords 2009-06-30 11:24:11 +00:00
Howard Chu
1f07d843f1 ITS#6168 actually use pwdLockout setting 2009-06-30 11:04:16 +00:00
Howard Chu
972176a1e0 Add ppolicy_forward_updates: if configured, ppolicy state changes due to
Binds are performed using the frontend, to allow them to trigger the
updateref on a consumer, which can then be forwarded by the chain overlay.
Setting is ignored if server is not a consumer.
2009-06-30 10:41:51 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
0631c47576 do not allow slapo-ppolicy to be global by now (ITS#5858) 2008-12-20 22:02:06 +00:00
Hallvard Furuseth
dffe8d37fa ITS#5770: Fix unaligned BerElements: Use BerElementBuffer, not char[size]. 2008-10-24 17:52:05 +00:00
Pierangelo Masarati
382bb4de11 save one copy (please review) 2008-10-22 21:58:59 +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
7cc2acd111 fix previous commit (ITS#5711) 2008-09-27 10:34:52 +00:00
Pierangelo Masarati
a0e3e68a02 allow controls deletion to be deferred; pass response controls back to frontend in extops (ITS#5711) 2008-09-27 10:06:43 +00:00
Howard Chu
f911e0f5d1 ITS#5569 ignore internal ops when validating pwd modify 2008-07-08 19:02:38 +00:00
Ralf Haferkamp
2688180f95 Allow unquoted DNs with whitespaces (ITS#5552) 2008-06-12 21:12:35 +00:00
Ralf Haferkamp
9d72509d05 pass ConfigReply into overlay_config() to allow progating error messages
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
8bfbbf6901 ITS#5373 allow delete/replace of userpassword without supplying new one 2008-02-12 22:53:25 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
13491b3905 ITS#5285 don't check for password reuse if history is not enabled 2007-12-15 19:35:11 +00:00
Pierangelo Masarati
3c6714051e let c_conn_idx be -1 (ITS#5235?) 2007-11-17 13:39:19 +00:00
Howard Chu
18db111c6b Fix prev commit 2007-11-07 04:59:03 +00:00
Howard Chu
8f56be2ce8 ITS#5146 better check for single val in modify 2007-11-07 04:58:07 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Howard Chu
a16eea9d8e Paranoia for prev commit 2007-08-16 20:03:27 +00:00
Howard Chu
8133e7005e Fix double-free closing multiple ppolicy overlay instances 2007-08-16 19:59:02 +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
Howard Chu
4961b95508 Revert 1.101, not appropriate 2007-07-27 09:17:56 +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
b0113c38cd ITS#5040 don't touch modifyTimestamp and other opattrs when updating
ppolicy opattrs
2007-07-22 16:42:01 +00:00
Howard Chu
087a662f9e Better fix for rev 1.97 2007-06-14 14:51:15 +00:00
Howard Chu
8cafa0b117 ITS#4970 ignore pwdMinAge if pwdReset is TRUE 2007-06-08 09:23:49 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Ralf Haferkamp
f8c94e3155 fix comparison with string literal 2007-05-07 14:55:45 +00:00
Kurt Zeilenga
f810e6ed41 Distinguish absent control value from empty control value. 2007-04-20 22:32:58 +00:00
Howard Chu
a2405e0a7e Axe slurpd / replog support 2007-04-06 00:21:02 +00:00
Hallvard Furuseth
a8eacbb355 assert expects int. (int)<nonnull ptr> can be 0. Use assert(arg!=NULL). 2007-01-11 12:03:20 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
64a2dbf9d4 ITS#4741 fix error check from external password quality module 2006-11-09 04:06:37 +00:00
Howard Chu
e9ecaa5d81 ITS#4692 entries without pwdChangedTime attribute have non-expiring pw 2006-10-03 09:25:54 +00:00