Commit Graph

5441 Commits

Author SHA1 Message Date
Howard Chu
0be3cbfb46 Strip whitespace from DN-valued attributes 2001-12-06 07:15:48 +00:00
Howard Chu
95b173fbb0 Turn off syslog on slapd 2001-12-06 06:42:56 +00:00
Howard Chu
f0b56c3444 Stripped whitespace between entry DN components. 2001-12-06 06:40:09 +00:00
Kurt Zeilenga
fe94c6b524 Don't extern gdbm_errno. Defined in <gdbm.h> (GDBM 1.8) 2001-12-06 04:46:10 +00:00
Howard Chu
6a5a30ec34 Fix previous commit 2001-12-06 03:29:23 +00:00
Howard Chu
6e0861b671 Minor rearrangement, give pdn to dn2id_add to avoid getting it twice. 2001-12-06 03:26:37 +00:00
Kurt Zeilenga
575c9469d9 Rework dnNormalize/dnPretty to share LDAP_rewrite
Add flag to matching rules to indicate if DN folding is needed.
Don't specify dnPretty as pretty function for DN attribute types as
this works too well (it breaks tests).
2001-12-06 03:24:31 +00:00
Howard Chu
52beecbdf4 Fix, index databases were not being closed on shutdown. 2001-12-06 03:24:09 +00:00
Kurt Zeilenga
3787c4c7d7 Allow an object class to be provided in an attribute description list,
treated as a request for all required and allowed attributes of the class.
This allows:
	ldapsearch (objectClass=*) inetOrgPerson
	(requests return of all attributes of inetOrgPerson)
and
	ldapsearch (objectClass=*) extensibleObject
	(requests return of all attributes, e.g., "+" "*")
2001-12-06 01:02:11 +00:00
Kurt Zeilenga
2b925e2102 Misc cleanup 2001-12-05 23:27:49 +00:00
Kurt Zeilenga
da06921364 Monitor schema should be defined in a separate file. 2001-12-05 23:24:51 +00:00
Kurt Zeilenga
8362bc91f5 Misc I-D updates
Misc schema updates
2001-12-05 23:16:35 +00:00
Kurt Zeilenga
f26e1b390e Add basic infrastructure for pretty routines
A pretty routine may rewrite the representation of a value but
must not alter the value itself.
2001-12-05 21:36:59 +00:00
Kurt Zeilenga
3f53087f57 Add comments 2001-12-05 21:07:57 +00:00
Pierangelo Masarati
379e0e9d50 another step towards schema aware normalization: ava sorting in rdns; now by defining USE_LDAP_DN_PARSING both the new dn parsing and the server side normalization is used. There might be, every now and then, a flaw mostly due to naive normalization of pseudo-dn (thinking about some acl/regex stuff and so) 2001-12-05 19:26:30 +00:00
Kurt Zeilenga
a83ba7b69d Reserve -E/-e for extensions, syntax yet to be defined. 2001-12-05 17:56:34 +00:00
Kurt Zeilenga
680fe39891 rev-05 2001-12-05 17:50:37 +00:00
Kurt Zeilenga
583336caa6 Minor portablility change 2001-12-05 16:55:28 +00:00
Kurt Zeilenga
5282ecd94b I should finish my morning coke before making my first commit of the day.
Fixes errors in prior commits.
2001-12-05 16:41:45 +00:00
Pierangelo Masarati
335a8bd0ad a gross attempt to implement a schema-aware normalization 2001-12-05 16:34:51 +00:00
Kurt Zeilenga
f5f0397398 (undefined=*) should precompute to False 2001-12-05 16:31:19 +00:00
Pierangelo Masarati
754258af38 better strip of diff marks 2001-12-05 09:35:31 +00:00
Pierangelo Masarati
fb60696ac4 my system does not have the removed headers; however it compiles by adding sys/time.h, is it fine? 2001-12-05 08:51:49 +00:00
Pierangelo Masarati
6568f10b7d my compiler complains about this; does my fix comply with the intended behavior? 2001-12-05 08:49:52 +00:00
Pierangelo Masarati
2a2f5ad8fa minor cleanup 2001-12-05 08:48:53 +00:00
Kurt Zeilenga
86f79b85d8 Add experimental UUID/CSN support (needed for LCUP). 2001-12-05 07:25:25 +00:00
Kurt Zeilenga
268ee5ff4a Add CSN routine. 2001-12-05 06:30:58 +00:00
Kurt Zeilenga
3da9378c3a Set multicast bit 2001-12-05 06:09:22 +00:00
Kurt Zeilenga
8c0de8326f Some minor cleanup... 2001-12-05 06:00:57 +00:00
Kurt Zeilenga
524c139d7c Add UUID code from John E. Schimmel 2001-12-05 05:39:34 +00:00
Kurt Zeilenga
a5a1fc0846 Add undefined present filter bug fix 2001-12-05 03:21:39 +00:00
Kurt Zeilenga
6ba3b26c09 Enhance error messages from Walter.Mueller@uibk.ac.at 2001-12-05 03:13:50 +00:00
Howard Chu
19c7fd49ca tool_reindex now regenerates the dn2id index as well as the others. 2001-12-05 01:36:18 +00:00
Kurt Zeilenga
999b3dad7b Fix replacing of all values with an empty value. 2001-12-05 01:16:12 +00:00
Howard Chu
8697aa4b8d Fixup bdb_entry_release now that entry_decode uses two memory blocks
instead of just one.
2001-12-05 00:24:13 +00:00
Kurt Zeilenga
dffcf0be27 zap friendly 2001-12-05 00:07:04 +00:00
Kurt Zeilenga
493b415255 Rework indexing code, removing "autolang" and making
"subtypes" and "lang" default behavior.
2001-12-05 00:06:03 +00:00
Kurt Zeilenga
fe92783ea8 dnMatch should not be local to file 2001-12-04 23:42:10 +00:00
Pierangelo Masarati
09626cc1d5 of course we don't need debug stuff any more ... :) 2001-12-04 20:27:26 +00:00
Pierangelo Masarati
9004262d95 reimplement dn_validate/normalize/(match) using the ldap_str2dn/dn2str stuff; need to #define USE_LDAP_DN_PARSING 2001-12-04 20:22:26 +00:00
Pierangelo Masarati
b3b4baeb3f illegal extra space in DN ... (right?) 2001-12-04 20:12:49 +00:00
Kurt Zeilenga
b5504a1c36 Clean up some misplaced 'extern' declarations (should be headers) 2001-12-04 19:57:09 +00:00
Kurt Zeilenga
01e81666ac Small fix to gar detection 2001-12-04 18:21:43 +00:00
Pierangelo Masarati
ae74c1c97c small adjustment 2001-12-04 17:13:25 +00:00
Pierangelo Masarati
6d3df52af9 update limits stuff 2001-12-04 17:10:17 +00:00
Kurt Zeilenga
850702ba99 Remove lint 2001-12-04 06:14:16 +00:00
Kurt Zeilenga
4041ef05bf Slight memfree cleanup 2001-12-04 06:10:10 +00:00
Howard Chu
bf4bbcaae2 Don't maintain a DN_SUBTREE index for the backend suffix. 2001-12-04 00:10:47 +00:00
Kurt Zeilenga
891c39f7c5 Really fix the fix to the past commit 2001-12-03 20:16:00 +00:00
Kurt Zeilenga
9c41af8430 Fix previous commit 2001-12-03 20:14:44 +00:00