Commit Graph

1738 Commits

Author SHA1 Message Date
Kurt Zeilenga
b2e776cfe7 Reorder DN check 2000-09-16 06:23:53 +00:00
Kurt Zeilenga
45cf7e1dfe Add additional error checking... need to better handle
garbage input from slapadd or pre-existing database.
2000-09-15 03:26:22 +00:00
Kurt Zeilenga
825c3c4c5c Fix handling of optional cred 2000-09-15 00:09:44 +00:00
Kurt Zeilenga
f2b1d423c1 Cleanup 2000-09-14 07:10:15 +00:00
Kurt Zeilenga
435bdf24b0 Fix ;binary subtyping 2000-09-14 06:07:23 +00:00
Ben Collins
09a2e74d5a dereference 'char **text' when passing it as an arg to Debug() 2000-09-13 21:52:50 +00:00
Ben Collins
d216e32d63 declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop 2000-09-13 21:51:14 +00:00
Kurt Zeilenga
16cdbd9c74 Update handling of binary syntax to require ";binary" transfer 2000-09-13 21:50:24 +00:00
Ben Collins
810d3ce224 specifically check for NULL return from acl_get() 2000-09-13 21:49:56 +00:00
Kurt Zeilenga
13262aca41 Fix java schema 2000-09-13 19:58:56 +00:00
Kurt Zeilenga
2a8176cd62 Add Standard Track PKI schema (RFC2587) 2000-09-13 06:09:50 +00:00
Kurt Zeilenga
6c3e915ceb Fix reversed assert logic 2000-09-13 01:23:39 +00:00
Kurt Zeilenga
93074d7e43 Add EOL at EOF 2000-09-13 00:05:45 +00:00
Kurt Zeilenga
16101ba8c9 Remove extranous characters (^M) and other minor clean up 2000-09-12 21:43:42 +00:00
Kurt Zeilenga
f7ba5a68c4 Catch nextid failures. 2000-09-12 21:16:03 +00:00
Kurt Zeilenga
d6a56aaf25 Fix typo in last commit 2000-09-12 19:35:19 +00:00
Kurt Zeilenga
bd9de9d90d Clean up defaultSearchBase code 2000-09-12 18:21:09 +00:00
Kurt Zeilenga
6629093571 Add entry_encode() 2000-09-12 04:57:56 +00:00
Kurt Zeilenga
5864dfdb7b remove lint 2000-09-12 00:38:47 +00:00
Kurt Zeilenga
0549d647de Fix bad merge 2000-09-12 00:37:03 +00:00
Kurt Zeilenga
99ca5d4b91 Update projects for DB31 (Sleepcat changed library names, ugh) 2000-09-12 00:33:02 +00:00
Kurt Zeilenga
5170fc3a98 Add BitString syntax/matching rule handlers
Add NameAndOptionalUID/UniqueMemberMatch handlers
2000-09-12 00:32:08 +00:00
Kurt Zeilenga
fdc16c2f94 Add initial entry_encode() routine for back-sleepy (behind #if)
Need to add entry_decode().
2000-09-12 00:28:08 +00:00
Kurt Zeilenga
a3ae90ac8a Rework integer syntax to support signed values.
Validation is quite rigid allowing use of simple normalization
and caseExactIA5 matching (and indexing).
2000-09-12 00:00:25 +00:00
Kurt Zeilenga
5852f7188b Add 'defaultSearchBase' configuration directive to help support
brain-damaged LDAPv2 clients.
2000-09-11 21:57:14 +00:00
Kurt Zeilenga
344b91e257 Add Java (RFC2713) and Corba (RFC2714) schema 2000-09-11 20:27:35 +00:00
Kurt Zeilenga
d8c4df6f39 -lldbm now sets DB_USE_ENVIRON and support input of a DB home path.
back-ldbm needs modification to support db home directory as backend
(as oppose to database) option.
2000-09-11 18:46:34 +00:00
Julio Sánchez Fernández
95eacae431 Integer (not numericString, that are different) matches.
Good for nss_ldap (equality indexing of uidNumber and the
like now work).
2000-09-11 18:34:14 +00:00
Kurt Zeilenga
3342ea3b49 Add more bind allow/disallow flags 2000-09-11 18:24:24 +00:00
Kurt Zeilenga
2e13824d0d Add "allow tls_2_anon" to allow StartTLS to force session to anonymous.
Add "disallow tls_authc" to disallow StartTLS when session is authenticated.
Create and use connection2anonymous routine for consistency.
2000-09-08 22:59:01 +00:00
Kurt Zeilenga
2c342e894c Minor change to connection error handling 2000-09-08 18:46:18 +00:00
Kurt Zeilenga
85fc1af755 disallow more root dse operations 2000-09-08 16:59:15 +00:00
Kurt Zeilenga
1e26e165fe Disallow inappropriate operations upon the root dse. 2000-09-08 05:20:46 +00:00
Kurt Zeilenga
a20800a964 backout ucdata change as being a little too experimental 2000-09-07 23:46:07 +00:00
Kurt Zeilenga
a4fac87687 Use ucdata (very experimental) 2000-09-07 23:19:10 +00:00
Kurt Zeilenga
f9690a37bb ITS#717 slapd kbind patch 2000-09-07 22:03:32 +00:00
Kurt Zeilenga
d463b3cab1 Add missing "disallow bind_anon" directive (ITS#721) 2000-09-07 17:53:05 +00:00
Kurt Zeilenga
89766f131e ITS#713 check_time_syntax suggested by klasen@zdv.uni-tuebingen.de
Portions Copyright 2000, Norbert Klasen, All rights reserved.
      This software is not subject to any license of
      Universitaet Tuebingen.

      This is free software; you can redistribute and use it
      under the same terms as OpenLDAP itself.
2000-09-06 19:17:33 +00:00
Kurt Zeilenga
d4a89d30f8 Minor IPv6 changes (ITS#716) suggested by Stig Venass <venaas@uninett.no> 2000-09-06 19:03:33 +00:00
Kurt Zeilenga
5a4f5e5c50 reuse dnMatch as uniqueMemberMatch 2000-09-05 22:07:08 +00:00
Kurt Zeilenga
a75a024fd3 Consistently don't require "entry" access (except on search) 2000-09-05 21:48:12 +00:00
Kurt Zeilenga
7e71a7f63b Add krb5-kdc to list 2000-09-05 20:24:44 +00:00
Kurt Zeilenga
99f4a10c3e Add hdb.schema from Luke Howard <lukeh@padl.com>, file renamed. 2000-09-05 20:23:12 +00:00
Kurt Zeilenga
f2bcf33e23 Use DN syntax routines for Name and Optional OID syntax.
This is quite bogus but meets most users needs.
Should be replaced with real Name and Optional OID routines.
2000-09-05 20:10:39 +00:00
Kurt Zeilenga
f97482e10f Fix authz bug introduced by last change 2000-09-05 19:45:06 +00:00
Kurt Zeilenga
7778304b16 Fix typo 2000-09-05 19:38:26 +00:00
Kurt Zeilenga
c8c969a184 Rework connection lock code to avoid unnecessary lock reaquire 2000-09-05 19:11:27 +00:00
Kurt Zeilenga
488189aed2 Fix SSF ACLs 2000-09-05 18:48:09 +00:00
Kurt Zeilenga
63ae1d22e5 Fix ACL SSF reporting 2000-09-05 18:24:24 +00:00
Dmitry Kovalev
04939b7aca documentation update. this reflects recent changes (redesign, referral and multiple objectclasses support, and other), and provides new (hopefully more clear ;) description of concept 2000-09-05 18:16:58 +00:00
Kurt Zeilenga
cee040a321 Bring UCdata infrastructure. 2000-09-03 23:48:35 +00:00
Kurt Zeilenga
91bdd84b96 Duplicate IA5 matching rule routines as needed to implement UTF-8 varients. 2000-09-03 18:04:08 +00:00
Kurt Zeilenga
179cd46266 ITS#705: nisNetgroupTripleValidate
ITS#706: bootParameterValidate
Submitted by Stig Venass <venaas@uninett.no>
Modified by Kurt Zeilenga <kurt@openldap.org> for stricter
	adherence to specification (RFC 2307).

Portions
Copyright 2000 Stig Venaas
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. This software is provided ``as is'' without express or
implied warranty.
2000-09-03 17:35:39 +00:00
Kurt Zeilenga
309c458ed4 Experimental fix for deadlock 2000-09-02 00:19:06 +00:00
Randy Kunkee
58bb439d08 Raise MAXARGS to 200, since the schema syntax burns more. 2000-08-31 22:16:16 +00:00
Kurt Zeilenga
3058b0515d Don't publish version 2 if disallowed 2000-08-31 18:51:15 +00:00
Kurt Zeilenga
563fd083e9 reorder tests 2000-08-30 22:24:21 +00:00
Kurt Zeilenga
553a78e2ee Don't drain after TLS failure.... causes busy forever loop 2000-08-30 22:08:19 +00:00
Kurt Zeilenga
a60438c1ce Add sasl-host option and treat sasl-realm as global only
(ie: not backend specific).
2000-08-30 01:44:39 +00:00
Kurt Zeilenga
4e8973e6cb Rework bind restrictions 2000-08-28 23:37:44 +00:00
Kurt Zeilenga
102f12a71a Restrict bind 2000-08-28 23:29:29 +00:00
Kurt Zeilenga
90f0d9c85e Remove lint 2000-08-28 22:20:19 +00:00
Kurt Zeilenga
3e91d48127 Move authzid_backend to after restrictions checks 2000-08-28 21:28:22 +00:00
Kurt Zeilenga
4520cd4ec2 Align with man page 2000-08-28 19:19:47 +00:00
Kurt Zeilenga
9715e7f008 Add disallow and requires to man page. Fix sasl ssf handling bug. 2000-08-28 18:58:13 +00:00
Kurt Zeilenga
bf3df2f7a6 restrictops, requires, disallow knobs; ssf acls; and misc other changes
man pages to follow...
2000-08-28 18:38:48 +00:00
Kurt Zeilenga
08b52f80bb Fix alias deref success v. NoSuchObject bug 2000-08-27 17:53:01 +00:00
Kurt Zeilenga
b10a60c34a Provide a little information regarding contents of this directory 2000-08-26 20:25:36 +00:00
Kurt Zeilenga
8ef285f854 Misc schema clarifications 2000-08-26 20:24:52 +00:00
Kurt Zeilenga
4739a3015b Align with re20 2000-08-26 19:55:08 +00:00
Kurt Zeilenga
537704b540 Update void syntax and entry/children pseudo-attribute types
to have publishable OIDs.
2000-08-26 19:52:21 +00:00
Kurt Zeilenga
511e26641e Assign publishable OID for caseExactIA5SubstringsMatch 2000-08-26 18:49:50 +00:00
Kurt Zeilenga
2d3e998c3c Remove extended op callback function... doesn't provide necessary locking 2000-08-26 02:13:52 +00:00
Kurt Zeilenga
1c328aa9c7 Minor typedef and other clean ups 2000-08-26 01:14:05 +00:00
Kurt Zeilenga
a54b9cde6e Rework last commit for better forward compatibility 2000-08-25 07:55:08 +00:00
Kurt Zeilenga
be654e45f1 Remove meantion of authPassword from slappasswd(8) for 2.0.
Use -u scheme (in line with future code).
Need to trim authPassword from release schema code/confs.
2000-08-25 07:42:11 +00:00
Kurt Zeilenga
4b126ead58 Add "index objectClass eq"
Add additional comments.
Trim modules
2000-08-25 01:16:32 +00:00
Kurt Zeilenga
e8339f677c Add additional comments to note incomplete validation of syntaxes 2000-08-24 20:00:44 +00:00
Kurt Zeilenga
4a3b51e0da Add fake validators for nisNetgroupTriple and bootParameter syntaxes.
Note that real validators would likely break common usage as 'keystring'
is too limiting.
2000-08-24 19:54:16 +00:00
Kurt Zeilenga
60c474a4a0 ITS#681: Fix for problems with IPv6 and ACLs
from Stig Venaas <venaas@uninett.no>
---
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-08-24 18:34:48 +00:00
Kurt Zeilenga
7b548b4a91 Make settings match manual page. 2000-08-24 01:12:54 +00:00
Kurt Zeilenga
67ddc87e68 Fix substring any filters 2000-08-22 22:34:37 +00:00
Kurt Zeilenga
a7ec3506cf change "substr" to imply initial, any, final indexing. 2000-08-22 21:33:09 +00:00
Kurt Zeilenga
02f888c563 First cut of LDBM substrings indexing. Needs testing. 2000-08-22 21:26:25 +00:00
Kurt Zeilenga
32c7186b9c Add frontend support for "any" substrings assertions.
Needs to be tied into index mask and backend search code.
2000-08-22 02:23:52 +00:00
Kurt Zeilenga
4f43f8262e Remove extraneous ber_bvfree() 2000-08-22 02:07:32 +00:00
Kurt Zeilenga
f207bd9dd2 Fix uninitialized value ptr bug 2000-08-21 23:20:26 +00:00
Kurt Zeilenga
9de590cf26 Assign perm OID 2000-08-21 21:51:38 +00:00
Kurt Zeilenga
50643e5e73 Assign perm OIDs 2000-08-21 21:50:30 +00:00
Kurt Zeilenga
52223bd699 Use example.com in examples 2000-08-21 03:09:53 +00:00
Kurt Zeilenga
160ecea6b1 Fix callback check logic 2000-08-21 03:08:01 +00:00
Mark Adamson
c7abc6310d Fix the logic for checking if backend DB has all necessary functions. 2000-08-18 16:58:46 +00:00
Kurt Zeilenga
5425a5e4c8 remove bdb2 cruft 2000-08-18 04:24:08 +00:00
Kurt Zeilenga
7800d2d41e Remove cldap cruft 2000-08-18 03:35:19 +00:00
Kurt Zeilenga
3c1f76d568 jpeg syntax should be using blobValidator. 2000-08-17 17:55:33 +00:00
Kurt Zeilenga
f286380c82 Check for IP using != AF_LOCAL instead of = AF_INET 2000-08-17 04:22:36 +00:00
Kurt Zeilenga
66bad2ad21 Add HAVE_CHROOT ifdef 2000-08-17 04:21:20 +00:00
Kurt Zeilenga
20a67a2dbc needs ldap_pvt.h 2000-08-17 04:20:12 +00:00
Howard Chu
0f8047b95e Implemented ldap_pvt_tls_get_peer() for use with SASL/EXTERNAL.
Added ldap_pvt_tls_get_strength() - return encryption strength, for
use as a SASL session security factor.
2000-08-16 23:27:41 +00:00
Kurt Zeilenga
df8c837c80 Fix typos 2000-08-15 23:42:44 +00:00