Commit Graph

66 Commits

Author SHA1 Message Date
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
Howard Chu
54eb6f539c Remove redundant def 2005-05-06 01:45:44 +00:00
Howard Chu
59de8333d0 Fix ppolicy libltdl usage on Win32 2005-04-26 12:54:24 +00:00
Howard Chu
855f7d44e9 pwdReset was not supposed to be NO-USER-MODIFICATION 2005-04-22 18:42:52 +00:00
Howard Chu
5158e46d59 Note draft 8 in comment 2005-04-22 09:10:06 +00:00
Howard Chu
3400b96d71 ITS#3655 patch from Ralf rhafer@suse.de update to draft 8 behavior 2005-04-22 09:09:12 +00:00
Howard Chu
5aed76fe78 ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
119cbcaba4 Schema unparsing support 2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f Add HARDCODE schema flags 2005-03-21 00:22:54 +00:00
Pierangelo Masarati
5b193c218f fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now 2005-01-25 19:39:56 +00:00
Kurt Zeilenga
28b5df9a90 Hide "work in progress" 2005-01-25 05:35:54 +00:00
Howard Chu
aa913f1bef Use be_shadow_update, not be_isupdate 2005-01-13 19:02:08 +00:00
Pierangelo Masarati
f40527ef49 fix ACL value checking for bind (ITS#3446) 2005-01-07 13:57:16 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
30a6f4d24d Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
996354e2dd Pass entire entry to password_quality check module, not just attrs 2004-12-01 16:01:04 +00:00
Howard Chu
47dd8d8732 Dynamic control management 2004-11-23 13:08:45 +00:00
Howard Chu
e4c231fe0c Only use libltdl #if SLAPD_MODULES is defined, otherwise ignore
external pwdCheckModules.
2004-11-05 08:57:05 +00:00
Howard Chu
1df6d76269 Add ppolicy_hash_cleartext config keyword, hash Adds as well as Modifies.
Changed check_pw_quality callback to pass entry's Attributes in final arg.
2004-10-07 04:07:17 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Howard Chu
e014144f98 Move time parsers from ppolicy.c to liblutil; preserve greater precision 2004-09-28 12:23:37 +00:00
Howard Chu
89b03a1c7e Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
77df33a164 Fix crash on modify if userpassword didn't exist yet 2004-08-15 22:23:58 +00:00
Howard Chu
a14bda1df4 strptime is unreliable, just parse time ourselves 2004-07-18 18:28:16 +00:00
Pierangelo Masarati
657e580bbe fix schema initialization when built as module... 2004-05-13 23:33:14 +00:00
Howard Chu
c0075d57b4 better fix for prev commit 2004-05-13 00:46:52 +00:00
Howard Chu
ee0af2b9d5 ITS#3137 defer schema loading until overlay configuration 2004-05-13 00:38:24 +00:00