Commit Graph

5202 Commits

Author SHA1 Message Date
Pierangelo Masarati
2387d2aff8 apparently accept() doesn't fill the sun_path field of the peer socket; hack it 2004-04-03 18:48:03 +00:00
Pierangelo Masarati
58c637479d return error code only if required (ITS#3042) 2004-04-03 12:15:33 +00:00
Howard Chu
e1fc5012bd Don't manipulate password history if not configured in policy 2004-04-03 06:21:03 +00:00
Kurt Zeilenga
ad6969e6cd Add a yet-to-be-tested deliveryMethodValidate function 2004-04-02 02:25:36 +00:00
Kurt Zeilenga
6aded32c94 cleanup 2004-03-27 23:25:50 +00:00
Howard Chu
d1d1a0607e Restore build rule for dynamic backends. 2004-03-27 23:20:55 +00:00
Kurt Zeilenga
100facedf3 Don't return subordinate referrals (per RFC 3296) 2004-03-27 22:47:31 +00:00
Kurt Zeilenga
2876b3bb84 Don't disclose information to attacker.
Referrals need work (not sure why return referrals for bind requests)
2004-03-27 18:19:52 +00:00
Kurt Zeilenga
9b9127eb3f Cleanup 2004-03-27 18:19:12 +00:00
Jong Hyuk Choi
c1b50022e5 reintroduce changes made in tools/slapadd.c v1.64 (looks like missing during code move) 2004-03-26 21:54:06 +00:00
Kurt Zeilenga
855c22d862 Add numericStringOrderingMatch rule (ITS#2988) 2004-03-26 18:58:01 +00:00
Jong Hyuk Choi
4afcbf3131 fix for ITS#2995 2004-03-25 22:09:08 +00:00
Jong Hyuk Choi
c3d2afbbbe patch for ITS#2948 2004-03-25 19:20:19 +00:00
Howard Chu
54fba01be2 ITS#3036 check for syncrepl 2004-03-25 09:40:02 +00:00
Howard Chu
1a314f3bca ITS#3038 64bit compatibility (oops) 2004-03-25 09:25:25 +00:00
Kurt Zeilenga
3a468f5d90 cleanup 2004-03-24 23:44:45 +00:00
Howard Chu
81df94acaa Silence warning 2004-03-24 10:47:31 +00:00
Kurt Zeilenga
bd765b849d ITS#2768: configuring slurpd's interval between replog checks
based upon a patch submitted by Jason Townsend (Apple).
2004-03-23 01:12:11 +00:00
Kurt Zeilenga
ada53492fd Seems all overlays are going here (at present) 2004-03-20 23:10:58 +00:00
Howard Chu
be16224b03 A toy/demo overlay for collective attributes. 2004-03-20 21:54:31 +00:00
Howard Chu
5db888434b Overlay API notes. work in progress, please comment. 2004-03-20 20:30:57 +00:00
Pierangelo Masarati
2c74b5dbed follow search references as well 2004-03-20 16:35:55 +00:00
Howard Chu
e9188de738 Replaced slap_overinfo.oi_bd with oi_orig. 2004-03-20 12:56:31 +00:00
Howard Chu
09a379394a ITS#3033 fix debug msg segv 2004-03-20 09:51:33 +00:00
Howard Chu
9f5667c703 Restructure to release locks before sending result 2004-03-20 09:25:00 +00:00
Howard Chu
aec5d60620 Use REP_MATCHED_MUSTBEFREED reply flag 2004-03-20 09:24:01 +00:00
Kurt Zeilenga
9b91e0b067 Add readme. 2004-03-19 16:37:20 +00:00
Kurt Zeilenga
56cdaa594c ITS#3032: retry when GSSAPI creds are not available 2004-03-19 06:16:45 +00:00
Pierangelo Masarati
6beb139e61 fix nasty subtype bug (too many results) 2004-03-18 23:38:55 +00:00
Kurt Zeilenga
ec4e7ef232 Add note that some of the unimplemented matching rules are
now described in RFC 3698.  Would be good to implement these.
2004-03-18 21:39:57 +00:00
Pierangelo Masarati
d3de8c3336 cleanup error messages 2004-03-18 20:11:49 +00:00
Pierangelo Masarati
9d48197461 to be conservative ... 2004-03-18 19:45:34 +00:00
Pierangelo Masarati
da79e55e4b oops, I did it again 2004-03-18 19:45:15 +00:00
Pierangelo Masarati
1203eb4c82 cleanup rwm overlay; init/destroy session cookie; strip (optional) leading 'rwm-' from config directives 2004-03-18 19:21:57 +00:00
Pierangelo Masarati
fa3baaeae9 overlays reworking 2004-03-18 18:59:46 +00:00
Howard Chu
ea14637a0d Fix prev commit 2004-03-18 10:51:18 +00:00
Howard Chu
d1292c1b14 Added ppolicy_use_lockout keyword; Default behavior is not to issue the
PP_accountLocked error for locked accounts. (Gives too much information
to attackers.)
2004-03-18 10:35:54 +00:00
Howard Chu
def2fab7b5 Added ppolicy_hide_lockout keyword 2004-03-18 10:20:27 +00:00
Kurt Zeilenga
a2b2dfd461 Hide noop control until published and code is updated. 2004-03-18 04:06:20 +00:00
Kurt Zeilenga
feef2424ad Fix typo in commit before last 2004-03-18 01:20:14 +00:00
Kurt Zeilenga
f311255e3e cleanup 2004-03-18 01:18:35 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Pierangelo Masarati
5ddbd69451 improve previous commit 2004-03-17 23:43:00 +00:00
Pierangelo Masarati
764aa5d938 move DN/config test in slapdn/slaptest 2004-03-17 23:25:09 +00:00
Pierangelo Masarati
cd8e154e4f works in most cases ... 2004-03-17 22:37:59 +00:00
Pierangelo Masarati
802e3cc069 add labeledURI to back-ldap databases 2004-03-17 22:37:40 +00:00
Pierangelo Masarati
66ee9b2d73 carefully check the URI 2004-03-17 22:36:47 +00:00
Kurt Zeilenga
45332097a6 password always replaces old passwords 2004-03-17 22:21:21 +00:00
Kurt Zeilenga
5ff057089b cleanup 2004-03-17 22:14:32 +00:00
Howard Chu
2808c8d302 Fix deadlock in remove_query_data 2004-03-17 20:45:14 +00:00
Howard Chu
448239a6c9 Fix a couple SEGVs 2004-03-17 19:33:35 +00:00
Howard Chu
2821d0bdd6 Add connection_fake_init() 2004-03-17 19:33:13 +00:00
Howard Chu
829bc9969d Fix passing of state info to over_back_response 2004-03-17 17:59:47 +00:00
Pierangelo Masarati
3fe2cec561 only works with explicit overlay instantiation 2004-03-17 12:21:40 +00:00
Pierangelo Masarati
adb152972f fix previous commit 2004-03-17 11:58:59 +00:00
Pierangelo Masarati
ec6a663820 reset SlapReply flags 2004-03-17 11:50:15 +00:00
Pierangelo Masarati
b3d238465d added callbacks to most of the functions; more cleanup 2004-03-17 11:14:30 +00:00
Pierangelo Masarati
f07e485e82 search/unbind works; need to consistently add callbacks to other ops 2004-03-17 10:05:38 +00:00
Pierangelo Masarati
c0606cdfb7 reset flags (need to check consistence across slapd) 2004-03-17 09:59:04 +00:00
Howard Chu
dbade4ad8c Fix account lock check 2004-03-17 09:54:49 +00:00
Pierangelo Masarati
32573b3418 need to turn it into a man page, when it freezes 2004-03-17 09:26:50 +00:00
Pierangelo Masarati
737f3d8636 slight improvements; doesn't work yet 2004-03-17 09:25:59 +00:00
Pierangelo Masarati
e9c8fd5ee6 actually, teh backend could also be selected on a per-operation basis, if "relay <real naming comntext>" is not provided 2004-03-17 07:56:19 +00:00
Pierangelo Masarati
ba470467af add back-relay (doesn't work yet) 2004-03-17 01:03:21 +00:00
Pierangelo Masarati
fc28663a14 seeAlso to overlays as well 2004-03-16 22:18:45 +00:00
Howard Chu
52b3ca4a80 Fix non-standard OIDs 2004-03-16 22:00:10 +00:00
Pierangelo Masarati
c76427d8db add overlay subsystem and connect it to databases 2004-03-16 21:58:29 +00:00
Pierangelo Masarati
16d820ad84 add iterator on overlays 2004-03-16 21:56:40 +00:00
Pierangelo Masarati
9f5f75c7b0 init 'oi' also when the backend already has overlays... 2004-03-16 21:55:45 +00:00
Pierangelo Masarati
a453df6280 add DN check mode; rework check sinfrastructure 2004-03-16 18:36:38 +00:00
Pierangelo Masarati
4fa18e1b37 remove {} from procedures invocation, as noted in ITS#2641; copied annotations from postgres example 2004-03-16 15:15:14 +00:00
Pierangelo Masarati
5ff958a5fd fix brain dead count (part of ITS#2641) 2004-03-16 11:03:27 +00:00
Howard Chu
23a9893726 Password policy schema from draft 7 2004-03-16 10:34:24 +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
075137b8dd Fix prev commit 2004-03-16 03:24:08 +00:00
Pierangelo Masarati
27f28d5270 handle overlays 2004-03-16 01:22:34 +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
3e586bd393 cleanup 2004-03-14 00:59:37 +00:00
Howard Chu
e05b4b7db6 Cleanup result handling 2004-03-12 21:08:37 +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
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
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
Jong Hyuk Choi
2b77fb424c backend operations check 2004-03-09 20:43:19 +00:00
Jong Hyuk Choi
4bb948620a checking limits at the frontend 2004-03-09 20:43:01 +00:00
Pierangelo Masarati
25b24289d2 fix typos 2004-03-09 20:21:10 +00:00
Pierangelo Masarati
006745430e allow "expand" style in peername, sockname, sockurl as well; more sanity checks 2004-03-09 19:44:14 +00:00