Howard Chu
e061628ff3
Fix previous commit
2003-04-21 18:09:44 +00:00
Howard Chu
e374c580f2
Perform is_at_subtype check inline
2003-04-21 03:55:20 +00:00
Howard Chu
088eecc34d
Tweak strcpy's
2003-04-12 12:20:19 +00:00
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Kurt Zeilenga
dd66e6e929
SLAP_NVALUES, round 3
2003-02-26 07:39:30 +00:00
Kurt Zeilenga
6d1ca4c747
Remove values match v. filter struct field macro overloads
...
Use LDAP_SLISTs instead of per-struct list management for schema structs
misc cleanup and lint removal
2003-01-20 20:21:17 +00:00
Hallvard Furuseth
6a51371fc5
Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).
2003-01-19 15:03:25 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
486eaa69b6
Rename "lang(uage)" to "tag(s)". (Cleanup after attribute options patch.)
2002-12-13 19:15:20 +00:00
Hallvard Furuseth
54728f367e
Implement user-defined tagging attribute options and ranges
2002-12-12 13:56:05 +00:00
Hallvard Furuseth
b968317900
A search requesting 'cn;lang-en-' did not find 'cn;lang-en'.
2002-11-30 20:00:01 +00:00
Pierangelo Masarati
7400191ba8
cleanup str2adlist
2002-11-09 14:46:00 +00:00
Kurt Zeilenga
f558b6b02f
Add experimental +/- AttributeName support.
2002-09-21 00:11:43 +00:00
Kurt Zeilenga
d9d58ae02f
Save "-" for no subtypes
2002-09-20 19:58:25 +00:00
Kurt Zeilenga
cc7d1433bb
For object classes in attribute lists, use '+' (or '-') to indicate
...
name is an objectClass.
2002-09-16 20:48:08 +00:00
Kurt Zeilenga
65760c064e
ITS#2004 AD lang bug fix
2002-08-20 19:08:18 +00:00
Howard Chu
80f67ef11e
Fix slap_bv2ad initializing with wrong bv_len
2002-04-18 12:21:33 +00:00
Howard Chu
ce4466655e
Fix ad_inlist typo on oc->required
2002-02-15 14:48:01 +00:00
Kurt Zeilenga
35d04ef121
Minor cleanup.
2002-02-12 04:51:23 +00:00
Kurt Zeilenga
ef63ce1441
Misc cleanup
2002-02-12 00:35:29 +00:00
Kurt Zeilenga
14662be692
Add whoami extended operation.
...
Add no-op control (needs backend implementation)
Updated modify password extended option API
Kludged control infrastructure to support frontend only controls
2002-01-28 20:25:30 +00:00
Kurt Zeilenga
bf371dcce9
Don't free langbuf.
2002-01-26 23:44:53 +00:00
Kurt Zeilenga
8057b1a0a8
Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
...
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)
2002-01-26 23:14:51 +00:00
Kurt Zeilenga
d30ab4c113
Additional system schema checks
2002-01-11 20:47:24 +00:00
Howard Chu
54dae3d3d3
Fix str2anlist declaration, str is not const. (gets overwritten if
...
there is an error.)
2002-01-10 20:25:23 +00:00
Howard Chu
f5bfb64f07
Fix lint in previous commit
2002-01-10 18:55:13 +00:00
Howard Chu
8067107ed2
Added an_oc to AttributeName for caching ObjectClass lookups.
...
Added error checking to str2anlist; if the attr name doesn't match
any attribute or objectclass the offending attr name is displayed.
2002-01-10 09:54:14 +00:00
Kurt Zeilenga
e9342bc7a9
Don't use 'void *' unnecessarily.
2002-01-07 20:28:02 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
bcdfdb968f
Changed AttributeName back into an array instead of a linked list.
...
Fixed bug in do_search eating up controls.
2002-01-03 05:38:26 +00:00
Howard Chu
d9fec6d815
More for ad_inlist
2001-12-31 14:47:20 +00:00
Howard Chu
743c402265
Changed search attrs from struct berval ** to AttributeName *
2001-12-31 11:35:52 +00:00
Howard Chu
92c6c9c25d
Misc berval stuff.
2001-12-28 11:45:25 +00:00
Howard Chu
68b1bbb89d
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:17:44 +00:00
Howard Chu
34214776d1
Minor cleanup
2001-12-26 06:21:06 +00:00
Howard Chu
b96645af7d
More struct berval changes, dnNormalize migration...
2001-12-26 04:17:49 +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
Howard Chu
cc4a51f23c
Changed global ad_mutex into per-attributeType mutex. Added
...
ad_find_lang() to search an AttributeType for a given language variant.
(Will be used in back-bdb/back-ldbm index code...)
2001-11-16 07:39:14 +00:00
Kurt Zeilenga
0f10bed011
rm currenttime_mutex.
...
trival other cleanup.
2001-11-13 18:16:07 +00:00
Mark Adamson
ddd3a4b926
already have the strlen of the attrname in the berval->bv_len
2001-11-12 03:15:40 +00:00
Howard Chu
5f8058f957
Added schema_destroy() et al to free schema structures on shutdown
2001-11-07 01:03:49 +00:00
Howard Chu
0e16f6acf9
Moved AttributeDescription caching into main code:
...
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
Deleted ad_free() everywhere
Added ad_mutex to init.c
The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Kurt Zeilenga
435bdf24b0
Fix ;binary subtyping
2000-09-14 06:07:23 +00:00
Kurt Zeilenga
b1172dc5ac
Add experimental support for undefined attribute types.
2000-07-02 17:16:18 +00:00
Kurt Zeilenga
09e087c8e5
Duplicate language tag to avoid double free
2000-06-16 16:05:37 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
a838ea676e
SLAPD_SCHEMA_NOT_COMPAT: fix up add framework
2000-05-23 01:21:47 +00:00
Kurt Zeilenga
60802201e3
Const'ification
...
SASL mech removed from backend bind callback (as SASL is managed by frontend)
Changes to some backends are untested (as I don't have all dependent
software install)
2000-05-22 03:46:57 +00:00
Kurt Zeilenga
074be5fb5a
SLAPD_SCHEMA_NOT_COMPAT: numerous changes to syntax flags, mostly minor
...
added new value_normalize() code
need LDAPsyntaxes X- field support
2000-05-18 17:21:42 +00:00