Commit Graph

1523 Commits

Author SHA1 Message Date
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
Randy Kunkee
e5de6c5b0c Change count test for non-zero reference counts to check for ... non-zero. 2000-04-26 09:24:58 +00:00
Randy Kunkee
75467fb340 Rework order of things to allow restart in oneshot mode. 2000-04-26 09:24:12 +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
Kurt Zeilenga
20351a05cc SASL: me thinks I got the states okay... now to test. 2000-04-25 18:02:50 +00:00
Kurt Zeilenga
42a20681cc SASL closer to working from frontend only, need to work through
states.
2000-04-25 17:23:54 +00:00
Kurt Zeilenga
55ae3cffd8 SASL code without backend support. Should work with
external store, but not yet tested.  [Intent is to support
both in same server... may not be doable]
2000-04-25 16:03:17 +00:00
Kurt Zeilenga
2e22c55a6c Fix typo in prev commit 2000-04-25 13:25:55 +00:00
Kurt Zeilenga
6f2a817d9d bind/sasl cleanup PRIOR TO moving call from backend to frontend 2000-04-25 13:21:42 +00:00
Kurt Zeilenga
0c134a72d6 SCHEMA_NOT_COMPAT changes 2000-04-25 13:21:06 +00:00
Kurt Zeilenga
12e253fc66 entry_schema_check rename 2000-04-25 13:20:05 +00:00
Kurt Zeilenga
01c4e0f03c LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other error handling changes
2000-04-25 13:18:59 +00:00
Kurt Zeilenga
365d17ca68 entry_schema_check() rename and more (error handling) 2000-04-25 13:15:55 +00:00
Kurt Zeilenga
8b09742e5c (slightly) better comments 2000-04-25 13:13:42 +00:00
Kurt Zeilenga
f5ab390e08 Update 2000-04-25 13:12:40 +00:00
Kurt Zeilenga
56ebee78fb return more descriptive error text 2000-04-25 13:12:20 +00:00
Kurt Zeilenga
16937cb91d remove SASL bind call. Frontend code coming. 2000-04-25 13:10:31 +00:00
Kurt Zeilenga
3bad06d52b entry_schema_check() rename 2000-04-25 13:07:14 +00:00
Kurt Zeilenga
2dc6185a92 LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other misc changes
2000-04-25 13:06:22 +00:00
Kurt Zeilenga
27a29fddbb Fix comment 2000-04-25 13:02:42 +00:00
Ben Collins
32bdecbb5f for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what the user specifies (add replica/ to it) to avoid /tmp races. A lot of the files that slurpd uses cannot be opened with O_EXCL, nor can we safely determine if there are any hardlinks from another file to it, so we create our own subdirectory so we can control the perms, even in /tmp 2000-04-24 17:03:45 +00:00
Ben Collins
a44adcfb43 filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use 2000-04-24 16:47:41 +00:00
Ben Collins
4319e67736 use strcpy instead of sprintf when all we have is two args (source and dest) 2000-04-24 16:44:16 +00:00
Ben Collins
50a41f3ee2 when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:42:16 +00:00
Kurt Zeilenga
28d7d099be LDAP_OPERATIONS -> LDAP_OTHER 2000-04-19 13:42:08 +00:00
Kurt Zeilenga
01de012e1c Fix realloc bug and remove use of LDAP_MOD_BVALUES 2000-04-19 08:43:37 +00:00
Kurt Zeilenga
2d4fb1e6e1 Fix c_mutex unlock bug 2000-04-12 01:40:06 +00:00
Kurt Zeilenga
065af58fb7 Fix debug messages 2000-04-12 01:39:52 +00:00
Kurt Zeilenga
4854c6173b Fix debug message 2000-04-12 01:35:53 +00:00
Kurt Zeilenga
2f0ec52df9 Fix improperly terminated comment 2000-04-12 01:10:50 +00:00
Kurt Zeilenga
360c56a78a fix uninitialized ndn bug 2000-04-12 01:09:36 +00:00
Kurt Zeilenga
870dbca576 objectclass=* -> NULL 2000-04-12 01:00:48 +00:00
Julio Sánchez Fernández
976ac15785 The add routine in the backend already frees the entry in error, so
avoid trying to free it again.
2000-03-30 13:14:42 +00:00
Julio Sánchez Fernández
7a7855508c We need to inherit syntax_compat from superior. Problem manifests
itself in that cn suddenly becomes case-sensitive.
2000-03-24 13:44:37 +00:00
Kurt Zeilenga
ebfb0b8261 Move presence index change outside of values for loop. 2000-03-20 23:38:38 +00:00
Kurt Zeilenga
94d3673dbe wrap sql *.c files with #ifdef SLAPD_SQL to facilate NT builds
without -DSLAPD_SQL
2000-03-19 06:18:27 +00:00
Kurt Zeilenga
abbd5ec2fa fix up comment 2000-03-17 22:57:49 +00:00
Kurt Zeilenga
3e5c381d3a Need SOFTADD fix for previous fix 2000-03-17 18:31:40 +00:00
Kurt Zeilenga
d1803fce0a Fix multivalued indices. Need to add indices of remaining
values after delete of any value.
2000-03-17 18:22:16 +00:00
Kurt Zeilenga
28c6217a12 s/userPassword/password/ (variable name) 2000-03-17 02:06:50 +00:00
Kurt Zeilenga
d2893546cd Don't add subentries of the RootDSE to namingContexts 2000-03-17 02:06:10 +00:00
Kurt Zeilenga
c66605890d MUST -> MAY ( cn ) 2000-03-17 02:05:21 +00:00
Kurt Zeilenga
cfbeac4576 Missing entry causes slapd to segfault (ITS#482)
Fix provided by pturgyan@umich.edu
2000-03-17 01:47:40 +00:00
Dmitry Kovalev
f28e0c1967 update Win32 build environment to support back-sql 2000-03-16 19:58:36 +00:00
Dmitry Kovalev
a16a87a412 even more back-sql files 2000-03-16 19:46:21 +00:00
Dmitry Kovalev
4e703c5261 more back-sql files + rdbms_dependent samples 2000-03-16 19:34:46 +00:00
Dmitry Kovalev
d63b3dc2fd added back-sql files 2000-03-16 19:08:22 +00:00
Dmitry Kovalev
8dc136ddd6 update Unix build environment to support back-sql
2 more steps left: add back-sql directory itself, and update Win32 build environment.
2000-03-16 18:54:11 +00:00
Kurt Zeilenga
ad6882acac Add additional be_isroot() checks to protect against empty
root and client ndns.  (the existing backend protections
*should* be good enough, but one cannot be too safe)
2000-03-15 19:42:03 +00:00
Kurt Zeilenga
db662b516f Fix NT builds and remove lint 2000-03-13 19:30:14 +00:00
Kurt Zeilenga
000c1ca40b Fix calloc typo 2000-03-09 19:15:48 +00:00
Kurt Zeilenga
9369b9daad Fix malloc of referral pointer array. 2000-03-08 17:37:49 +00:00
Kurt Zeilenga
4710c74605 Rework error handling. Add error descriptions.
Don't use LDAP_OPERATIONS_ERROR for internal errors.  Use LDAP_OTHER
instead.  (more changes needed in this area)
2000-03-03 22:37:06 +00:00
Kurt Zeilenga
5681a79d96 StartTLS now grabs conn->c_mutex before mucking with connection.
Add comment concerning sequencing issues which need to be resolved
by reworking of connection state machine.  Add note that a race
condition exists until this rework is complete.
Rework extended operations to return pointer to static error text.
2000-03-02 20:36:53 +00:00
Kurt Zeilenga
10588da3c5 Print tag with SASL in progress operations error. 2000-03-02 01:20:00 +00:00
Kurt Zeilenga
ddb9755ba7 Move handling of operations errors due to submission of
non-bind requests while a multi-step SASL bind process
is under to connection.c.  Return LDAP_OPERATIONS_ERROR,
not LDAP_SASL_BIND_IN_PROGRESS.
2000-03-02 00:59:10 +00:00
Kurt Zeilenga
e96865c1a8 Reorder error detection based upon precedence 2000-03-01 22:59:34 +00:00
Kurt Zeilenga
add0d847fb Need to strdup subschemasubentry a_type 2000-03-01 19:38:15 +00:00
Kurt Zeilenga
ac7f6c2e37 Replace do_*() return -1 with return SLAPD_DISCONNECT.
Only return SLAPD_DISCONNECT with a send_ldap_disconnect()
was called.
Add initial code for support predetermined filter results
when filter is undefined (or known to be true or false).
2000-02-29 23:48:01 +00:00
Kurt Zeilenga
4091381660 Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes, including:
limited subtype support, modlist handling, filter updates,
lastmod attribute handling.
2000-02-28 21:16:05 +00:00
Kurt Zeilenga
76553ea53f More -DSLAPD_SCHEMA_NOT_COMPAT changes, including initial
impl of slap_modlist2mods() and is_at_subtype().
2000-02-25 19:36:07 +00:00
Kurt Zeilenga
2c16d08b7c noschemacheck should not disable validation of DNs 2000-02-25 19:31:54 +00:00
Kurt Zeilenga
34197ca974 ITS#464: Fix multiple password support 2000-02-24 17:59:10 +00:00
Kurt Zeilenga
ecb915357c Correct comment concerning entry LDIF. 2000-02-22 20:25:54 +00:00
Kurt Zeilenga
550542e020 Use common entry cleanup code. 2000-02-22 19:43:02 +00:00
Kurt Zeilenga
86bd13846f Additional -DSLAPD_SCHEMA_NOT_COMPAT changes
Not hidden "NULLDN" to "<anonymous>" in modify stats
2000-02-22 19:26:15 +00:00
Kurt Zeilenga
ceb6412e62 More -DSLAPD_SCHEMA_NOT_COMPAT changes
Not hidden: "<anonymous>" modifiersname
2000-02-15 18:57:07 +00:00
Kurt Zeilenga
0dbaf87730 Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
plus these changes unhidden changes:
	remove now meaning --enable-discreteaci configure option
	fix ITS#451, slapd filters
	Add ber_bvecadd() to support above
	constify ldap_pvt_find_wildcard() and misc slapd routines
	renamed some slap.h macros
	likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
4e4b8204ab ITS#454: fix VPATH support 2000-02-12 20:04:45 +00:00
Kurt Zeilenga
36b0423311 Add Modification/Modifications structures for -DSLAPD_SCHEMA_NOT_COMPAT 2000-02-07 20:37:10 +00:00
Kurt Zeilenga
79e92663e8 Fix -DSLAPD_SCHEMA_NOT_COMPAT -DLDAP_DEBUG builds (still won't run) 2000-02-07 17:50:42 +00:00
Kurt Zeilenga
bc51bd5180 Yet another round of SLAPD_SCHEMA_NOT_COMPAT changes...
Changes outside of #ifdef include three value filter processing.
2000-02-06 21:09:44 +00:00
Kurt Zeilenga
f9195f9b6f Another round of SLAPD_SCHEMA_NOT_COMPAT changes including
basic structures for handing language tags and binary option
(but less actual code to actually support them).  Provided
for reference only.  Will not even compile.
2000-02-05 05:01:41 +00:00
Kurt Zeilenga
86cedc6ac7 ITS#439: Fix logic error 2000-02-04 17:49:32 +00:00
Kurt Zeilenga
2e3d9d7737 Use experimental OID for ACI syntax. Likely need to add
additional schema items.
2000-02-01 18:05:49 +00:00
Kurt Zeilenga
9316c4eace ACI attributes should be of ACI syntax. Need to assign
OID for experimental syntax.
2000-02-01 17:53:07 +00:00
Kurt Zeilenga
3708530620 Didn't return after returning unknown critical control.
Noticed that abandon and unbind don't have control support... something for
another day.
2000-02-01 01:22:06 +00:00