Commit Graph

15427 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
6581f10e9c fix typo (ITS#4753) 2006-11-15 23:49:04 +00:00
Kurt Zeilenga
2b269055c4 Clarify that directories are searchable and browsable databases,
not just directories optimized for read access.  Categorize DNS as
a "lookup" service.  Give dmoz.org as an example of directory service.
2006-11-15 19:20:18 +00:00
Howard Chu
ee0026ec1e Don't bother setting up threads if there are no indexed attrs (unlikely...) 2006-11-15 01:20:34 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Ralf Haferkamp
cdb9b2e2aa Add calls to PERL_SET_CONTEXT, as the active thread might not be the one
that created the PerlInterpreter object (ITS#4751)
2006-11-14 15:18:50 +00:00
Pierangelo Masarati
72e586ba36 revert previous commit; disable RESTART from ldap.conf 2006-11-13 23:51:52 +00:00
Pierangelo Masarati
10e84d7192 document missing RESTART option (ITS#4749); restore alphabetical order 2006-11-13 16:39:44 +00:00
Howard Chu
510c2b881e ITS#4746 additional leaks 2006-11-13 02:57:05 +00:00
Howard Chu
c9da788f78 ITS#4746 plug leaks 2006-11-13 02:44:45 +00:00
Howard Chu
bd95f8ab1c ITS#4738 provisional fix, still needs confirmation 2006-11-13 00:24:59 +00:00
Howard Chu
7703e7e3a9 ITS#4490 fix awk comment 2006-11-12 23:40:36 +00:00
Pierangelo Masarati
3c1df853e4 fix endless loop in canceling child requests; cleanup 2006-11-12 14:22:24 +00:00
Howard Chu
c6bf6672aa Add valx arg to config_parse_add - indicate which value in the current
operation is executing (as opposed to c->valx which indicates which
value in the target is being changed)
2006-11-12 02:22:23 +00:00
Howard Chu
48fce3d119 ITS#4742 cleanup config error reporting 2006-11-12 02:15:49 +00:00