Sang Seok Lim
2af6457771
This patch is for a component filter. please refer ITS#3260 for detail
...
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Luke Howard
9df812bba1
Add pblock types for backend_group SLAPI plugins
2004-08-25 15:18:56 +00:00
Kurt Zeilenga
529e1d61f5
More prep for poll(2) support.
2004-07-09 19:08:48 +00:00
Kurt Zeilenga
1681421d01
Move SETSIZE hack to a header to avoid config.status munging
2004-07-09 17:52:26 +00:00
Kurt Zeilenga
44485522e0
Allow LDAP_PVT_SASL_LOCAL_SSF to be set externally
2004-06-27 19:39:11 +00:00
Kurt Zeilenga
0b3f8c2303
Add LDAP_MAXINT macro
...
Add additional error checks
Fix a few typos and cleanup
2004-06-18 20:14:28 +00:00
Kurt Zeilenga
b438e6b533
ITS#3166: correct slapi_entry_attr_get_* return types
...
patch provided by Martin Evans
2004-06-01 22:07:57 +00:00
Luke Howard
767f588520
more prototype syncing
2004-05-23 16:01:11 +00:00
Luke Howard
5333e8b110
more prototypes
2004-05-23 12:47:49 +00:00
Luke Howard
da07d54e1d
Sync with new prototypes
2004-05-23 12:24:04 +00:00
Pierangelo Masarati
60b05c643d
STRLENOF cleanup
2004-04-27 21:40:54 +00:00
Kurt Zeilenga
659b41ec7d
Add check for hstrerror
2004-04-25 01:05:15 +00:00
Kurt Zeilenga
62da0b6738
AC_STRERROR_R
2004-04-25 00:19:06 +00:00
Kurt Zeilenga
7f0c73bf49
new strerror_r checks
2004-04-24 21:30:28 +00:00
Howard Chu
f5851f3001
Added referential integrity and attribute uniqueness overlays
2004-04-17 08:45:29 +00:00
Kurt Zeilenga
cfd495857d
rebuilt with lastmod
2004-04-16 05:58:39 +00:00
Kurt Zeilenga
6abba139bb
Hide if SIZEOF_WCHAR_T < 4.
2004-04-08 08:54:49 +00:00
Howard Chu
f2e1df3ef7
Consolidated static/dynamic backend switches
2004-04-08 05:56:23 +00:00
Kurt Zeilenga
0a8ba6620e
cleanup
2004-04-07 01:35:00 +00:00
Kurt Zeilenga
9b52459b53
Add additional BER_BV macros
2004-04-07 01:31:40 +00:00
Kurt Zeilenga
44820d617a
Add STRLENOF macro
2004-04-07 00:41:57 +00:00
Kurt Zeilenga
a576085200
Rebuild
2004-03-20 21:38:50 +00:00
Kurt Zeilenga
e00cfb2595
Rebuild
2004-03-20 20:51:16 +00:00
Howard Chu
cbabd269a5
ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
...
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
caa5266ffd
More releng cleanup
2004-03-18 01:41:42 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Howard Chu
05723d2a3d
Fix LDBM on Windows
2004-03-17 05:26:57 +00:00
Howard Chu
54c7e8ac08
Fix missing LBER_V declaration
2004-03-17 05:06:30 +00:00
Howard Chu
75325beefe
Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
2004-03-16 01:50:10 +00:00
Kurt Zeilenga
c984dbf09b
OID/comment cleanup
2004-03-16 01:17:07 +00:00
Kurt Zeilenga
9d7a629bc4
Update LDAP Sync OIDs to those assigned for RFC publication
2004-03-16 00:51:11 +00:00
Howard Chu
2b86ace653
ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
...
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Kurt Zeilenga
647df2b9cb
Start of client-side LDAP tranactions (non-working)
...
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
af9e1583a7
Add prototypes for grouping functions
...
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Kurt Zeilenga
0787c28078
macros for grouping of related operations
...
macros for transaction groupings
2004-03-14 00:07:23 +00:00
Howard Chu
9a8ded9ff1
Fix for password policy draft 7
2004-03-13 10:03:58 +00:00
Howard Chu
3810fa18d8
Added PasswordPolicy control
2004-03-12 21:22:32 +00:00
Pierangelo Masarati
daa29805ad
define error codes for lutil_passwd* funcs
2004-03-12 20:07:41 +00:00
Luke Howard
d249714033
s/SERVER_SEARCH_FLAG/SEARCH_FLAG
2004-03-09 14:12:34 +00:00
Luke Howard
ad7bfa1c23
Document search flags
2004-03-09 14:08:54 +00:00
Luke Howard
d37ac06099
Add defines for LDAP_CONTROL_X_TREE_DELETE and LDAP_CONTROL_X_SEARCH_OPTIONS
2004-03-09 14:03:24 +00:00
Luke Howard
c81161ed86
Fix typo (thanks Pierangelo!)
2004-03-08 09:24:26 +00:00
Luke Howard
d70a8f5ea5
Add #define for incremental values control (draft-kashi-incremental-00.txt)
2004-03-08 07:43:30 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
1198d4c6d3
Pass result berval to lutil_passwd_hash instead of returning it
2004-03-02 21:59:44 +00:00
Kurt Zeilenga
0c70dda2ed
rebuild
2004-02-26 17:09:18 +00:00
Howard Chu
9f3b0d60f9
Fix EBCDIC conversion for syslog()
2004-02-03 03:58:38 +00:00
Kurt Zeilenga
bc0161025d
rebuild
2004-01-17 19:59:01 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
93c9cbf3b8
Misc updates
2003-12-30 01:45:34 +00:00
Kurt Zeilenga
2775c8d4a8
Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
...
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
3c00b4448a
Notice and acknowledgement
2003-12-29 18:45:33 +00:00
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
Kurt Zeilenga
14d8a58076
Re-add <ac/localize.h>
2003-04-07 22:44:15 +00:00
Kurt Zeilenga
acdbf29e93
Backout autoconf 2.57 changes. Too much work for now.
2003-04-07 22:23:24 +00:00
Howard Chu
2ee7488d0b
ITS#2423 - make the lib that allocates SASL prompt results responsible
...
for freeing them.
2003-04-06 00:47:55 +00:00
Kurt Zeilenga
4809e4da1e
Basic infrastructure for i18n/l10n
2003-04-05 20:49:16 +00:00
Howard Chu
e847fd46b7
Revert ol_version stuff.
2003-03-31 05:48:52 +00:00
Howard Chu
c23c3a2ff5
Revert ol_version stuff, just use mkversion
2003-03-29 06:27:37 +00:00
Howard Chu
5a1eb936bc
Add rules to patch current package name & version number into portable.h
2003-03-28 20:37:51 +00:00
Howard Chu
8f15857589
Use OPENLDAP_PACKAGE instead of _OLV_PKG
2003-03-19 01:39:05 +00:00
Howard Chu
5db9c2c269
Use ol_version.h
2003-03-19 01:31:42 +00:00
Howard Chu
8d6ae6a236
Rename version.h to ol_version.h
2003-03-18 22:53:15 +00:00
Howard Chu
c086b9aec9
New version.h to replace mkversion
2003-03-18 22:50:07 +00:00
Howard Chu
62f7394f8c
Fix up lutil_passwd stuff to avoid struct berval definition
2003-03-12 23:07:09 +00:00
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Kurt Zeilenga
1b4180faa8
rebuild
2003-03-06 00:38:42 +00:00
Howard Chu
873e498829
Silence warning in prev commit
2003-03-05 01:37:56 +00:00
Howard Chu
e87f588f00
Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
...
all you want is the hostname.
2003-03-05 01:34:31 +00:00
Howard Chu
ac04ec0ca4
Add NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems
2003-03-05 01:33:36 +00:00
Pierangelo Masarati
fb3ca13aef
declare ldap_[parse_]passwd
2003-03-03 21:31:00 +00:00
Howard Chu
13b96bc479
Cleanup NT service support declarations
2003-03-03 11:42:12 +00:00
Howard Chu
b2eddc32b2
Delete unused EDITOR, SENDMAIL substitutions
2003-03-03 10:17:38 +00:00
Kurt Zeilenga
fe4f355328
Add acc_rights detection (needs testing)
2003-03-02 21:46:40 +00:00
Kurt Zeilenga
206b071e7f
Add check of <sys/uio.h> and include as needed for struct iovec.
2003-03-02 21:21:36 +00:00
Kurt Zeilenga
ec00c53c90
Rename initializers
2003-03-02 03:14:59 +00:00
Pierangelo Masarati
46a841870f
add 'next[/prev]' initializer
2003-03-01 12:28:07 +00:00
Luke Howard
468583fca3
Add slapi_dup_control().
2003-02-27 12:58:39 +00:00
Kurt Zeilenga
737f4b0d34
Misc LCUP cleanup
2003-02-09 08:43:20 +00:00
Kurt Zeilenga
4b3396f5fd
unifdef -DLDAP_NOCACHE
2003-02-09 07:42:18 +00:00
Kurt Zeilenga
282f6bc32d
Cancel exop updates
2003-02-09 05:54:45 +00:00
Kurt Zeilenga
c04e9ac993
rename "permit modify" control to "permissive modify"
...
rename "no referrals" controls to "domain scope"
misc cleanup
2003-02-09 05:39:21 +00:00
Kurt Zeilenga
48d47954a6
Rework #ifdef'ing of expermental controls to ease release engineering
...
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Kurt Zeilenga
a045432882
Assign OIDs for LDAP Sync
2003-02-07 21:39:31 +00:00
Kurt Zeilenga
cb0a009dca
Shouldn't need <lber.h>
2003-02-07 19:08:13 +00:00
Jong Hyuk Choi
85b1783d5c
LDAP Sync Operation (draft-zeilenga-ldup-sync) as a groundwork for an LDAP replication design
2003-02-05 07:37:02 +00:00
Jong Hyuk Choi
e1bf8cc437
Intermediate Response
2003-02-03 17:28:19 +00:00
Luke Howard
1be73d766c
Added slapi_filter_dup() API from Sun ONE DS 5.x
2003-01-30 13:04:36 +00:00
Luke Howard
6f40a3fc6a
Added slapi_filter_apply() API from Sun ONE DS 5.x
2003-01-30 12:24:32 +00:00
Pierangelo Masarati
4663b3ffa3
hide actual value/valueset
2003-01-30 09:54:56 +00:00
Jong Hyuk Choi
4f64bd9402
LDAP cancel misc patch
2003-01-27 17:08:51 +00:00
Pierangelo Masarati
d1cc80694f
reworking of slapi headers
2003-01-27 14:44:39 +00:00
Luke Howard
f989cfddb9
more Sun ONE DS 5.x harmonisation
2003-01-26 01:10:19 +00:00
Luke Howard
df0c378c1f
Filter structure typo fix
2003-01-25 13:38:32 +00:00
Luke Howard
446b496353
New filter SLAPI
2003-01-25 13:36:28 +00:00
Jong Hyuk Choi
0c43007e55
LDAP cancel operation
2003-01-25 00:36:50 +00:00
Luke Howard
eb554ca792
sync with slapd/slapi/slapi_utils.h
2003-01-24 09:56:18 +00:00
Luke Howard
45289b09a7
Matching rule constants for future support
2003-01-24 09:00:18 +00:00
Luke Howard
b4b68e2295
sync with slapd/slapi/slapi.h
2003-01-24 08:52:14 +00:00
Luke Howard
9490776d7b
Added ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API.
2003-01-24 06:49:13 +00:00
Luke Howard
7f189a15f7
Sync with slapd/slapi/slapi_utils.h
2003-01-24 05:56:47 +00:00
Luke Howard
2bb23eb2a0
Added PermitModify/NoReferrals controls
2003-01-23 11:36:12 +00:00
Luke Howard
7e24eb578f
Sync with slapd/slapi
2003-01-22 15:48:22 +00:00
Luke Howard
7298f9e55e
Align with new SLAPI extensions in servers/slapd/slapi
2003-01-22 13:36:11 +00:00
Luke Howard
15276f6194
Harmonised slapi_ch_free() with Sun ONE API
2003-01-20 23:29:08 +00:00
Pierangelo Masarati
8d0711b08f
slapi-plugin.h goes in include
2003-01-18 11:19:27 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
6a37f1ae80
Added ber_flatten2 - uses passed in struct berval, allocates copy or
...
directly re-uses existing ber buf.
2002-12-18 19:15:27 +00:00
Howard Chu
9ee8efb025
Bumped stack size up from 2M to 4M, 2M is too small on Solaris
2002-12-11 04:35:05 +00:00
Kurt Zeilenga
3520850df7
rebuild
2002-12-09 16:46:47 +00:00
Pierangelo Masarati
d19706634c
fix previous commit
2002-12-07 19:00:34 +00:00
Pierangelo Masarati
1b70e16448
SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073
2002-12-07 17:19:29 +00:00
Kurt Zeilenga
eb41333e4c
Use getpeereid(3) where available else use *_PEERCRED replacment function
2002-12-04 06:17:32 +00:00
Kurt Zeilenga
73b4170a6c
Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
2002-12-04 04:51:55 +00:00
Kurt Zeilenga
da76c1951e
First-cut proxy authorization support.
2002-12-03 06:11:32 +00:00
Kurt Zeilenga
235973571a
proxy authz control (client only)
...
Misc control cleanups (client only)
2002-11-28 02:26:55 +00:00
Pierangelo Masarati
c354bb23bf
Support for RFC 2696:
...
LDAP Control Extension for Simple Paged Results Manipulation
contributed by Lynn Moss <lynnmoss@us.ibm.com> (ITS#2189)
applied with changes.
2002-11-21 02:16:53 +00:00
Jong Hyuk Choi
8ee8248328
LDAP_TAILQ fix
2002-11-13 05:50:07 +00:00
Kurt Zeilenga
3289dffd31
Rebuild
2002-11-11 03:21:14 +00:00
Kurt Zeilenga
20df7df206
Misc configure cleanup
2002-10-29 04:55:15 +00:00
Jong Hyuk Choi
8074294f1d
LCUP persistent search code drop
2002-10-25 17:51:30 +00:00
Kurt Zeilenga
63e7c9e796
first cut at ditStructureRule and nameForm routines
2002-10-13 01:36:58 +00:00
Kurt Zeilenga
40b685b70d
Patch: Delete the buggy surrogate parent code (ITS#1815)
...
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
2002-10-10 20:28:36 +00:00
Kurt Zeilenga
cf318d2340
Add ditContentRule routines
2002-10-09 02:56:46 +00:00
Kurt Zeilenga
3a17376dfd
s/256/LBER_ELEMENT_SIZEOF/
...
set LBER_ELEMENT_SIZEOF to 256
maybe this should be set to N*sizeof(size_t) or something
2002-10-07 21:01:47 +00:00
Kurt Zeilenga
491e75548c
ITS #2121 submitted by Dave Steck <dsteck@novell.com> with minor changes.
...
Patch to allow referrals to be read on synchronous non-search operations.
Treat referrals the same way as MatchDN or ErrorString values.
Store them in the ld structure and provide an option for ldap_get_option
to retrieve them
2002-10-02 19:14:02 +00:00
Kurt Zeilenga
5a69fa6df6
remove unused log level
2002-09-19 00:58:51 +00:00
Howard Chu
c72ee9ae1b
Decrease default thread stack size from 16MB to 2MB
2002-09-10 03:34:49 +00:00
Howard Chu
1dbbccc3fe
Eliminate overallocation in LUTIL_BASE64_ENCODE_LEN
2002-09-10 03:13:37 +00:00
Howard Chu
7017f22468
Fix ITS#2055, avoid roundoff errors in LUTIL_BASE64_DECODE_LEN
2002-09-10 02:55:05 +00:00
Howard Chu
890d4b9449
Moved stdio replacements from liblutil lutil_* to liblber ber_pvt_*.
2002-09-10 00:47:32 +00:00
Howard Chu
afce29547d
Regenerated with Pthread version update
2002-09-07 14:24:22 +00:00
Howard Chu
ee30206bc2
Merged ldap_get_values_ber into ldap_get_attribute_ber.
2002-09-06 04:57:21 +00:00
Kurt Zeilenga
37d9880495
Some LCUP clean up
2002-09-06 00:29:20 +00:00
Howard Chu
6a903bc1e5
Added new ldap_get_{dn,attribute,values}_ber functions for linearly
...
processing a search entry. Avoids O(n^2) ldap_get_values() behavior.
2002-09-05 11:33:32 +00:00
Kurt Zeilenga
f64021ed2f
Use registered 666 numbers for LCUP controls
2002-09-04 02:46:24 +00:00
Kurt Zeilenga
a83cc88edd
Move ldap_control_dup() to ldap_pvt.h
2002-09-04 02:14:12 +00:00
Jong Hyuk Choi
4b48c05a8e
LDAP Client Update Protocol - non-persistent update (TODO: response control ...)
2002-09-04 02:00:42 +00:00
Pierangelo Masarati
aea52e5bc9
define macros for appropriate sizing of lutil buffers
2002-08-31 10:48:02 +00:00
Kurt Zeilenga
6bd59cc58f
Fix #ifdefs (DUPENT should be behind the 0)
2002-08-30 06:17:25 +00:00
Kurt Zeilenga
352b672716
Assign NOOP its published OID. I-D to follow.
2002-08-30 05:32:51 +00:00
Pierangelo Masarati
3a9347a5dc
add null berval initializer (should replace tons of { 0, NULL})
2002-08-29 10:42:13 +00:00
Kurt Zeilenga
341ba76238
regenerate for sasl version checks
2002-08-28 07:32:00 +00:00
Kurt Zeilenga
8de258d2e2
Patch: 'ldapmodify -y file' reads password from file (ITS#2031)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
Adapted by Kurt Zeilenga for inclusion in OpenLDAP. My comments are
marked with enclosed with square brackets (e.g. [Kurt's comment] below.
================
If I run ldapmodify & co from a script, I don't want to use '-W password'
because the password shows up in the output of 'ps' for everyone,
and I can't pipe the password to 'ldapmodify -w' because -w uses
getpassphrase() which reads from the tty instead of stdin.
So I added '-y file' which reads the password from file. The programs
exit if the file cannot be read.
[Complete contents of file is used as password. Use:
echo -n "secret" > password
to create a file with "secret" as the password. The -n avoids
adding a newline (which would invalidate the password). Note
that echo is a builtin and hence its arguments are not visible
to 'ps'.]
I changed ldapmodify, ldapmodrdn, ldapdelete, ldapsearch, ldapcompare.
I did not bother to change ldappasswd and ldapwhoami, because they
prompt for many passwords. [I fixed up ldapwhoami.]
Rerun autoconf after applying this patch. [Done.]
Note: I do not know if Windows NT has fstat(), so I set HAVE_FSTAT to
undef in portable.nt. (fstat() is used to warn if the file is publicly
readable or writeable.) [I used fstat() to set the buffer size to
read.]
[Note: using the contents of a file extends the tools to support
passwords which could not normally be provided using getpassphrase()
or via the command line.]
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
[Kurt D. Zeilenga <kurt@openldap.org>, Aug 2002.]
2002-08-24 05:47:17 +00:00
Howard Chu
8c30114d84
Added thread-pool getkey/setkey functions
2002-08-24 05:39:43 +00:00
Pierangelo Masarati
4046c4226e
add upper/lower funcs that also compute the length of the string (not used yet)
2002-08-23 08:45:17 +00:00
Howard Chu
1aa551f545
include actual ucdata.h, not the symlink. liblutil/passwd.c needs this
...
header file, and we now build liblutil before liblunicode.
2002-08-22 11:44:27 +00:00
Kurt Zeilenga
f4e66b9420
paged results uses one OID for both request and response
2002-08-12 19:49:20 +00:00
Kurt Zeilenga
9c28c9b361
Zap LDAPv2-only stuff
2002-08-08 03:01:14 +00:00
Howard Chu
d4df52a659
Silence struct tm warnings
2002-07-27 02:10:02 +00:00
Howard Chu
5a5f9219bf
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
...
Added lutil_gentime
2002-07-27 00:26:27 +00:00