Commit Graph

1070 Commits

Author SHA1 Message Date
Pierangelo Masarati
8b797f70e2 allow user-defined return codes from rewriteRules 2003-12-29 16:14:47 +00:00
Pierangelo Masarati
e9314574aa allow memory ownership specification when using (session- wide) variables 2003-12-27 18:48:06 +00:00
Kurt Zeilenga
5481755c0e Move ldapi to /var/run 2003-12-19 02:28:06 +00:00
Kurt Zeilenga
fdbd8705ae Move pid/args files into $(RUNDIR)/run
Move ldapi into $(RUNDIR)/run/openldap
2003-12-19 02:18:29 +00:00
Kurt Zeilenga
fa20839617 Add comment 2003-12-19 02:00:10 +00:00
Kurt Zeilenga
6c7e753c0d Remove cruft 2003-12-19 01:40:06 +00:00
Kurt Zeilenga
c7a390ee43 Switch to #if instead of #ifdef LDAP_DEPRECATED 2003-12-18 00:44:51 +00:00
Kurt Zeilenga
806ec7470b Minor adjust 2003-12-17 21:29:19 +00:00
Kurt Zeilenga
46053f84a6 Clean up LDAP Sync result codes 2003-12-17 21:09:28 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
a736f237f8 Deprecate +objectClass in favor of @objectClass per IETF discussions 2003-12-16 05:55:52 +00:00
Kurt Zeilenga
52c0adeb19 minor tweak and rebuild 2003-12-16 01:58:15 +00:00
Kurt Zeilenga
d9ad3bcc50 Rework last commit 2003-12-15 23:32:52 +00:00
Kurt Zeilenga
ba783f89bf Rev the API version number 2003-12-15 23:27:28 +00:00
Kurt Zeilenga
9920e9fbf6 Add support for -DOPENLDAP_FD_SETSIZE=N for use on Linux.
Works on BSD as well (equiv. to -DFD_SETSIZE=N).
2003-12-14 06:46:30 +00:00
Kurt Zeilenga
4d29df5bd1 Add LDAP_DEPRECATED macro
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Howard Chu
39eb55b5f4 ITS#2869 fix decode length checks again 2003-12-11 13:24:06 +00:00
Kurt Zeilenga
169c9f60e4 More error code tweaks 2003-12-11 07:43:49 +00:00
Kurt Zeilenga
552a51ca50 Tweak the codes 2003-12-11 07:28:01 +00:00
Kurt Zeilenga
430b67aa60 Change API error codes to negative numbers so as not to clash
with newly assigned protocol result codes.
2003-12-11 05:26:32 +00:00
Kurt Zeilenga
96cb99aa54 s/unsigned long/ac_uint4/ 2003-12-08 18:08:29 +00:00
Kurt Zeilenga
459d6f41e2 As ud(1) is in the Attic, TERMCAP no longer needed 2003-12-06 21:41:14 +00:00
Kurt Zeilenga
c425a7ce1d Move back-tcl to the Attic 2003-12-06 21:37:44 +00:00
Howard Chu
64e337eacf Overlay build environment 2003-12-06 10:59:27 +00:00
Howard Chu
3152932e96 Moved ldbm into back-ldbm. No more libldbm. 2003-12-04 22:38:54 +00:00
Kurt Zeilenga
51358be911 Misc cleanup 2003-12-03 01:07:06 +00:00
Pierangelo Masarati
43f7494a5d remove /* in comments 2003-11-29 17:52:05 +00:00
Kurt Zeilenga
159de0f135 Updated notices and acknowledgements 2003-11-26 07:16:36 +00:00
Kurt Zeilenga
2c21fdcecb move AVL routines into -llutil
update misc notices
2003-11-26 04:17:25 +00:00
Kurt Zeilenga
a6bc746900 Fix notices 2003-11-26 04:16:36 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
327880b984 Notice updates 2003-11-25 23:17:08 +00:00
Kurt Zeilenga
fa3ae9e0e6 Align to IBM's OPL notice 2003-11-20 05:10:49 +00:00
Kurt Zeilenga
bc45f4992e Update to basic notice 2003-11-20 04:58:17 +00:00
Pierangelo Masarati
a3deda8026 fix a number of mem leaks; add destroy code; HEADS-UP: API change in rewrite_info_delete() 2003-11-14 18:39:18 +00:00
Jong Hyuk Choi
64dd6a0760 fix for the cascading replication (reenabling test019) 2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
f3586499d0 update ldapsync/syncrepl code according to the new version of
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Kurt Zeilenga
0ee298df97 Should include <ac/string.h> not <string.h> 2003-11-04 00:45:41 +00:00
Howard Chu
45c42630db Add "defer" arg to ldap_pvt_runqueue_resched to suspend scheduling of
a task in the queue without removing it.
2003-10-25 21:13:08 +00:00
Hallvard Furuseth
a4f93a6908 Really rename ldap_int_get_controls() to ldap_pvt_get_controls(). 2003-10-14 11:27:32 +00:00
Kurt Zeilenga
85990be2f4 Minor tweak to last commit 2003-10-13 18:35:08 +00:00
Kurt Zeilenga
a2f36ae2d3 Rework of berbuf allocation:
Moved BerElementBuffer to lber_pvt.h
	Defined union by macro so it can be easily reused.
Updated client/tools/common.c.
2003-10-13 18:09:15 +00:00
Kurt Zeilenga
4f003dbdaf mv ldap_int_get_controls to ldap_pvt_get_controls 2003-10-12 08:14:28 +00:00
Kurt Zeilenga
767cf365ea Initial fix for berbuf alignment bug (ITS#2760)
Needs to be applied to other stack allocated berbufs.
2003-10-12 04:45:09 +00:00
Hallvard Furuseth
92b3366802 #include <string.h>, to get memcmp() and memset(). 2003-09-29 23:31:18 +00:00
Luke Howard
613f493cae Add slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API. 2003-09-27 03:29:05 +00:00
Luke Howard
025f21c37b slapi_send_ldap_search_reference() 2003-09-26 17:19:25 +00:00
Kurt Zeilenga
32c523af3b Fix long long comment 2003-09-22 06:07:25 +00:00
Luke Howard
0143bfaaee Also check for strtoll() 2003-09-21 06:04:14 +00:00
Luke Howard
0ce1c00f09 Check for strtoq, strtouq 2003-09-21 05:37:20 +00:00
Kurt Zeilenga
99f968b597 Initial support for pre/post read controls.
TODO:
	Fix transactional consistency
	Add client response control handling
2003-09-16 18:56:04 +00:00
Luke Howard
b1411a3dce Add ACL plugin definitions 2003-08-31 07:51:28 +00:00
Luke Howard
323451eba8 SLAPI_X_CONN_SASL_CONTEXT 2003-08-30 17:29:54 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
660617ae66 Context CSN patch (1)
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Jong Hyuk Choi
6659cf3ea1 LDAP Sync protocol change : state mode (add+present) and log mode (add+delete) 2003-08-14 16:27:36 +00:00
Kurt Zeilenga
b54780f940 Add initial support for modify/increment. No over/under flow detection.
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Kurt Zeilenga
7c9a2f46b9 preliminary modify/increment client side code 2003-07-30 10:21:57 +00:00
Hallvard Furuseth
9290801052 Rename LDAP_OPT_ERROR_NUMBER to LDAP_OPT_RESULT_CODE, according to
draft-ietf-ldapext-ldap-c-api-05.txt, and keep the old name as an alias.
2003-07-22 18:19:37 +00:00
Luke Howard
8faebd0d55 Plugin extension API
Expose SSF to plugin
2003-07-03 17:38:57 +00:00
Kurt Zeilenga
9deac09c6a ITS#2622: fix default database directory 2003-06-30 18:46:32 +00:00
Hallvard Furuseth
55093034c6 Add HAVE_LONG_LONG 2003-06-28 19:52:19 +00:00
Jong Hyuk Choi
262f8bf11f LCUP primitive routines removed 2003-06-27 17:39:48 +00:00
Kurt Zeilenga
3461e10369 Add pre/post reback control defines 2003-06-10 18:30:11 +00:00
Kurt Zeilenga
4bf037cfaa Add ldapAssertionFailed result code 2003-06-10 02:24:26 +00:00
Kurt Zeilenga
3ca2a91ae1 Assertion control with no backend support (yet) 2003-06-10 02:19:30 +00:00
Hallvard Furuseth
42de322f06 Make all debug output macros conditional on defined(LDAP_DEBUG). 2003-06-06 13:56:18 +00:00
Hallvard Furuseth
af0bd5ab68 No longer make LDAP_TEST imply LDAP_DEBUG. 2003-06-06 13:53:01 +00:00
Hallvard Furuseth
0f29f0af96 #define *_OPT_ON &ber_pvt_opt_on. The old (void*)1 definition could be == NULL. 2003-06-06 13:50:01 +00:00
Hallvard Furuseth
b7e6be414d Rename setlocale,textdomain,bindtextdomain to ldap_pvt_<function> (ITS#2513) 2003-06-05 11:46:49 +00:00
Kurt Zeilenga
c8c692f15e Enable sync 2003-05-31 21:03:06 +00:00
Kurt Zeilenga
12304f64e5 Merge partial and intermediate responses 2003-05-31 05:01:49 +00:00
Kurt Zeilenga
21927e2c4a move lber_*_x memory prototypes to lber_pvt.h 2003-05-31 04:22:49 +00:00
Kurt Zeilenga
03233d2719 Move SYNC, SYNCREPL, and LDAP_CACHING out from behind LDAP_DEVEL 2003-05-31 02:55:23 +00:00
Kurt Zeilenga
e8144158f3 Add/Update various copyright notices 2003-05-25 03:31:21 +00:00
Kurt Zeilenga
4eea8c0a23 Add see also to:
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
which is believed to apply here.
2003-05-24 08:29:04 +00:00
Kurt Zeilenga
75fed6691a zap --enable-phonetic 2003-05-23 05:27:30 +00:00
Jong Hyuk Choi
4192c4aaaa select loop changes for persistent threads 2003-05-20 23:52:11 +00:00
Jong Hyuk Choi
4f58efc4d1 - change in message to modlist conversion 2003-05-20 01:45:12 +00:00
Pierangelo Masarati
0b5691f122 cleanup previous commit; update header 2003-05-15 01:18:45 +00:00
Jong Hyuk Choi
35d1bd68b9 runqueue restructuring 2003-05-07 23:52:08 +00:00
Jong Hyuk Choi
580ae073e1 runqueue update 2003-05-07 22:29:26 +00:00
Jong Hyuk Choi
45776bff04 a runqueue for periodic thread execution (for syncrepl) 2003-05-07 02:06:01 +00:00
Luke Howard
8c880563ba Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Have proposed API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:16:02 +00:00
Jong Hyuk Choi
e8cd5c2386 - LDAP_SYNCREPL defined in include/ldap.h
- add "updatedn" to the replication specification
- return referral to update to the slave server
2003-05-01 23:39:29 +00:00
Jong Hyuk Choi
c468defe24 cleanup 2003-04-30 22:41:37 +00:00
Howard Chu
4b73446ab5 ITS#2424 reset SASL on an existing connection 2003-04-30 15:38:32 +00:00
Howard Chu
7e2273b30e Added errmsg arg to lutil_passwd_{check,hash} functions 2003-04-30 07:52:05 +00:00
Hallvard Furuseth
6d59c23c55 Make string parameter to ldap_charray_add() and ldap_charray_inlist() const. 2003-04-29 16:34:37 +00:00
Kurt Zeilenga
a609f87eb6 remove lint 2003-04-24 23:15:59 +00:00
Kurt Zeilenga
d6f82a74c1 Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
2003-04-23 16:50:56 +00:00
Jong Hyuk Choi
203c2aad41 move ldap_get_message_ber() from ldap.h to ldap_pvt.h 2003-04-22 23:02:11 +00:00
Jong Hyuk Choi
fd3cf2b5ed get_ldapmsg_ber() -> ldap_get_message_ber() 2003-04-22 22:09:25 +00:00
Jong Hyuk Choi
759110255f get_ldapmsg_ber() added. 2003-04-22 21:38:59 +00:00
Kurt Zeilenga
ca52123a60 Fix builds when getaddrinfo is not detected but getnameinfo is.
This does not happen normally.
2003-04-21 18:28:08 +00:00
Howard Chu
a6a6946a67 New ldap_pvt_thread_pool_context() 2003-04-12 04:01:40 +00:00
Howard Chu
d46ab4c065 Move ldap_dnfree_x etc. decls from ldap.h to ldap_pvt.h 2003-04-11 10:26:25 +00:00
Howard Chu
808cb504ce More memory context tweaks 2003-04-11 03:57:10 +00:00
Howard Chu
1874658ae3 More memory context tweaks 2003-04-11 01:02:08 +00:00
Howard Chu
8e476bd5b7 Extended ber_mem functions, add context argument. 2003-04-09 13:26:22 +00:00