Quanah Gibson-Mount
80073aefa3
Fix comment style.
2006-08-28 01:05:32 +00:00
Quanah Gibson-Mount
3ee11b1c2a
Fix delete type modifys where no value is given to be deleted. (ITS#2612)
...
Thanks to Alister Winfield for the patch.
2006-08-28 01:01:32 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
b3c8a976ec
use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings
2005-11-25 22:17:24 +00:00
Pierangelo Masarati
6f7b00d891
fix sizelimit commit
2005-11-25 15:08:33 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Howard Chu
9213019114
ITS#4039
2005-09-25 03:43:20 +00:00
Howard Chu
bf7194aba9
ITS#3923 make perl_back_open symmetric with perl_back_close
2005-09-23 11:54:48 +00:00
Hallvard Furuseth
8dddff803e
Silence "unused variable" warning
2005-07-14 19:35:09 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Pierangelo Masarati
9c550e7235
first step towards removing back-*/external.h
2004-11-13 18:52:44 +00:00
Pierangelo Masarati
79f744f30b
rework static backend initialization
2004-11-11 00:39:19 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Pierangelo Masarati
dddee82680
cleanup
2004-05-06 14:51:14 +00:00
Kurt Zeilenga
510eb8dff2
Blind portability fix
2004-04-27 07:23:04 +00:00
Howard Chu
81bc7fcc8c
Fix module link libraries
2004-04-17 15:12:20 +00:00
Kurt Zeilenga
c7f0438044
bvalue cleanup
2004-04-08 06:49:17 +00:00
Howard Chu
8c6fe48806
More dynamic/static cleanup
2004-04-08 05:58:54 +00:00
Howard Chu
f2e1df3ef7
Consolidated static/dynamic backend switches
2004-04-08 05:56:23 +00:00
Pierangelo Masarati
ec6a663820
reset SlapReply flags
2004-03-17 11:50:15 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
0690f79a5a
Cleanup unknown config directive handling.
2003-12-07 07:07:00 +00:00
Kurt Zeilenga
da6d557cdc
Notices
2003-12-06 19:25:01 +00:00
Kurt Zeilenga
0398bad8f0
Cleanup
2003-12-01 01:54:11 +00:00
Kurt Zeilenga
bd1543ce44
notices
2003-11-29 22:38:48 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Hallvard Furuseth
887ef60ea9
Fix typo in comment.
2003-09-30 17:11:44 +00:00
Howard Chu
aa3b69eb32
ITS#2440 unmunge init_module names
2003-06-12 22:25:20 +00:00
Hallvard Furuseth
579e768046
#include Perl files before OpenLDAP files, and #undef _ (ITS#2513)
2003-06-05 11:44:06 +00:00
Kurt Zeilenga
7ca24a8591
Another round of minor copyright updates
2003-05-25 03:56:57 +00:00
Hallvard Furuseth
f972945131
#include "lutil.h" to get lutil_strcopy().
2003-05-15 11:51:33 +00:00
Howard Chu
8357a8b66e
slapd API update
2003-03-31 23:19:12 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
30c5915460
Fix version check in previous
2003-03-13 02:01:14 +00:00
Howard Chu
573349a318
ITS#2356 - support Perl newer than 5.6
2003-03-13 01:58:26 +00:00
Howard Chu
5a01db28e3
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
2002-07-27 00:24:02 +00:00
Howard Chu
7e8c77c5de
Fix dynamic module linking
2002-06-21 01:34:53 +00:00
Kurt Zeilenga
04df89d972
zap unnecessary include
2002-06-14 09:10:02 +00:00
Kurt Zeilenga
ad673923a3
ITS#1882: fix typo
2002-06-13 14:50:33 +00:00
Kurt Zeilenga
aa46324462
Fix for ITS#1842 (applied blindly)
2002-06-08 06:09:30 +00:00
Kurt Zeilenga
5b06af70bb
Patch: Perl backend sends bind result twice (ITS#1783)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
perl_back_bind() should not send LDAP_SUCCESS, the frontend does that.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
2002-05-01 18:10:14 +00:00
Pierangelo Masarati
d019bff7b8
First commit of Hallvard's backend documentation effort
...
Backend documentation patch, version 1
================
Most of this text is taken from OpenLDAP. The work of rewriting it
to manual pages is done by by Hallvard B. Furuseth and placed into
the public domain. This software is not subject to any license of
the University of Oslo.
================
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
2002-04-29 20:24:29 +00:00
Luke Howard
03679b7ce5
correct sponsor name
2002-04-16 05:36:22 +00:00
Luke Howard
dda2e4cee0
ITS#1646
2002-04-16 04:25:44 +00:00
Luke Howard
064319ae4e
ITS#1659 - forgot to define n_a
2002-04-16 04:04:40 +00:00
Luke Howard
c517c23853
ITS#1659: s/na/n_a/
2002-04-16 03:59:22 +00:00
Luke Howard
a045fc60a5
ITS#1729, #1659
2002-04-16 03:58:21 +00:00
Luke Howard
d2585491a0
ITS#1729
2002-04-16 03:56:23 +00:00
Luke Howard
9db008f08f
ITS#1676
2002-04-16 03:51:51 +00:00
Luke Howard
7127e0887c
ITS#1659
2002-04-16 03:47:39 +00:00
Howard Chu
6f8cc0d72c
Finished compare implementation
2002-02-02 10:37:25 +00:00
Howard Chu
8755c4e067
Deleted unneeded unbind.c
2002-02-02 10:13:16 +00:00
Howard Chu
73c87065fb
API updates, some typo fixes
2002-02-02 10:10:35 +00:00
Howard Chu
265a03c7bd
Changed AttributeName back into an array instead of a linked list
2002-01-03 05:41:50 +00:00
Howard Chu
743c402265
Changed search attrs from struct berval ** to AttributeName *
2001-12-31 11:35:52 +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
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +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
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
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
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
John Quillan
c6744aea36
fixed problem in which we didn't statically link in the dynamic
...
loader, there for not allowing any modules with shared libraries
to be loaded.
1999-11-11 06:14:41 +00:00
Ben Collins
ed75be1b3c
* configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
...
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
-ltcl to the module and not slapd (this is the correct way to do this since the .la file
handles giving the correct libs when we pass the module to it in the linker line with
-dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
specific libraries. These should be defined in the back-*/Makefile.in file for each
module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
using a dynamic module (problem, libtool wont allow linking static libs into a libtool
lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
1999-09-23 05:32:10 +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
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
Kurt Zeilenga
a39cf6f93d
Add support for LDAP_ALL_OPERATIONAL_ATTRIBUTES ("+") (based on
...
LDAPext discussions).
Add attrs and attrsonly support to monitor/config info.
Add rdn attributes to schema/monitor/config.
Add extensibleObject objectclass to schema/monitor/config.
Add top objectclass to rootdse/monitor/config.
Remove opattrs option from send_search_entry().
1999-07-24 03:39:23 +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
d7b311c6e1
s/LDAP_NOT_SUPPORTED/LDAP_UNWILLING_TO_PERFORM/
1999-07-01 04:43:48 +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
Bastiaan Bakker
e2b5b21155
Added connection initialisation and destruction notification. Now backends can register functions in backend_info.bi_connection_init and backend_info.bi_connection_destroy that will be called when a connection is initialized or destroyed.
1999-06-23 12:31:35 +00:00
Kurt Zeilenga
450b02ca58
s/WIN32/HAVE_WINSOCK/
...
remove old Version.c
1999-05-21 03:53:37 +00:00
Kurt Zeilenga
dba57a312c
Add mkversion script to generate version.c files. mkversion generates
...
identification strings compatible with ident(1) and what(1).
Uses $(VERSION) generated from configure.in. rm build/version
rm old version .c files
1999-04-28 05:40:17 +00:00
John Quillan
3f1fd3bcee
Fix bug in compare.c where obj_ref to pb_obj_ref
...
Added call to perl "config" method so the the
perl module can have its own configuration
options.
Fix bug in init.c where the address of the be_private
object was being retrieved when it was already
a pointer.
Added the dn parameter to the modify.c call to the
modify method. Not sure why this wasn't there
in the beginning.
Expects and array from the search method instead of
a scalar in search.c so that it can return search
results and a return code.
Added the demo file SampleLDAP.pm
1999-04-04 04:16:14 +00:00
Juan Gomez
654f21b237
Implemented newSuperior handling.
1999-03-05 19:14:23 +00:00
Juan Gomez
3ba99a75ef
Added parameter newSuperior in preparation to support
...
LDAP v3 MODDN request.
1999-03-05 03:38:12 +00:00
Hallvard Furuseth
69a93a0582
function pointers are incompatible with `void *'; remove NULL or replace with 0
1999-03-03 17:02:10 +00:00
Hallvard Furuseth
0fe0efeeac
wrap bi_acl_group in #ifdef SLAPD_ACLGROUPS
1999-02-20 08:53:48 +00:00