Commit Graph

85 Commits

Author SHA1 Message Date
Pierangelo Masarati
a6fd7fa95a add -S to slapadd to set desired SID in generated entryCSN/contextCSN 2007-08-28 19:35:57 +00:00
Pierangelo Masarati
8931d68e37 close LDIF handler (valgrind) 2007-08-27 07:14:04 +00:00
Pierangelo Masarati
9a55fe709c add '-Q' switch (used by slaptest only; ITS#4930) 2007-08-14 13:42:40 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
dfc10014b1 Fix for !(LDAP_DEBUG && LDAP_SYSLOG) 2007-05-11 23:04:33 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Howard Chu
5d3f3c240d ITS#4554 slapindex takes a list of attributes to index 2007-01-15 01:14:14 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
3f4e196beb Portability cleanups 2006-09-14 07:29:46 +00:00
Howard Chu
8ae4cbe643 Must use ch_strdup, not strdup 2006-08-29 01:36:52 +00:00
Howard Chu
59ca2d198f ITS#4555 add "-j" option to jump to line of LDIF file before processing.
Fixed line number in error messages to give the line number of the beginning
of the offending entry.
2006-05-29 02:41:06 +00:00
Pierangelo Masarati
cff53d4867 allow tools to syslog 2006-05-24 17:57:13 +00:00
Howard Chu
0ef7742328 Reparse unknown debug flags after config is read to allow use
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
a9844efa70 ITS#4319 fix check for need_shutdown/slap_shutdown() 2006-01-10 18:32:09 +00:00
Luke Howard
c51a71e5c2 Add -s option to slapadd to disable schema checking 2006-01-08 20:18:14 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
3517bdf260 revert previous commit(s); clarify usage of "-s" in slapd(8). 2005-12-20 08:20:16 +00:00
Pierangelo Masarati
ce3c024557 slapdn calls shutdown without startup 2005-12-16 22:24:53 +00:00
Pierangelo Masarati
2422e6aaab fix compilation without debugging (ITS#4245) 2005-12-05 10:39:38 +00:00
Pierangelo Masarati
6459cbb7ce allow comma-separated descriptive log levels, so that tests can be run, e.g., with "SLAPD_DEBUG=stats,stats2"; s/ldap_debug/slap_debug/ 2005-11-28 10:55:07 +00:00
Pierangelo Masarati
44a1f10d97 allow arbitrary base also in tools 2005-11-25 18:34:18 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
0fd295a321 first round of number/time parsing fixes 2005-11-23 17:29:16 +00:00
Pierangelo Masarati
6315ac9db6 tools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show up by default; use "-d 0" to reset (addresses ITS#4044) 2005-11-09 11:53:34 +00:00
Pierangelo Masarati
e725c8488a allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest 2005-10-31 18:48:12 +00:00
Howard Chu
37e58a73a4 Revert prev commit, use -g option to disable glue instead 2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15 ITS#4089 use slapcat -n XX to specify just the superior of a glued tree 2005-10-15 20:08:56 +00:00
Howard Chu
12733ab92f ITS#3996 fix glue/syncprov interaction 2005-09-27 15:10:57 +00:00
Howard Chu
4a1eabf257 Moving glue overlay back into slapd core, returning to 2.2 config syntax 2005-09-01 11:45:04 +00:00
Howard Chu
975de9aa5b Consolidate a few more init calls into slap_init(). Fixes ITS#3962,
unintentional changed default of TLSVerifyClient.
2005-08-28 03:25:16 +00:00
Pierangelo Masarati
725423ef4f couldn't slapcat with ACIs in slapd.conf :) 2005-08-19 00:30:10 +00:00
Pierangelo Masarati
53a4d530d9 plug one-time leak 2005-08-11 23:35:47 +00:00
Pierangelo Masarati
53921b2c1a fix error message 2005-08-11 21:02:32 +00:00
Howard Chu
6c21412122 Fix backend selection diagnostics 2005-08-10 11:26:32 +00:00
Howard Chu
a99e5846b3 ITS#3917 revert prev commit 2005-08-08 23:45:29 +00:00
Howard Chu
ae8a333bc8 ITS#3917 init schema before parsing args 2005-08-08 12:51:38 +00:00
Howard Chu
884ebf9142 Fix prev commit - slapdn should not start any databases 2005-06-09 20:09:15 +00:00
Howard Chu
2c8b0f7a49 ITS#3621 slaptest should start databases when dryrun is not specified 2005-06-09 19:27:35 +00:00
Howard Chu
c225c4af34 Updated ldif_read_record to support LDIF include: directive 2005-05-12 00:46:39 +00:00
Howard Chu
cb686a5eb7 Fix config selection:
if -f but no -F, just read config file
	if -f and -F, convert config file to config dir
	else, try reading config dir
	if no config dir, try config filE
2005-05-01 20:55:15 +00:00
Pierangelo Masarati
4a5cef7472 fix access control when no backend could be found (might need work) 2005-04-13 00:01:53 +00:00
Pierangelo Masarati
da69eca714 more issues related to slapacl 2005-04-12 20:33:45 +00:00
Pierangelo Masarati
e9ab146a41 fix previous commit in case of access to non existent backend (e.g. rootDSE); add (and document) authzID/DN support 2005-04-12 19:36:56 +00:00
Pierangelo Masarati
8e19437ddc allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well) 2005-04-01 12:59:26 +00:00
Pierangelo Masarati
3958eb9e98 actually retrieve the target, to apply clauses like sets and so 2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f cleanup options 2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e always shutdown (slaptest was not) 2005-03-31 19:34:36 +00:00
Pierangelo Masarati
83bb1c93cb allow setting misc params used by ACL checking 2005-03-30 22:29:35 +00:00
Howard Chu
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +00:00
Howard Chu
bc4564cac4 More back-config / back-ldif integration, added config_generic_wrapper,
added -F option to specify config directory
2005-03-15 08:57:34 +00:00