Mark Valence
df460af05e
Add attribute.c to project.
2000-06-23 20:24:13 +00:00
Mark Valence
c6ad81bcd2
Fix minor bug in handling group ACLs.
2000-06-21 19:07:56 +00:00
Mark Valence
acc740d54f
Add ldap_back_attribute to ldap backend
2000-06-21 18:23:38 +00:00
Mark Valence
3b7d356820
Added attribute.c
2000-06-21 17:46:15 +00:00
Mark Valence
51bd73ce7d
New backend routine: back_attribute
2000-06-21 17:41:49 +00:00
Mark Valence
295f3ba0aa
New backend routine: back_attribute
2000-06-21 17:23:24 +00:00
Kurt Zeilenga
b065b258f4
Prepare for additional schema routines.
2000-06-21 01:12:29 +00:00
Kurt Zeilenga
d19419392c
Use ASCII_*() macros and friends. Should be combined with similiar LDAP_*()
...
macros in ldap_pvt.h.
2000-06-20 17:05:15 +00:00
Kurt Zeilenga
2c7f89b1b2
remove locale option. OpenLDAP is designed only for the "C" locale.
2000-06-20 16:55:23 +00:00
Kurt Zeilenga
01f7e78cbb
Add experimental objectIdentifierFirstComponentMatch routine
2000-06-20 03:55:40 +00:00
Kurt Zeilenga
f35942799e
Use SLAPD_COMPARE_UNDEFINED
2000-06-20 03:54:50 +00:00
Kurt Zeilenga
4e3c32d816
Introduce LDAP_V() and friends
2000-06-20 03:53:12 +00:00
Kurt Zeilenga
bec9e6aa8a
Update OpenLDAP experimental schema
2000-06-20 03:15:48 +00:00
Kurt Zeilenga
1f0e50f285
Fix minor bugs
2000-06-20 02:46:45 +00:00
Mark Valence
463cc5479f
Update some prototype macros to build on NT.
2000-06-19 22:40:42 +00:00
Kurt Zeilenga
5c9cf0eb71
Clarify normalization/matching routine recycling
2000-06-19 21:30:18 +00:00
Kurt Zeilenga
aa6ed3d4d8
Fix typo in last commit
2000-06-19 20:54:54 +00:00
Kurt Zeilenga
3bacb800d4
unrecognized objectIdentifer in desc form shall result in
...
an undefined matched. unrecognized objectIdentifer in OID form
shall result in false match.
2000-06-19 20:53:56 +00:00
Kurt Zeilenga
665272dca1
Minor adjustments to substrings searching
2000-06-19 20:39:11 +00:00
Kurt Zeilenga
7fec5877a3
Add SLAPD_TOP_OID macro for oc.c
2000-06-19 16:15:33 +00:00
Kurt Zeilenga
4b58e3b88d
Add schema checks.
2000-06-19 16:14:36 +00:00
Kurt Zeilenga
11ac0330bb
Extend objectClassMatch to return true if asserted class is a
...
subclass of stored value.
2000-06-19 16:14:12 +00:00
Kurt Zeilenga
8ce2589505
Fix is_object_subclass and implicitly add 'top' to structural
...
object classes with a superior.
2000-06-19 16:12:57 +00:00
Kurt Zeilenga
eccc217c53
Add DESC and fix minor bugs, more changes to come
2000-06-19 16:11:27 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
c4febe2db7
Add references to slappasswd(8)
2000-06-18 19:38:01 +00:00
Kurt Zeilenga
4bfda48c20
Add referral.c
2000-06-17 20:38:07 +00:00
Mark Valence
3a31fead5e
Fixed paren nesting bug, separated convoluted conditionals, added comm
...
ents about the logic.
2000-06-17 18:23:27 +00:00
Mark Valence
638371ebe7
Fix uninitialized variable.
2000-06-17 08:20:44 +00:00
Kurt Zeilenga
189b738c63
Add LDBM referral handler...
2000-06-17 07:45:40 +00:00
Kurt Zeilenga
97137ca016
Add scope to debug message
2000-06-17 05:53:23 +00:00
Kurt Zeilenga
ef1664b013
Reimplement search_candidate support for scope, referrals, and aliases.
...
Uses auto/static storage to avoid unnecessary malloc/free calls.
2000-06-17 05:01:50 +00:00
Kurt Zeilenga
bfbe3e49ee
Fix aliasing.
2000-06-17 02:00:30 +00:00
Kurt Zeilenga
152ec5c4ed
Remove broken num subordinates code.
2000-06-17 01:22:55 +00:00
Kurt Zeilenga
73b9ffc3e5
Add referral generator
2000-06-16 19:10:43 +00:00
Kurt Zeilenga
09e087c8e5
Duplicate language tag to avoid double free
2000-06-16 16:05:37 +00:00
Kurt Zeilenga
c249b16679
Remove dead code
2000-06-16 06:42:34 +00:00
Kurt Zeilenga
c332df50de
Remove unnecessary arg from front end backend_check_referrals call
2000-06-16 04:07:57 +00:00
Kurt Zeilenga
74f77cfe11
Compare w/ ManageDSAit not implemented.
2000-06-16 03:54:52 +00:00
Kurt Zeilenga
da74650afc
Also eliminated by dnssrv referral.c code
2000-06-16 03:52:28 +00:00
Kurt Zeilenga
5e04ed8cfd
Remove files no longer needed (due to referral entry point)
2000-06-16 03:51:45 +00:00
Kurt Zeilenga
79ebfbc4fe
Rework referral entry point with DNS SRV implementation (needs testing).
2000-06-16 03:50:02 +00:00
Kurt Zeilenga
a3414536a4
Add backend_check_referrals() framework.
2000-06-16 01:46:42 +00:00
Kurt Zeilenga
6f378341a2
Add backend_check_referrals() framework.
2000-06-16 01:19:30 +00:00
Kurt Zeilenga
5ab454ac77
Minor adjustments to last commit
2000-06-15 22:53:18 +00:00
Kurt Zeilenga
90e4c08751
Add logic to properly (per X.500 recommendations) handle attribute
...
types without equality matching rules.
2000-06-15 22:06:45 +00:00
Kurt Zeilenga
178dc1b708
Treat all phone number syntaxes as numericString
2000-06-15 20:33:56 +00:00
Kurt Zeilenga
d1fd2436da
Treat telephone syntax as numeric
2000-06-15 20:14:01 +00:00
Kurt Zeilenga
aa10d362b7
fix substring match bugs
2000-06-15 19:56:51 +00:00
Kurt Zeilenga
07907dda8b
Repair case{Ignore,Exact}IA5SubstringsMatch
2000-06-15 19:32:24 +00:00
Mark Valence
93a622d5e1
Use the first empty slot in the open cache table, so scan doesn't (usu
...
ally) have to look through the entire table.
2000-06-15 17:48:16 +00:00
Kurt Zeilenga
1ae21d00f1
Fix alias dn_in v. dn bug
2000-06-15 17:37:02 +00:00
Kurt Zeilenga
45f4839578
Fix initialization bug
2000-06-15 17:12:53 +00:00
Kurt Zeilenga
8cb40e89d9
Fix slappasswd
2000-06-15 16:09:36 +00:00
Mark Valence
3888bac4bf
Added Generalized Time matching and ordering (it's just caseExactIA5Ma
...
tch). Set OpenLDAP Experimental ACI syntax validation to IA5StringVal
idate for now, to facilitate testing.
2000-06-15 08:34:48 +00:00
Mark Valence
7211daa837
Fixed whitespace prefix checks. Added UTC Time and Generalized Time s
...
yntax validation and normalization routines.
2000-06-15 07:58:04 +00:00
Mark Valence
9c7127cd81
Check if process is installed/running as service on NT beofre trying t
...
o start it as a service (gets around an annoying pause when starting u
p as a non-service).
2000-06-15 02:21:01 +00:00
Kurt Zeilenga
f770dc16ab
cond_*() routines: Pass pointer to Datum, not Datum. Probably
...
should be done for all of LDBM.
2000-06-14 23:48:13 +00:00
Kurt Zeilenga
4189b89d7a
Forgot continuation key prefix
2000-06-14 23:28:52 +00:00
Mark Valence
ba044208a6
Bug fix.
2000-06-14 23:28:28 +00:00
Mark Valence
7694c22528
Fix OC check.
2000-06-14 22:21:53 +00:00
Mark Valence
0c6b9ce2dd
Fix ACI group membership test to look up OC.
2000-06-14 22:17:33 +00:00
Mark Valence
2ee8093f98
Fix ACI group membership test to look up OC.
2000-06-14 22:11:44 +00:00
Kurt Zeilenga
b7d1b10bca
Minor cleanup
2000-06-14 21:11:56 +00:00
Mark Valence
89da861b89
Bug hunting -- various problems with opening caches.
2000-06-14 18:23:43 +00:00
Mark Valence
0ebf86f2d3
Bug hunting -- hang when checking dnattr in ACL.
2000-06-14 06:08:20 +00:00
Mark Valence
6a43d24f48
Bug hunting -- crash when doing substring match.
2000-06-14 06:07:06 +00:00
Mark Valence
d91dba4ad0
Bug fix in dn_rdn when dn string begins with whitespace.
2000-06-14 03:59:19 +00:00
Kurt Zeilenga
df4b2a443e
Fix addition of dynamic operational attributes (subschemaSubentry)
2000-06-13 17:48:51 +00:00
Kurt Zeilenga
7150c22fca
ITS#590: remove extra symbol
2000-06-13 17:24:18 +00:00
Kurt Zeilenga
ec426532b2
Reworked thread code to better support thread-library specific
...
r/w locks and thread pools. Hide internal structures (using
pthread'ish technics). Place common code in threads.c. Move
no-thread code to thr_stub.c. Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd. Tested code under pthreads, pth, and no-threads.
2000-06-13 02:42:13 +00:00
Mark Valence
1bfcb4b039
Added .regex, .base, .one, .subtree, and .children "style" modifiers.
2000-06-12 01:35:15 +00:00
Kurt Zeilenga
1ef14875db
Thought I fixed these errors previously... oh well.
2000-06-10 23:06:08 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +00:00
Mark Valence
3cad129608
Removed active_threads count and associated mutex/cond. Replaced with
...
ldap_pvt_thread_pool_backload() as needed. All tests run OK on pthre
ads (linux), cthreads, NT threads, and Pth.
2000-06-10 06:40:03 +00:00
Mark Valence
b55346e3f3
Fix make install when build dir is not main ldap dir.
2000-06-10 02:06:27 +00:00
Mark Valence
e8f1dc6906
Add ldap_back_group routine.
2000-06-10 01:32:36 +00:00
Kurt Zeilenga
55dba4395f
Update PF_INET6 and PF_UNIX detection, both default to auto
2000-06-09 23:09:51 +00:00
Kurt Zeilenga
ef89854944
ITS#576: cause subdir make failure to halt subsequent making
2000-06-09 17:42:40 +00:00
Kurt Zeilenga
140a579e32
Additional IPv6 changes from Stig Venaas
...
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-09 17:00:22 +00:00
Kurt Zeilenga
9e23dc2c81
Fix dependencies
2000-06-09 15:03:04 +00:00
Kurt Zeilenga
dc1e5a9392
remove IA64 lint
2000-06-09 06:24:10 +00:00
Kurt Zeilenga
cd23b57eee
Already in core (damn)
2000-06-09 02:29:50 +00:00
Kurt Zeilenga
1d8cbe45e8
Add RFC 2589 schema
2000-06-09 02:29:00 +00:00
Kurt Zeilenga
bb9d8a0f20
Initialize peername with EOS.
2000-06-08 23:12:52 +00:00
Kurt Zeilenga
1f7c26e4ee
First cut new schema support.
...
Back-shell still doesn't support binary data, should use -lldif routines
2000-06-08 18:38:17 +00:00
Kurt Zeilenga
fad62c5d1d
Remove lint
2000-06-08 18:36:37 +00:00
Kurt Zeilenga
88848d3aea
~ NULL was a bad idea.
2000-06-08 03:12:14 +00:00
Kurt Zeilenga
61be4bd0c8
remove pointer v. int lint from ber_sockbuf_ctrl.
2000-06-08 01:08:01 +00:00
Mark Valence
7ec6a4363f
Use thread pool for operation threads.
2000-06-07 19:27:33 +00:00
Kurt Zeilenga
60d6c13d73
Use ldap_pvt_url_scheme2tls() to test for ldaps://
2000-06-07 17:50:58 +00:00
Mark Valence
185641cb12
ldap_is_ldaps_url takes a char *. Is there a better fix, since the ur
...
l is already parsed?
2000-06-07 17:28:01 +00:00
Kurt Zeilenga
13ddec656f
fix up stats/debug messages
2000-06-07 14:18:09 +00:00
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
Kurt Zeilenga
bd243c07a3
Add hooks for syntax normalizer (used by value_match)
...
and prettier (to be used by update operations).
2000-05-24 20:21:46 +00:00
Julio Sánchez Fernández
106ff98af0
Revert last change,
2000-05-24 20:11:21 +00:00
Julio Sánchez Fernández
851e2de03d
Backout last change, it belongs in syntaxes, not attribute types
2000-05-24 20:03:58 +00:00
Kurt Zeilenga
c1da50a426
SLAPD_SCHEMA_NOT_COMPAT: equality filters
...
(2.5.4.0=2.5.6.0) works! ie: (objectclass=top)
2000-05-24 18:49:30 +00:00
Kurt Zeilenga
522761dc17
SLAPD_SCHEMA_NOT_COMPAT: Fix misuse of attrs_find
2000-05-24 18:00:30 +00:00
Julio Sánchez Fernández
2e0c16b56b
Get a couple of extensions into fields easy to use at runtime.
2000-05-24 15:54:21 +00:00
Kurt Zeilenga
12acffa96e
objectclass needs a special equality match.
2000-05-24 06:38:02 +00:00
Kurt Zeilenga
c4b4478799
Return LDAP resultCodes
2000-05-24 06:37:20 +00:00
Kurt Zeilenga
11ef270498
SLAPD_SCHEMA_NOT_COMPAT: Fix normalization bugs
...
Disable cn=Schema "merging" messages
2000-05-24 00:59:58 +00:00
Kurt Zeilenga
80d52b18ce
SLAPD_SCHEMA_NOT_COMPAT: more filtering
2000-05-24 00:34:28 +00:00
Kurt Zeilenga
6ddde55964
SLAPD_SCHEMA_NOT_COMPAT: Add more three value filter logic code
2000-05-24 00:13:27 +00:00
Kurt Zeilenga
3657e63a17
SLAPD_SCHEMA_NOT_COMPAT: at least make filters not loop
2000-05-23 23:52:25 +00:00
Kurt Zeilenga
5ab4c575f4
Add bogus validator for fax number syntax
2000-05-23 21:42:51 +00:00
Kurt Zeilenga
3019e9d525
Remove debugging assert committed by mistake
2000-05-23 20:47:38 +00:00
Kurt Zeilenga
4540262cf5
Fix typo in last commit and in schema_check.c
2000-05-23 20:33:40 +00:00
Kurt Zeilenga
0781f59f5d
Add inetOrgPerson
2000-05-23 20:09:43 +00:00
Kurt Zeilenga
35a2912388
SLAPD_SCHEMA_NOT_COMPAT: fix add bug
2000-05-23 18:20:38 +00:00
Kurt Zeilenga
62eea3b452
SLAPD_SCHEMA_NOT_COMPAT: fix bugs in add/modify logic
2000-05-23 18:08:19 +00:00
Kurt Zeilenga
bf3a229423
SLAPD_SCHEMA_NOT_COMPAT: cleanup
2000-05-23 17:00:46 +00:00
Julio Sánchez Fernández
34c05b5149
Extend slapd schema structure definitions to reflect the new
...
extensions field in the contained structures.
2000-05-23 13:56:26 +00:00
Kurt Zeilenga
ec576aae41
SLAPD_SCHEMA_NOT_COMPAT: Use no-op syntax validator
2000-05-23 02:33:56 +00:00
Kurt Zeilenga
a838ea676e
SLAPD_SCHEMA_NOT_COMPAT: fix up add framework
2000-05-23 01:21:47 +00:00
Kurt Zeilenga
c82f96f520
Add authPassword and fix krbName
2000-05-23 01:20:33 +00:00
Kurt Zeilenga
bd6a0c3da0
Const'ification
2000-05-22 03:59:32 +00:00
Kurt Zeilenga
a5c2403eb1
const'ification
2000-05-22 03:55:03 +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
3eec592bb3
Remove lint
2000-05-21 23:15:55 +00:00
Kurt Zeilenga
b2f56a7318
SLAPD_SCHEMA_NOT_COMPAT: framework for value_match() and value_find()
2000-05-21 22:46:51 +00:00
Kurt Zeilenga
f2912805fb
s/2000-2000/2000/ in copyright notice
2000-05-21 18:15:00 +00:00
Kurt Zeilenga
0e0bc2bdd4
Add krbName
2000-05-21 01:09:41 +00:00
Kurt Zeilenga
72db2b73dc
Add a little debugging
2000-05-19 02:44:47 +00:00
Kurt Zeilenga
cdb5244edf
Fix typo in -USLAPD_SCHEMA_NOT_COMPAT varient
2000-05-19 01:06:43 +00:00
Kurt Zeilenga
52cf422c1b
SLAPD_SCHEMA_NOT_COMPAT: implement str2entry()
2000-05-19 00:33:39 +00:00
Kurt Zeilenga
56c186cb83
Fix typo in last commit
2000-05-19 00:33:09 +00:00
Kurt Zeilenga
a14b3b291a
Add X-BINARY (binary transfer required) and X-NOT-H-R (not human readable)
...
to appropriate syntaxes.
2000-05-18 22:07:34 +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
Kurt Zeilenga
5697ed03ed
Update "entry" and "children" psuedo attribute types in openldap.schema
...
Update comments in cosine.schema
2000-05-17 20:48:48 +00:00
Kurt Zeilenga
fa9f7a7d8e
SLAPD_SCHEMA_NOT_COMPAT: add framework for substr value normalization
...
Calls value_normalize per substr component (like old code),
likely should have/call substr_normalize which takes all components
at once (to allow more sophisticated normalization)
2000-05-17 20:29:26 +00:00
Kurt Zeilenga
1f22c52b8a
SLAP_SCHEMA_NOT_COMPAT: add calls to dummy value_normalize()
...
SLAP_SCHEMA_NOT_COMPAT: Need to sort out normalization of substring components
2000-05-17 20:08:13 +00:00
Kurt Zeilenga
75b51d523f
Add missing syntaxes from RFC 2252.
2000-05-17 18:10:38 +00:00
Kurt Zeilenga
f3f5b6a1b3
Update pilot schema based upon asid ldapv3-attributes I-D.
...
Add needed syntaxes defs to schema_init.c
2000-05-17 17:25:48 +00:00
Kurt Zeilenga
aa3ed4a5e3
Minor cleanup
2000-05-17 06:02:03 +00:00
Kurt Zeilenga
00f6f9c59a
Assign temporary OIDs to "entry" and "children" psuedo attributes types
2000-05-17 04:23:39 +00:00
Kurt Zeilenga
4d23358a8e
move mail and simpleSecurityObject to core.schema
2000-05-17 02:52:32 +00:00
Kurt Zeilenga
06a18f628e
add domainComponent as alternative name for 'dc' (per rfc2253)
...
misc other clean up
2000-05-17 02:35:25 +00:00
Kurt Zeilenga
1c131933a2
jpegPhoto should be defined here as RFC 2798 is the only
...
known referencable spec.
2000-05-17 02:34:23 +00:00
Kurt Zeilenga
cb4f0fb246
RFC 1274 cosine pilot schema
...
(pilot.schema is actually closer to newPilot)
2000-05-17 02:33:19 +00:00
Kurt Zeilenga
bb4ee30aa2
Update to based upon rev1 of lachman laser
2000-05-17 02:32:37 +00:00
Kurt Zeilenga
04ca214dfb
Update inetOrgPerson based upon RFC 2978
2000-05-16 22:25:36 +00:00
Kurt Zeilenga
eb248103b0
Fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-16 22:04:49 +00:00
Kurt Zeilenga
df96737bf2
Remove Lint.
2000-05-16 21:54:24 +00:00
Kurt Zeilenga
349bec7c0e
Fix desc not NULL bugs
2000-05-16 21:44:54 +00:00
Kurt Zeilenga
8d407bc2a6
Modify ava code to return error text
...
Filter code needs to be updated to properly handle soft errors.
2000-05-16 21:03:18 +00:00
Kurt Zeilenga
c689e1cb74
bv2ad expects desc pointer to be NULL if unallocated
2000-05-16 20:50:49 +00:00
Kurt Zeilenga
dfe11c105d
s/LDAProotDSE/OpenLDAProotDSE/ (until we have a standard track class)
2000-05-16 18:13:08 +00:00
Kurt Zeilenga
318a116910
Misc. schema updates.
2000-05-16 18:11:50 +00:00
Kurt Zeilenga
75841ac6c7
Apply filter to info entry
2000-05-16 17:00:42 +00:00
Kurt Zeilenga
53709873dd
Rework root dse and other info entry codes to produce entry
...
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
2000-05-16 16:42:01 +00:00
Kurt Zeilenga
a1430fdfdb
Rework root dse and other info entry codes to produce entry
...
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
SLAPD_SCHEMA_NOT_COMPAT: Add additional code to support filters (needs work)
2000-05-16 16:22:52 +00:00
Kurt Zeilenga
4e5992c190
Fix unsigned * vs unsigned long * bugs
2000-05-16 04:52:37 +00:00
Kurt Zeilenga
deac70a6de
Fix typo in last commit
2000-05-16 02:17:59 +00:00
Kurt Zeilenga
6af8b86a7e
SLAPD_SCHEMA_NOT_COMPAT: need to set desc to NULL
2000-05-15 23:47:51 +00:00
Kurt Zeilenga
37235b71c0
SLAPD_SCHEMA_NOT_COMPAT: working cn=schema
2000-05-15 23:36:37 +00:00
Kurt Zeilenga
aa08287e29
SLAPD_SCHEMA_NOT_COMPAT: simple Root DSE search WORKS!
2000-05-15 22:07:10 +00:00
Kurt Zeilenga
19becc614f
SLAPD_SCHEMA_NOT_COMPAT: implement attr_merge()
2000-05-15 21:47:58 +00:00
Kurt Zeilenga
73b48936a7
Should have #ifdef'ed in last commit
2000-05-15 21:22:57 +00:00
Kurt Zeilenga
40ab90fa9c
SLAPD_SCHEMA_NOT_COMPAT: Rework caching of internal schema
2000-05-15 21:05:25 +00:00
Kurt Zeilenga
7b14e1304a
Relocate schema_init() call to main()
...
Add schema_prep() call to main()
Similiar changes to slapcommon.c
Add schema_prep() impl to schema_init.c
Add slap_ad_entry and slap_ad_children globals.
Add "entry" and "children" to openldap.schema (this likely should
be added to schema via code, not configuration)
2000-05-15 20:04:36 +00:00
Kurt Zeilenga
ef6ee899cb
Fix -USLAPD_SCHEMA_NOT_COMPAT bugs introduced in last commit
2000-05-15 19:28:26 +00:00
Kurt Zeilenga
59aba7711b
SLAPD_SCHEMA_NOT_COMPAT: basic filter parsing
2000-05-15 18:46:03 +00:00
Kurt Zeilenga
ff3e396bb9
Port to SLAPD_SCHEMA_NOT_COMPAT
2000-05-15 16:53:28 +00:00
Kurt Zeilenga
7c88b6f191
Fix typo in last commit
2000-05-15 16:53:05 +00:00
Kurt Zeilenga
e0eba07244
Add copyright notices
2000-05-15 16:35:48 +00:00
Kurt Zeilenga
dc68e41ee9
cleanup old TOOLID macro
2000-05-15 16:33:07 +00:00
Kurt Zeilenga
1e65293aa2
Minor updates to shell backend configuration/examples.
...
Replace U-Mich DN with OpenLDAP DN
Remove default referral
Add copyright notice
s/#!/bin/sh/#! /bin/sh/
2000-05-15 16:31:59 +00:00
Kurt Zeilenga
ae7d89fa1e
SLAPD_SCHEMA_NOT_COMPAT addl. filter changes (a work in progress).
2000-05-15 00:41:29 +00:00
Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Howard Chu
72d53b60e0
Silence some warnings from parameter type mismatches
2000-05-13 01:18:57 +00:00
Howard Chu
9a79d03e13
Fix previous change to getRegParam, SERVICE_NAME is only known in slapd.
2000-05-12 21:26:30 +00:00
Howard Chu
55f4896cb9
Fix typo with dnattr parsing
2000-05-12 09:10:45 +00:00
Howard Chu
43e97bfb7a
Removed XLDFLAGS, unnecessary
2000-05-11 20:50:50 +00:00
Howard Chu
2e5e4c3f20
More fixes for NT support:
...
liblutil/ntservice.c change registry key path used for non-default
service names.
slapd/Makefile.in change to generate slapd.syms dynamically
slapd/daemon.c fix to make NT service ignore SIGBREAK
slapd/main.c fix to allow NT to retrieve listening url from registry
slapd/nt_svc.c fix for exported symbols
slapd/result.c change use of strerror to sock_errstr
slapd/slapd.syms no longer needed
2000-05-11 20:50:20 +00:00
Kurt Zeilenga
643864c569
Change negotiated mechanism:
...
If application provide one, use it. If application doesn't
provide one, use best of server advertised.
Fix SASL/ANONYMOUS (not normally used, but should work)
PLAIN is not currently working... might be local to me as my
Cyrus installation is a bit hosted.
2000-05-11 20:16:26 +00:00
Howard Chu
2d9a7620b5
LDAP_F macro is obsolete. Redeclare perl_ack_xs_init static, since it
...
is, and declare boot_DynaLoader as EXT since it actually comes from
perl, not from this module.
2000-05-11 09:35:29 +00:00
Howard Chu
3d5553abc2
Removed XLDFLAGS, unnecessary for modules.
2000-05-11 09:33:34 +00:00
Kurt Zeilenga
4fad202b44
hostname needs to be static
2000-05-11 02:41:34 +00:00
Kurt Zeilenga
f9411ca154
Fix another bug... seems to be working... ldap://root.openldap.org/
2000-05-11 01:12:48 +00:00
Kurt Zeilenga
59305df8bb
Fix debug level typo
2000-05-11 00:44:03 +00:00
Kurt Zeilenga
cb8d9e16e9
Add bind handler which returns unwillingToPerform with
...
nasty message if password was provided.
2000-05-10 23:54:57 +00:00
Kurt Zeilenga
1dc3e3c408
Add basic and EXPERIMENTAL chroot() support.
2000-05-10 23:30:52 +00:00
Kurt Zeilenga
18f31148be
Working (but likely not robust) DNS SRV backend!
2000-05-10 22:43:08 +00:00
Kurt Zeilenga
fbb58dec53
Fix minor bugs...
2000-05-10 22:21:57 +00:00
Kurt Zeilenga
e87e01b9c5
DNS SRV meat (a work in progress)
2000-05-10 21:48:18 +00:00
Howard Chu
df7ca2c3f3
Remove #undef LDAP_MOD_BVALUES - backends like back-ldap that are also
...
LDAP clients themselves still need this definition.
2000-05-10 21:22:07 +00:00
Howard Chu
3af3014763
Remove bogus use of PERL_LDFLAGS, it's correctly inserted in SLAPD_LIBS
...
by top.mk
2000-05-10 21:18:12 +00:00
Kurt Zeilenga
dbde2604d7
Additional DNS SRV framework (a work in progress)
...
add common request handler
remove bind handler (not needed)
2000-05-10 20:11:58 +00:00
Kurt Zeilenga
2c2a54d6d7
Add DNS SRV backend framework (a work in progress).
2000-05-10 18:17:38 +00:00
Howard Chu
f0c4f83ea2
libldap/tls.c: change tls_verify_cb to no longer ignore verification errors.
...
This means a ldaps connection may drop before any LDAP protocol exchange
occurs (due to expired cert, unrecognized CAs, etc.).
Change ldap_pvt_tls_connect to copy any TLS error string to ld_error upon
connection failure, otherwise client just sees "can't contact LDAP server."
slapd/connection.c: add flush/delay when SSL_accept fails, to allow any
TLS alerts we generated to propagate back to the client. (Which will then
be picked up by ldap_pvt_tls_connect on the client...)
2000-05-10 17:07:09 +00:00
Howard Chu
dcad3d9569
Undo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
...
that called entry_free() on failure. This change would cause a memory leak
from all the other backends. Instead, remove the entry_free calls in these
two backends and let the frontend take care of it for everyone.
2000-05-10 16:36:46 +00:00
Kurt Zeilenga
f224e69558
Add experimental code to check simple bind passwords
...
against Cyrus SASLdb. Like other cleartext mechanisms,
should be protected from eavesdropping.
2000-05-10 04:29:51 +00:00
Kurt Zeilenga
dcc943e528
move default "directory"
2000-05-03 19:01:29 +00:00
Kurt Zeilenga
d0555fffe6
Error handling changes including separation of client v. server
...
SASL to LDAP translation. plus comments and other minor changes
2000-05-03 18:59:58 +00:00
Kurt Zeilenga
8c386888fa
Move default LDBM directory from /usr/tmp to $(localstatedir)
2000-05-03 10:07:21 +00:00
Bastiaan Bakker
14418bdff3
Avoid C++ keyword 'new' in header files.
2000-04-30 15:26:51 +00:00
Bastiaan Bakker
873c36f788
Added example 'moduleload' lines to slapd.conf
2000-04-30 15:01:32 +00:00
Kurt Zeilenga
92e2453467
A NULL (empty) SASL mechanism should not result in a protocol error.
2000-04-26 09:20:25 +00:00
Kurt Zeilenga
b872bf3a91
fix -UHAVE_CYRUS_SASL
2000-04-25 19:28:00 +00:00