Commit Graph

15441 Commits

Author SHA1 Message Date
Pierangelo Masarati
a76b702d4c fix request/result abandon 2006-12-03 20:56:25 +00:00
Pierangelo Masarati
dbe9a54ec0 document -I switch 2006-12-03 20:55:52 +00:00
Pierangelo Masarati
c89d0db64f fix deadlock in case of bind error; propagate error as appropriate 2006-12-02 17:09:20 +00:00
Pierangelo Masarati
41c4afb331 improve error message 2006-12-02 16:17:01 +00:00
Pierangelo Masarati
e73ce756cc fix DN (and berval'ued items requiring) normalization in bindconf_parse (ITS#4766) 2006-12-02 16:13:25 +00:00
Pierangelo Masarati
19dabd2fa8 complain if instantiated outside of a database definition 2006-12-02 10:42:42 +00:00
Pierangelo Masarati
78af5454d2 use case consistent with RFCs (ITS#4764) 2006-12-02 10:30:29 +00:00
Pierangelo Masarati
2e4ab03f1f revert -I for slapd-bind 2006-12-02 10:25:56 +00:00
Howard Chu
c8a000cb7b ITS#4765 init slap_daemon.sd_actives 2006-12-01 15:02:14 +00:00
Howard Chu
43f0177a08 Fix prev commit, attrs_dup left a_desc uninit'd 2006-12-01 15:00:10 +00:00
Howard Chu
eb47d50da7 Tweak bei_state so cache_lru_add doesn't ever try to free just-added
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
2006-12-01 14:48:38 +00:00
Howard Chu
7540751392 ITS#4723 add CRYPTO_set_id_callback 2006-11-30 06:37:12 +00:00
Howard Chu
b79d63516d Rewrite attrs_dup with attrs_alloc.
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
3711183610 Skip checkpoint call if size was not specified - defer time-based
checkpoints to the runq job
2006-11-27 19:54:04 +00:00
Howard Chu
c812e3fdf1 Fix modify ops 2006-11-27 19:15:28 +00:00
Howard Chu
2ccecba836 URL with authority spec must use absolute path 2006-11-27 19:03:59 +00:00
Howard Chu
e7be7301c2 allow file: URLs without authority spec. 2006-11-27 18:59:46 +00:00
Howard Chu
9446f8554b define LDIF_MAXLINE instead of using BUFSIZ 2006-11-27 18:59:04 +00:00
Howard Chu
181982470f Reject malformed LDIF - missing modops, or mismatched attributes 2006-11-27 04:49:30 +00:00
Howard Chu
ead61fbfad Revert rbuf length setting in prev commit 2006-11-27 04:15:55 +00:00
Howard Chu
ee9623ad0f Use quicksort in slap_mods_check for finding duplicates.
Currently enabled, preserving original order of input. See ifdefs to
alter the behavior: SLAP_MODS_CHECK_QUICKSORT, PRESERVE_ORDER
2006-11-25 10:58:45 +00:00
Howard Chu
712129fe11 Parser rewrite:
use liblutil's ldif_read_record instead of read_one_record
  track line numbers across entire LDIF instead of just for a single
	entry, to allow easier locating of errors. (we can also add the
	-j jump option later.)
  split Add/Modify parse paths, precompute size of pmods instead of
  	continuously using realloc.

Entry processing is now linear time instead of n^2 with entry size.
2006-11-24 17:05:45 +00:00
Pierangelo Masarati
0981516abf fix ITS#4760 differently 2006-11-24 13:02:26 +00:00
Pierangelo Masarati
de254abb27 destroy cached groups after identity change (ITS#4760) 2006-11-24 11:43:47 +00:00
Pierangelo Masarati
14ac05436a fix defaults in "group" in parsing (ITS#4761) 2006-11-24 11:29:05 +00:00
Pierangelo Masarati
09abc9f8ae fix leak in case of retry 2006-11-24 01:44:11 +00:00
Pierangelo Masarati
8326ac21b1 add "report" to "onerr" modes: continue a search in case one target returns an error, and only propagate the error at the end 2006-11-23 23:50:36 +00:00
Pierangelo Masarati
a06fc9cb02 fix backward compatibility issues in ACI; more debug logging (ITS#4759) 2006-11-23 23:29:45 +00:00
Howard Chu
574769395a ITS#4600 #if out redundant checks. will delete them later. 2006-11-23 11:07:03 +00:00
Pierangelo Masarati
17296f11e7 add support for extra ops after bind; allow to skip bind for slapd-search/read 2006-11-18 18:25:46 +00:00
Pierangelo Masarati
14e1feed1f fix leak when 'rebind-as-user' is set (and client searches without prior bind) 2006-11-18 18:02:46 +00:00
Pierangelo Masarati
22dfffcf23 fix sizelimit (formatting in ldap_search_ext(), absence in ldap_search_ext_s()) 2006-11-18 17:05:58 +00:00
Howard Chu
dfafda4128 Better tracking of system schema, refresh cn=schema after moduleloads 2006-11-17 22:52:20 +00:00
Howard Chu
701c39ed83 Tone down enum_tree warning 2006-11-17 22:51:04 +00:00
Howard Chu
f0f7324e0e Keep hardcoded schema together in lists 2006-11-17 20:11:11 +00:00
Howard Chu
ecd7c78547 More tweaks 2006-11-17 19:28:16 +00:00
Howard Chu
d3deed6119 Expand examples, mention converting old conf file with slaptest. 2006-11-17 19:05:31 +00:00
Howard Chu
28bd54a06d ITS#4755 add rid to syncrepl debug msgs 2006-11-17 02:11:57 +00:00
Howard Chu
415d9f50b2 Reject BDB version 4.3; it is too unstable. 2006-11-16 20:48:45 +00:00
Howard Chu
15502d87ae Add note about access controls on config backend 2006-11-16 15:09:47 +00:00
Howard Chu
7e67997e85 More RFC4533 syncrepl references 2006-11-16 14:49:07 +00:00
Howard Chu
8a521a1bd4 Remove ordering restriction on logdb configuration, revise example 2006-11-16 14:38:37 +00:00
Howard Chu
b711426a99 Fix prev commit, reset DB pointer 2006-11-16 14:27:49 +00:00
Howard Chu
7cfa3ae34a Use runq to defer creation of log root entry; allows the log DB to come
after the main DB in the configuration. Allows logging cn=config.
2006-11-16 14:12:09 +00:00
Howard Chu
9023ba385d Refer SLAPI to slapd.plugin(5) 2006-11-16 12:47:32 +00:00
Howard Chu
0a69f3721d Fix typos 2006-11-16 12:05:25 +00:00
Howard Chu
2e15100e98 manpage is slapd-config(5), not slapd.d(5) 2006-11-16 11:53:18 +00:00
Howard Chu
15d898f73d ITS#3812 back-config documentation 2006-11-16 11:48:19 +00:00
Howard Chu
687098d634 syncrepl is now RFC4533 2006-11-16 05:51:47 +00:00