Commit Graph

5236 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
042869366d use "expand" instead of "regex" for group ACLs that allow substring expansion, preserving backwards compatibility; add sanity checks 2004-03-09 16:33:05 +00:00
Pierangelo Masarati
490e1e4aa9 move limits check and preparation in a helper function 2004-03-09 15:59:01 +00:00
Pierangelo Masarati
960b5f8656 add sanity checks 2004-03-09 14:45:10 +00:00
Pierangelo Masarati
82019df71a cleanup 2004-03-09 14:33:23 +00:00
Pierangelo Masarati
f145457d0c move limits check and preparation in a helper function 2004-03-09 14:32:00 +00:00
Luke Howard
d249714033 s/SERVER_SEARCH_FLAG/SEARCH_FLAG 2004-03-09 14:12:34 +00:00
Luke Howard
87a02dbb14 Support server search flag control as alias for permissive modify
Recognise tree delete control - needs backend support
2004-03-09 14:05:01 +00:00
Pierangelo Masarati
28285002a1 deny an operation 2004-03-09 10:23:19 +00:00
Pierangelo Masarati
2fe1eb921d cleanup 2004-03-09 07:08:04 +00:00
Pierangelo Masarati
6a425692be another round at rwm; now add and compare are nearly complete; error handling is in place 2004-03-09 07:06:20 +00:00
Jong Hyuk Choi
ede2f47452 supress log message for glue add case 2004-03-09 00:34:32 +00:00
Jong Hyuk Choi
964dcc04a2 patch to fix consumer replica cookie format in slaptools 2004-03-09 00:34:01 +00:00
Pierangelo Masarati
a4e062ca36 apply advanced peername ACL (ITS#2907) 2004-03-08 18:49:12 +00:00
Pierangelo Masarati
091246c6fd move limits evaluation to frontend 2004-03-08 18:12:45 +00:00
Pierangelo Masarati
4645eeb5ec cleanup DN style in limits 2004-03-08 13:13:30 +00:00
Pierangelo Masarati
ac0d45179f log set in ACL (ITS#2949) 2004-03-08 11:09:49 +00:00
Pierangelo Masarati
2d8467d480 declarations must occur before instructions 2004-03-08 11:01:52 +00:00
Howard Chu
48ac610097 ITS#3004 fix again 2004-03-06 19:16:20 +00:00
Howard Chu
113870c194 Revert to original code 2004-03-06 19:15:39 +00:00
Pierangelo Masarati
5c6ec10f48 massage normalized DN when either is fine 2004-03-06 16:49:08 +00:00
Pierangelo Masarati
29a5162483 cleanup 2004-03-06 16:47:58 +00:00
Pierangelo Masarati
9b6d816fe1 handle unknown attribute type (ITS#3005) 2004-03-06 15:58:26 +00:00
Pierangelo Masarati
abf2df7a11 initial round of fixes related to ITS#2986 2004-03-06 15:01:16 +00:00
Howard Chu
ea0d619dae Store IDs in BeigEndian format on disk 2004-03-06 12:41:29 +00:00
Howard Chu
ef7195fc31 Store IDs in BigEndian format on disk
bdb_idl_cache_put replaces existing entries instead of ignoring them
2004-03-06 12:41:00 +00:00
Howard Chu
23b2ce8b3a ITS#3004, fix IDL cache AVL comparisons 2004-03-06 12:29:19 +00:00
Pierangelo Masarati
5716b7f1b2 document saslAuthzTo/saslAuthzFrom new syntax; add onelevel style to DN type 2004-03-06 11:00:49 +00:00
Pierangelo Masarati
2b393962fc fix continuation of ITS#2999 2004-03-06 09:33:24 +00:00
Howard Chu
efd23f5c0c Fix prev commit 2004-03-05 19:29:02 +00:00
Howard Chu
9b16d161d5 Take advantage of IDL cache in bdb_idl_insert/delete_key 2004-03-05 15:41:30 +00:00
Howard Chu
18bb805736 Fix prev commit 2004-03-05 15:40:37 +00:00
Howard Chu
c5d8c776ca Set IDL cache to 10x Entry cache by default 2004-03-05 13:46:12 +00:00
Howard Chu
896beebadc unifdef SLAP_IDL_CACHE 2004-03-05 13:43:18 +00:00
Howard Chu
c558bd49bc ITS#2992 Windows fixes from Alexey Melnikov 2004-03-05 12:24:06 +00:00
Howard Chu
87a4c01b29 ITS#2998 rename pcl -> be_pcl 2004-03-05 10:33:41 +00:00
Pierangelo Masarati
f5ffcae717 cleanup 2004-03-05 09:56:16 +00:00
Pierangelo Masarati
b761105439 improve fix to ITS#2999: don't care about limits after abandon 2004-03-04 23:02:30 +00:00
Pierangelo Masarati
23b0e84cb8 fix ITS#2999 2004-03-04 22:56:49 +00:00
Howard Chu
de1ee3757b Fix missing EQAULITY rules 2004-03-03 10:51:32 +00:00
Howard Chu
896271195a ITS#2974 fix hole array allocation 2004-03-02 23:01:04 +00:00
Howard Chu
4504b48c6b default_passwd_hash now takes a list of schemes
passwordModify exop will generate all the configured hashes
2004-03-02 22:12:23 +00:00
Howard Chu
5f63dfc566 lutil_passwd_hash result berval is in argument list now 2004-03-02 22:11:31 +00:00
Howard Chu
1b98cd6262 Fix SLAPI_ADD_RESCONTROLS 2004-03-02 20:31:37 +00:00
Howard Chu
4a8bb3991f ITS#2961 check for NULL authcDN 2004-03-02 18:37:49 +00:00
Howard Chu
e729d96ecd ITS#2985 fix slappasswd typo 2004-03-01 14:54:05 +00:00
Howard Chu
b480d7c9ff Added pwdexop request structure to avoid redundant parsing 2004-02-29 19:04:34 +00:00
Pierangelo Masarati
d015b9583c handle filter computed in a more granular way (ITS#2977) 2004-02-28 16:05:59 +00:00
Pierangelo Masarati
ca5515b460 fix the problem right now 2004-02-28 15:20:56 +00:00
Pierangelo Masarati
fa2cb48f3a should fix ITS#2983 - total count of ops initiated/completed in root of operations branch 2004-02-28 14:36:19 +00:00
Kurt Zeilenga
c850d82559 Move to Attic 2004-02-27 01:23:44 +00:00
Howard Chu
57ba4cac66 Merged slap tools with main slapd binary; installs symlinks.
tools directory is now obsolete.
2004-02-26 19:03:41 +00:00
Howard Chu
2d0af83c71 ITS#2934 - don't touch conn->c_sasl_dn for Simple Binds 2004-02-26 11:48:34 +00:00
Howard Chu
7fe35bcddb ITS#2978 make sure liboverlays.a is always built and used 2004-02-26 03:38:38 +00:00
Howard Chu
0aebe2e51a ITS#2970 fix build_new_dn for zero-length parent DN 2004-02-26 02:58:12 +00:00
Jong Hyuk Choi
4e3c30bbf0 misc addition to the previous glueing commit 2004-02-24 01:55:59 +00:00
Jong Hyuk Choi
d7d19b7420 Glue entry pruning: delete parent entries when they are glues and become leaves 2004-02-23 22:49:24 +00:00
Jong Hyuk Choi
372dcb78eb Glue entry pruning : delete parent entries after modrdn when they are glue and become leaf entry 2004-02-23 22:48:46 +00:00
Jong Hyuk Choi
0c58aa3ab9 Glue entry pruning support: delete the parent entries when they are glue and become leaf 2004-02-23 22:47:55 +00:00
Pierangelo Masarati
6f9b99bc69 improve filter error logging in case of unknown attribute type 2004-02-23 11:45:19 +00:00
Jong Hyuk Choi
53d191e14d syncrepl update: 1) improve error handling 2) glueing support for non-leaf deletion (TODO : deletion of leaf glue entries in the delete / modrdn code) 2004-02-22 20:44:44 +00:00
Pierangelo Masarati
4e57108991 allow search limits based on groups (ITS#2967) 2004-02-18 16:40:36 +00:00
Jong Hyuk Choi
528ea2f808 sync with the man page slapadd(8) : does not change syncrepl entries in the ldif file when neither of the promotion (-p) or the demotion (-r) option is given. 2004-02-17 23:56:18 +00:00
Pierangelo Masarati
129aa2884b fix numericStringMatch (ITS#2938) 2004-02-17 20:30:37 +00:00
Pierangelo Masarati
1ac20b1f02 improve previous commit 2004-02-17 13:34:51 +00:00
Pierangelo Masarati
cb3d538ea3 allow no-user-modification propagations if back-ldap is used for replication (i.e. updatedn is defined) 2004-02-17 12:39:42 +00:00
Howard Chu
8a55795fbe ITS#2888 fix back-ldap to check result of send_search_entry.
Make sure sizelimit errors are propagated.
2004-02-13 02:44:13 +00:00