Kurt Zeilenga
c3f8de76ef
Fix up debug statement as suggested by christian.lorenz@suse.de
2000-06-07 14:07:50 +00:00
Kurt Zeilenga
6ad1c45bd3
Use LDAP_VFREE and friends. Other misc code cleanup.
2000-06-07 05:17:29 +00:00
Kurt Zeilenga
e5ebc553ac
Rework URI parser to provide true scheme not proto/properties.
...
Plus more pthread rwlock code
2000-06-07 01:09:40 +00:00
Kurt Zeilenga
64d7227821
Basic IPv6 support...
...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-06 20:23:22 +00:00
Kurt Zeilenga
73db6bd875
Cleanup slapd.conf sed'ing
2000-06-06 20:21:56 +00:00
Kurt Zeilenga
a00125b53e
Axe old schema files
2000-06-06 19:48:06 +00:00
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
dd00feb04d
Add presense indexing
2000-06-06 19:32:15 +00:00
Kurt Zeilenga
6d542e26a5
remove init arg from attrs_index_config proto
2000-06-06 19:31:45 +00:00
Kurt Zeilenga
352b447aa4
Don't automatically index objectlclass eq, ineffective more than not
2000-06-06 19:30:49 +00:00
Kurt Zeilenga
10082bc346
Use err2txt for unknown error
2000-06-06 05:54:36 +00:00
Mark Valence
78f24c1d89
Fix memory leak in new schema code.
2000-06-06 05:21:14 +00:00
Kurt Zeilenga
43f3e1e9b2
Remove not to be implemented control.
2000-06-06 04:50:24 +00:00
Kurt Zeilenga
3e9868b4ec
Prepare for unifdef -DSLAPD_SCHEMA_NOT_COMPAT
2000-06-06 04:49:19 +00:00
Mark Valence
a5ee438c93
Updated for schemas.
2000-06-06 04:24:11 +00:00
Kurt Zeilenga
bf3c642e68
Complete group ACL impl. under new schema code
2000-06-06 02:11:27 +00:00
Kurt Zeilenga
5278e67b28
Remove lint
2000-06-06 02:11:01 +00:00
Kurt Zeilenga
4a1f646682
Move experimental Back-BDB2 to Attic
2000-06-06 01:23:17 +00:00
Kurt Zeilenga
1af849c720
DNSSRV use res_query, not res_search
...
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
2000-06-05 23:56:26 +00:00
Kurt Zeilenga
1aa4b07c98
Remove support for DNS DNs (not to be confused with X.500 DN using
...
domainComponents (DC)).
2000-06-05 20:07:02 +00:00
Kurt Zeilenga
ca6de2138e
Include core.schema, not old schema files
2000-06-05 17:47:15 +00:00
Kurt Zeilenga
09806eec40
Use #ifdef, not #if
2000-06-05 16:18:48 +00:00
Kurt Zeilenga
e4a9292d74
A simple (and correct) backend group selection.
2000-06-05 07:38:23 +00:00
Kurt Zeilenga
c81cc806ab
Move old schema files to Attic.
...
SLAPD_SCHEMA_COMPAT *should* be able to use schema files
2000-06-05 07:17:51 +00:00
Mark Valence
08f8cecddc
Fix broken non-schema build (var not defined).
2000-06-05 06:00:15 +00:00
Mark Valence
7401eddb02
Keep from ldbm_sync'ing a DBCache unless it has been changed.
2000-06-05 05:10:30 +00:00
Mark Valence
3d599d1bd3
Use "uri" directive (instead of "server") to specify server. Add "bin
...
ddn" and "bindpw" directives for supporting group lookups.
2000-06-05 04:59:26 +00:00
Mark Valence
96c61ea465
backend_group selects the correct backend for the group.
2000-06-05 04:34:59 +00:00
Kurt Zeilenga
51e619d424
Add ManageDSAit support to back-dnssrv
...
Fix backend critical controls crash
Move 'associatedDomain' to core.schema
2000-06-05 03:10:46 +00:00
Mark Valence
bd7c946ccc
Update to work with schemas (SLAPD_SCHEMA_NOT_COMPAT=1)
2000-06-04 23:02:19 +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
Mark Valence
f8c1bc5ccb
Fix parameter order error.
2000-06-04 22:59:34 +00:00
Mark Valence
6916d0d527
Fix memory leak.
2000-06-04 22:59:06 +00:00
Mark Valence
47888f1c6b
Bug fix.
2000-06-04 04:34:21 +00:00
Mark Valence
bac87c2562
Bug fix for new sockbuf code under NT. Added mutex protection against
...
deadlock in connection_resched.
2000-06-04 04:29:07 +00:00
Kurt Zeilenga
b05d071c3a
Fix anonymous mapping
2000-06-03 16:29:34 +00:00
Kurt Zeilenga
4b352c57ed
Raise MAXDBCACHE to 128.
2000-06-03 03:37:02 +00:00
Kurt Zeilenga
45c6324a9d
Move ldapd into the Attic, quipu tools remain for now.
2000-06-01 23:00:22 +00:00
Kurt Zeilenga
c23536faa9
remove lint
2000-06-01 22:01:00 +00:00
Kurt Zeilenga
2e0912622b
ITS#537: lber io rewrite from Gambor Gombas.
...
Copyright 2000 Gábor Gombás. All rights reserved.
This is free software. You may redistribute and use it under the same
terms as OpenLDAP itself.
2000-06-01 20:59:21 +00:00
Kurt Zeilenga
a3ee061fdc
Install *.schema only
...
Install *.schema as read-only
2000-06-01 15:27:10 +00:00
Kurt Zeilenga
7c7fab11d4
Add extensibleObject support
2000-05-31 18:46:13 +00:00
Kurt Zeilenga
14663e1733
Add project public directory schema
2000-05-31 00:47:40 +00:00
Kurt Zeilenga
cd4c2c06d3
Move schema needed by slapd to core.schema so that only one file
...
is required to be included.
This leaves openldap.schema empty. Will use it to hold example
schema from the OpenLDAP Public Directory.
2000-05-31 00:13:10 +00:00
Kurt Zeilenga
eb70b602ee
Rework ACI codes to use OpenLDAPaci. Add needed schema elements.
...
Needs work. Volunteers welcomed.
2000-05-30 21:34:55 +00:00
Kurt Zeilenga
773d839924
Clean up 'ref' DESC
2000-05-30 20:20:25 +00:00
Kurt Zeilenga
34edec3107
Strip installed executables
...
better library clean
2000-05-30 18:23:56 +00:00
Kurt Zeilenga
64f028a6ab
New schema code is now the default.
...
Use -DSLAPD_SCHEMA_COMPAT to use 1.x compatible schema (deprecated).
2000-05-29 16:39:16 +00:00
Kurt Zeilenga
6ec3f1438a
Update directory comment
2000-05-29 05:54:36 +00:00
Kurt Zeilenga
c70cb72ef9
install $(localstatedir)/openldap-ldbm with mode 700
2000-05-29 05:51:24 +00:00
Kurt Zeilenga
e45979599d
Add NumericString syntax and matching rules.
2000-05-29 04:58:40 +00:00
Kurt Zeilenga
e4a7b953f3
SLAPD_SCHEMA_NOT_COMPAT: fix typo
2000-05-29 04:57:31 +00:00
Kurt Zeilenga
bdf9b0d017
SLAPD_SCHEMA_NOT_COMPAT: working ACLs! (have not tested ACIs)
2000-05-29 03:51:26 +00:00
Kurt Zeilenga
9e5312e166
SLAPD_SCHEMA_NOT_COMPAT: ACL cleanup (not yet working)
2000-05-29 03:44:06 +00:00
Kurt Zeilenga
287de3517d
SLAPD_SCHEMA_NOT_COMPAT: working tests 1-4!
2000-05-29 01:08:09 +00:00
Kurt Zeilenga
e31e42374e
SLAPD_SCHEMA_NOT_COMPAT: cheap DN match
2000-05-29 00:27:49 +00:00
Kurt Zeilenga
30c43c307c
SLAPD_SCHEMA_NOT_COMPAT: working modify? need additional match
...
routines, such as distinguishedNameMatch, to be sure.
2000-05-28 23:51:39 +00:00
Julio Sánchez Fernández
3e3acf87c8
Let the caller decide how liberal the schema parsing routines will be.
...
Most flags do nothing yet.
2000-05-28 22:45:56 +00:00
Kurt Zeilenga
13daacdbda
Fix error text handling
2000-05-28 22:38:21 +00:00
Kurt Zeilenga
3350957674
SLAPD_SCHEMA_NOT_COMPAT: ACI cleanup
2000-05-28 22:17:34 +00:00
Kurt Zeilenga
a4277ba3e1
SLAPD_SCHEMA_NOT_COMPAT: copy mod op
2000-05-28 21:45:49 +00:00
Kurt Zeilenga
4d835c0532
modify ldbm_modify_internal to return error text
2000-05-28 20:44:08 +00:00
Kurt Zeilenga
7a97873274
SLAPD_SCHEMA_NOT_COMPAT: working test005-modrdn!
2000-05-28 19:54:07 +00:00
Kurt Zeilenga
229e12b69d
SLAPD_SCHEMA_NOT_COMPAT: add subtype aware is_at_syntax()
2000-05-28 19:15:37 +00:00
Kurt Zeilenga
c98f0ea02c
SLAPD_SCHEMA_NOT_COMPAT:
...
Don't depend acl parsing upon slap_schema, it's filled in post-conf
2000-05-28 18:58:09 +00:00
Kurt Zeilenga
9e9be9c283
SLAPD_SCHEMA_NOT_COMPAT: Mostly working modrdn
2000-05-28 17:26:30 +00:00
Kurt Zeilenga
439c0c796d
SLAPD_SCHEMA_NOT_COMPAT: Mostly work modify
2000-05-28 16:36:34 +00:00
Kurt Zeilenga
5904e0013f
SLAPD_SCHEMA_NOT_COMPAT: add missing AttributeDescriptions
2000-05-28 01:36:03 +00:00
Kurt Zeilenga
ee37a6bdea
SLAPD_SCHEMA_NOT_COMPAT: case{Exact,Ignore}IA5SubstringsMatch
2000-05-28 01:18:53 +00:00
Kurt Zeilenga
3d26427c02
SLAPD_SCHEMA_NOT_COMPAT: fix bind acls
2000-05-27 23:16:30 +00:00
Kurt Zeilenga
9baacdcfff
SLAPD_SCHEMA_NOT_COMPAT: Add enough matching rules to get through test003
2000-05-27 23:08:28 +00:00
Kurt Zeilenga
1a8f509f9a
s/substring/substrings/
2000-05-27 22:46:37 +00:00
Kurt Zeilenga
2273ae0cb7
SLAPD_SCHEMA_NOT_COMPAT: add f_sub_desc -> f_sub_type for compat
2000-05-27 21:45:52 +00:00
Kurt Zeilenga
f8dd082b74
SLAPD_SCHEMA_NOT_COMPAT: framework for substring searching
2000-05-27 21:41:04 +00:00
Kurt Zeilenga
9d8f60e63c
fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-27 20:40:26 +00:00
Kurt Zeilenga
58d25f4ab1
SLAPD_SCHEMA_NOT_COMPAT: allocate/deallocate f_sub as needed.
2000-05-27 20:37:59 +00:00
Kurt Zeilenga
b813a5ba30
SLAPD_SCHEMA_NOT_COMPAT: prelim ACL work
2000-05-27 19:33:08 +00:00
Kurt Zeilenga
dab0793d0c
Working test001 and test002.
2000-05-27 19:21:28 +00:00
Kurt Zeilenga
47333bf762
CSRI malloc compat fix
2000-05-27 17:06:11 +00:00
Kurt Zeilenga
5ba8a93a79
Add asserts in attempt to find oc_find bug...
2000-05-27 17:05:28 +00:00
Kurt Zeilenga
8dbd32687e
SLAPD_SCHEMA_NOT_COMPAT: disable indexing
2000-05-27 06:23:25 +00:00
Kurt Zeilenga
e0bf8e8904
Fix build problems under NT... likely broken service manager code.
2000-05-27 06:21:23 +00:00
Kurt Zeilenga
203f1d28c7
Additional clarification... and fix second typo
2000-05-27 00:49:55 +00:00
Kurt Zeilenga
f2ac35c653
Fix typo in last commit
2000-05-27 00:39:35 +00:00
Kurt Zeilenga
fa581d7542
Clarify error text returned to client
2000-05-27 00:38:16 +00:00
Kurt Zeilenga
e8c292df89
Add -n serviceName (for loggging purposes)
2000-05-26 19:52:40 +00:00
Kurt Zeilenga
1bc5314d62
Fix DNSSRV initialization bug
2000-05-26 18:05:27 +00:00
Dmitry Kovalev
b8af4a67ea
Summary of changes:
...
- filter -> SQL translation bugfixes
- several memory leaks fixups
- improved configurability:
- allows definition of uppercasing function to support CIS matching on databases that do
case sensitive compares (this fixes up Oracle issues, example updated)
- allows more flexibility in stored procedures interface (different parameter order, optional return
codes - see samples, and comments in backsql.h)
- synchronize function interfaces to recent changes in prototypes ("const" clauses etc.) made for all backends
(those changes led to compile-time errors)
2000-05-26 16:03:32 +00:00
Kurt Zeilenga
60981bdce1
Add debugging...
2000-05-26 07:01:33 +00:00
Kurt Zeilenga
4a254064f5
Fix referrals bug
2000-05-26 06:08:06 +00:00
Kurt Zeilenga
5b13d847e1
Unneeded
2000-05-26 05:48:23 +00:00
Kurt Zeilenga
e0fc97bfa7
DB3 fixes
2000-05-26 05:47:02 +00:00
Kurt Zeilenga
168e5ed841
Fix typo in last commit
2000-05-25 03:46:55 +00:00
Kurt Zeilenga
1ae20e9b0c
Move extern schema_init_done outside of #ifdef SLAPD_SCHEMA_NOT_COMPAT
2000-05-25 02:09:59 +00:00
Kurt Zeilenga
89b09b020d
Split schema_prep() from schema_init.c
2000-05-25 01:49:21 +00:00
Kurt Zeilenga
67e34b5e88
SLAPD_SCHEMA_NOT_COMPAT: Update back-passwd (that was too easy)
2000-05-25 01:15:09 +00:00
Kurt Zeilenga
09965d67de
SLAPD_SCHEMA_NOT_COMPAT: fix IA5StringNormalize aswell
2000-05-24 23:28:49 +00:00
Kurt Zeilenga
7ae8225088
SLAPD_SCHEMA_NOT_COMPAT: Fix UTF8StringNormalizer
2000-05-24 23:27:33 +00:00
Kurt Zeilenga
c96f12ee49
SLAPD_SCHEMA_NOT_COMPAT: Fix memory stomping
2000-05-24 22:55:16 +00:00
Kurt Zeilenga
433d9388be
SLAPD_SCHEMA_NOT_COMPAT:
...
Add syntax normalizer, separate from matching rule normalizer.
with mr normalizer defaulting to syntax normalizer. This allows
for more consistent handling of some syntaxes, such as directoryString
(where all matches should ignore leading, trailing, and other extra
spaces).
2000-05-24 22:20:03 +00:00