Commit Graph

94 Commits

Author SHA1 Message Date
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
Howard Chu
e04275ca04 Use register_at / register_oc 2006-09-13 13:26:56 +00:00
Pierangelo Masarati
d95b88da21 plug slapo-ppolicy related leaks (ITS#4665) 2006-09-03 10:53:38 +00:00
Pierangelo Masarati
f797bc49a7 minor cleanup 2006-08-31 17:34:01 +00:00
Pierangelo Masarati
5d3121902f Add single-password constraint; NOTE from ppolicy.c:
/* FIXME: there's no easy way to ensure
 * that add does not cause multiple
 * userPassword values; one way (that
 * would be consistent with the single
 * password constraint) would be to turn
 * add into replace); another would be
 * to disallow add.
 *
 * Let's check at least that a single value
 * is being added
 */
2006-08-28 12:44:39 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Howard Chu
11a0ea514a Tone down default ppolicy msg 2006-08-07 23:33:03 +00:00
Howard Chu
9f75c6a43d ITS#4634 always init pp->ad 2006-08-07 22:40:51 +00:00
Howard Chu
23a6aa373b ITS#4596 control can be critical 2006-07-02 02:50:13 +00:00
Pierangelo Masarati
103392b9a3 fix scheme recognition (ITS#4575) 2006-06-13 19:45:11 +00:00
Howard Chu
16448bf347 Fix prev commit 2006-06-05 21:26:23 +00:00
Howard Chu
e1b17653d6 Fix ITS#4576 reset restrict after successful pw mod 2006-06-05 20:13:40 +00:00
Howard Chu
bec0b4ef89 Add dynamic config support for auditlog and ppolicy 2006-05-30 11:49:16 +00:00
Howard Chu
a0ee28698c ITS#4516 clear restricted status if other Binds have succeeded 2006-05-11 13:39:44 +00:00
Howard Chu
478ae2346e PPOLICY_ERROR is primitive, not constructed 2006-04-22 00:23:44 +00:00
Howard Chu
449188fb73 Fix EXPIRE/GRACE tags in control value 2006-04-21 23:45:29 +00:00
Howard Chu
c2b660f3d7 ITS#4355 timestamps must be normalized 2006-01-19 22:16:23 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Howard Chu
c5cf54dddf Fix Add password_hash to not depend on password quality configuration 2005-11-16 18:51:56 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Howard Chu
19f6e2d943 ITS#4148 fix replica mods 2005-11-05 08:50:16 +00:00
Howard Chu
e0ec0a21c2 ITS#4134 additional fix 2005-11-03 00:51:57 +00:00
Howard Chu
82db113f32 ITS#4134 delete pwdFailureTime on password reset 2005-11-03 00:35:46 +00:00
Howard Chu
20cb8f49f9 ITS#4025 add pretty/normal for pwdAttribute that recognizes descr's as
well as numeric OIDs
2005-09-27 16:15:59 +00:00
Howard Chu
92909f0682 ITS#3980 fix when master doesn't explicitly reset grace/lock attrs 2005-09-04 23:44:04 +00:00
Howard Chu
1e4d973616 ITS#3980, filter out some delete modifications on replicas if target
attrs don't exist
2005-09-04 16:22:30 +00:00
Howard Chu
36db408d0e Add missing return from rev 1.27 2005-09-02 21:27:49 +00:00
Howard Chu
f4637d60c2 per LDAPext discussion, delete pwdAccountLockedTime on password change 2005-09-02 20:38:05 +00:00
Howard Chu
f1561ac4b5 Bypass all add/modify checks on replicas, the master has done them already. 2005-09-02 20:23:32 +00:00
Howard Chu
d7122627fa Leave pwdPolicySubEntry user-modifiable for now 2005-08-26 00:19:08 +00:00
Howard Chu
ef220ac1ef Updated for draft 09, allow MANAGE for operational attrs. 2005-08-23 19:37:16 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061 zero out sml_managing any time a Modifications is built (use calloc?) 2005-08-18 08:12:26 +00:00
Howard Chu
315c4a3b72 ITS#3946 reset lockout status at beginning of all Binds 2005-08-18 07:05:56 +00:00
Howard Chu
d247840d6b ITS#3946 use connection_destroy hook to reset lockouts instead of unbind 2005-08-17 16:42:22 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Hallvard Furuseth
7ab3d2c245 Silence warnings 2005-07-14 19:32:21 +00:00
Howard Chu
b131aab00e Streamline call to lutil_passwd_scheme 2005-07-08 06:05:02 +00:00
Hallvard Furuseth
f841c364eb Format fixes (%d<->%lu etc) 2005-07-06 05:53:02 +00:00
Howard Chu
b6aa697000 ITS#3779 fix pwdLockoutDuration handling 2005-06-15 21:21:12 +00:00
Howard Chu
60339c7f77 ITS#3777 fix scheme comparison 2005-06-15 03:06:48 +00:00
Howard Chu
21b8be393a Add slap_timestamp(), use mutex in slap_get_csn() 2005-06-07 04:12:14 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Pierangelo Masarati
58abc661f6 "restrict" is a c99 keyword (ITS#3739) 2005-05-21 00:15:16 +00:00