Howard Chu
f7c1ef4398
More ava fixups
2001-12-29 15:24:53 +00:00
Kurt Zeilenga
a3e6048359
Update to new struct berval DN API
2001-12-26 22:53:54 +00:00
Kurt Zeilenga
9f8c9bf3a8
struct berval DN changes
2001-12-26 18:04:06 +00:00
Kurt Zeilenga
df9cc9da58
Fix typo
2001-12-26 17:51:07 +00:00
Howard Chu
d474789d0d
First pass at converting bind to struct bervals
2001-12-26 11:41:38 +00:00
Howard Chu
ede3abc8c7
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:47:04 +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
Kurt Zeilenga
2dd27b0786
More struct berval DNs
2001-12-25 19:48:26 +00:00
Kurt Zeilenga
fa30a46446
Fix DN struct berval issue
2001-12-24 17:01:08 +00:00
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +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
3889e1d955
Add some EINTR logic to back-shell. Assumes fgets() handles
...
such errors in a particular manner.
2001-09-02 00:10:57 +00:00
Randy Kunkee
a9097044ea
Remove global_backendsyncfreq code (code has been pushed down into back-ldbm).
2001-06-28 18:02:46 +00:00
Randy Kunkee
d492880870
Add sync_daemon to daemon.c, enabled by global configuration
...
backendsyncfreq <seconds>. Setting this automatically enables
dbnosync (because the synchronizer takes care of it).
2001-06-22 08:38:58 +00:00
Kurt Zeilenga
2133318df7
Fix LDIF bug
2001-05-02 19:41:57 +00:00
Kurt Zeilenga
fc630ea1f8
Unbind should not return a result
2000-11-30 20:27:27 +00:00
Kurt Zeilenga
52223bd699
Use example.com in examples
2000-08-21 03:09:53 +00:00
Kurt Zeilenga
5fc22599e2
Update SASL code to reuse context through life of session.
...
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Mark Valence
51bd73ce7d
New backend routine: back_attribute
2000-06-21 17:41:49 +00:00
Kurt Zeilenga
a3414536a4
Add backend_check_referrals() framework.
2000-06-16 01:46:42 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +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
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
e0eba07244
Add copyright notices
2000-05-15 16:35:48 +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
Howard Chu
3d5553abc2
Removed XLDFLAGS, unnecessary for modules.
2000-05-11 09:33:34 +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
36b0423311
Add Modification/Modifications structures for -DSLAPD_SCHEMA_NOT_COMPAT
2000-02-07 20:37:10 +00:00
Luke Howard
a1ccf169da
Filled in Cyrus SASL authz/storage callbacks for all backends
...
(callbacks not yet implemented though).
2000-01-02 05:42:14 +00:00
Kurt Zeilenga
d5edb4bff6
Reengineered ldappasswd(1). Uses extended operation to set
...
user password. Likely to be modified to use bind control
instead. Use of modify deprecated in favor mechanisms that
support passwords stored externally to the directory (such
as in a SASL service).
Modified slapd extended operation infrastructure to support
backend provided extended operations.
1999-12-08 04:37:59 +00:00
Howard Chu
f991ef04e6
Added mixed-case as well as up-cased DN argument. The behavior of back-bdb2
...
and back-ldbm are preserved, they only use the up-cased DNs. back-passwd
uses the mixed-case DN. All others are using mixed-case DN, may need more
fixing.
1999-09-18 23:40:03 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
7cb866642d
Fix Debug printf format
1999-09-02 08:11:54 +00:00
Hallvard Furuseth
c09a2c63e7
Cleanup:
...
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Kurt Zeilenga
546262acb8
complete this round of constification
1999-08-20 19:50:11 +00:00
Kurt Zeilenga
8ac21b67a1
more const'ification
1999-08-20 19:29:43 +00:00
Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Howard Chu
d620793b6f
Make init_module return a success/fail value.
1999-08-17 00:28:01 +00:00
Howard Chu
638f37743b
Fix explicit backend dependencies. Wildcard was unreliable.
1999-08-09 01:29:27 +00:00
Howard Chu
366e8fd5ad
Final round of module changes
1999-08-07 11:37:43 +00:00
Howard Chu
03b58cc9cf
For dynamic modules, must explicitly zero BackendInfo structure in
...
init_module. Since it's a local var, you have no idea what kind of
garbage is sitting in important function pointers...
1999-08-06 13:16:26 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
d716086a2d
Delete spurious 7th arg (of 8) to send_search_entry()
1999-08-01 20:31:03 +00:00
Kurt Zeilenga
598c472bf9
s/backend_db/slap_backend_db/
1999-07-19 21:01:07 +00:00
Kurt Zeilenga
73276e84ae
Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
...
Includes support for update referral for each replicated backend.
Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world. Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Kurt Zeilenga
e9c2895472
Add support for unsolicited notifications.
1999-07-07 18:51:39 +00:00
Kurt Zeilenga
51d1c90887
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
1999-07-05 06:26:26 +00:00
Kurt Zeilenga
a7dfc2aada
Add sasl "mech" argument to backend bind routines.
1999-06-29 03:29:26 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00