Commit Graph

9948 Commits

Author SHA1 Message Date
Howard Chu
23a9893726 Password policy schema from draft 7 2004-03-16 10:34:24 +00:00
Howard Chu
c564301d34 Added tests for password policy overlay 2004-03-16 10:16:21 +00:00
Howard Chu
b59da518cf Password policy overlay, implements draft 7. The spec is still in flux;
this module should not be used in production.
2004-03-16 10:15:18 +00:00
Howard Chu
71bc8817e6 Revert "delete old" change; doesn't work for salted hashes. 2004-03-16 04:24:39 +00:00
Howard Chu
12258ab798 Fix prev commit 2004-03-16 03:54:09 +00:00
Howard Chu
075137b8dd Fix prev commit 2004-03-16 03:24:08 +00:00
Howard Chu
79994bad5d Clean up Bind ppolicy diagnostics 2004-03-16 02:59:03 +00:00
Howard Chu
75325beefe Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:50:10 +00:00
Howard Chu
1dc6c053c1 Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:48:21 +00:00
Howard Chu
2f86087e56 Hide password policy code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:47:16 +00:00
Howard Chu
de5a77c8a2 Rename ppcontrol.c to ppolicy.c 2004-03-16 01:39:04 +00:00
Pierangelo Masarati
27f28d5270 handle overlays 2004-03-16 01:22:34 +00:00
Kurt Zeilenga
c984dbf09b OID/comment cleanup 2004-03-16 01:17:07 +00:00
Kurt Zeilenga
9d7a629bc4 Update LDAP Sync OIDs to those assigned for RFC publication 2004-03-16 00:51:11 +00:00
Howard Chu
d516556d27 Fix prev commit 2004-03-16 00:00:43 +00:00
Howard Chu
a2b582b0e2 Added password policy support 2004-03-15 23:54:38 +00:00
Howard Chu
2b86ace653 ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Howard Chu
db52f51943 Preserve old slap_passwd_hash() signature, add slap_passwd_hash_type() 2004-03-15 20:58:41 +00:00
Howard Chu
0c9b308781 Delete old password if provided 2004-03-15 19:52:17 +00:00
Kurt Zeilenga
0ba4b24c36 Rework to support txn intermediate responses
(if only they were implemented :-)
2004-03-15 02:20:38 +00:00
Kurt Zeilenga
647df2b9cb Start of client-side LDAP tranactions (non-working)
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
f1f1b0f69b Move to -release based soname versioning 2004-03-14 04:05:47 +00:00
Kurt Zeilenga
3e586bd393 cleanup 2004-03-14 00:59:37 +00:00
Kurt Zeilenga
af9e1583a7 Add prototypes for grouping functions
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Kurt Zeilenga
0787c28078 macros for grouping of related operations
macros for transaction groupings
2004-03-14 00:07:23 +00:00
Howard Chu
9a8ded9ff1 Fix for password policy draft 7 2004-03-13 10:03:58 +00:00
Howard Chu
27d0e14a12 Cleanup comments, copyright 2004-03-13 09:13:11 +00:00
Kurt Zeilenga
25805a3bb2 -E/-e are not just for controls 2004-03-12 22:34:07 +00:00
Kurt Zeilenga
ad585f5692 unifdef -UOLD_WAY 2004-03-12 22:21:14 +00:00
Howard Chu
3810fa18d8 Added PasswordPolicy control 2004-03-12 21:22:32 +00:00
Howard Chu
e05b4b7db6 Cleanup result handling 2004-03-12 21:08:37 +00:00
Pierangelo Masarati
daa29805ad define error codes for lutil_passwd* funcs 2004-03-12 20:07:41 +00:00
Howard Chu
cdeda34029 Add c_conn_idx, to simplify external modules managing per-connection state 2004-03-12 18:22:37 +00:00
Kurt Zeilenga
95459fef7f New LDAP RFCs 2004-03-11 21:10:05 +00:00
Pierangelo Masarati
ed1f5965bd fix error message 2004-03-11 13:02:13 +00:00
Pierangelo Masarati
246fa41c96 "searchFilter" by default must be empty 2004-03-10 21:53:39 +00:00
Jong Hyuk Choi
33442d7ced for ITS#3105 2004-03-10 21:49:08 +00:00
Pierangelo Masarati
2f4678f204 "searchFilter" by default must be empty 2004-03-10 21:44:22 +00:00
Pierangelo Masarati
c507808524 add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite 2004-03-10 21:41:02 +00:00
Pierangelo Masarati
6a75d14930 revert previous commit 2004-03-10 21:12:53 +00:00
Pierangelo Masarati
65b49dd312 add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite 2004-03-10 21:11:14 +00:00
Pierangelo Masarati
1d1cd21814 allow '$' as action prefix instead of '%'; backward compatibility is preserved 2004-03-10 19:21:39 +00:00
Pierangelo Masarati
823fa1705e rewrite entry DN-valued attrs 2004-03-10 19:04:18 +00:00
Pierangelo Masarati
d779a3d543 use prepare/bind/execute instead of bind/execdirect (addresses ITS#2641) 2004-03-10 14:51:41 +00:00
Howard Chu
35c774d3b8 Yet more for ITS#3008. Seems to work properly now. 2004-03-10 09:11:20 +00:00
Howard Chu
3853fade60 More for ITS#3008 2004-03-10 08:00:41 +00:00
Howard Chu
cac30b1855 ITS#3008 fix value-based ACLs 2004-03-10 02:59:03 +00:00
Howard Chu
75725a7ad8 Turn off syslog for slap tools 2004-03-10 02:44:38 +00:00
Howard Chu
826de96417 Minor cleanup 2004-03-10 02:44:10 +00:00
Pierangelo Masarati
14f2ebe1d3 '=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbis-dn-XX (ITS#3009; must have slipped thru some changes long time ago...) 2004-03-09 20:43:27 +00:00