Howard Chu
64be098f28
Sync with MR flags in slap.h
2003-02-26 08:40:33 +00:00
Pierangelo Masarati
628bcc7174
improve error handling
2003-02-10 22:34:06 +00:00
Pierangelo Masarati
1db0725502
partially fix ITS#2310
2003-02-10 21:37:30 +00:00
Pierangelo Masarati
f19df0a307
add 'rebind-as-user' according to back-ldap's implementation
2003-02-05 22:04:20 +00:00
Pierangelo Masarati
e5a1418756
improve last commit
2003-02-04 19:27:56 +00:00
Pierangelo Masarati
c432154ad1
allow multiple URIs (need to backport to back-ldap)
2003-02-04 18:49:58 +00:00
Pierangelo Masarati
71e35141e1
cleanup null mapping detection
2003-01-27 21:34:25 +00:00
Pierangelo Masarati
985dc00b30
cleanup objectclass detection
2003-01-27 16:46:02 +00:00
Pierangelo Masarati
45f4e3602b
clean up mapping api
2003-01-27 16:39:56 +00:00
Pierangelo Masarati
a62249ed27
fix objectclass mapping (to nothing)
2003-01-27 16:07:10 +00:00
Pierangelo Masarati
5a771fcac0
cleanup versioning
2003-01-23 22:45:17 +00:00
Pierangelo Masarati
d8756a1c98
fix ITS#2289 (don't use shared data for search state; use msgid instead)
2003-01-23 22:07:33 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
2bcb48361d
Remove casts of AVL function pointers.
2002-12-14 22:25:52 +00:00
Howard Chu
09679eb715
Added SLAP_MR_VALUE_NORMALIZED_MATCH, avoid redundant normalize when
...
calling value_find with already-normalized DNs
2002-12-04 18:19:46 +00:00
Pierangelo Masarati
59aea47963
improve limits handling and consistency; return "Admin limit exceeded" instead of "Unwilling to perform"
2002-11-21 12:58:59 +00:00
Pierangelo Masarati
a9c902a7ca
improve error messages
2002-11-10 18:16:43 +00:00
Pierangelo Masarati
a777c53564
fix attribute delete (ITS#2158) patch provided by Timofey B. Nickonov <ntb@mts.ru>
2002-11-02 16:00:21 +00:00
Pierangelo Masarati
b0dfd89e1b
added referral support to back-{ldap,meta}; need to allow send_serch_reference() handle NULL entry pointer
2002-08-31 10:35:23 +00:00
Pierangelo Masarati
58b860a15e
fix server-size controls handling in back-{ldap,meta}
2002-08-29 15:07:18 +00:00
Pierangelo Masarati
7e2317c842
add server side controls to back-ldap and back-meta
2002-08-29 14:39:31 +00:00
Pierangelo Masarati
c4a8a3dce5
better error handling when returning results
2002-08-13 17:00:33 +00:00
Pierangelo Masarati
328046248b
initialize struct timeval (fixes ITS#2014);
...
also, check for return value of dnNormalize2: if the returned
DN contains undefined attributes, the normalization fails.
2002-08-10 14:13:46 +00:00
Pierangelo Masarati
1abb8cb339
rework connection pool handling (reduce amount of malloc)
2002-08-09 17:15:10 +00:00
Howard Chu
e14f471a27
Add #include "lutil.h" for lutil_str* functions
2002-08-06 02:36:34 +00:00
Pierangelo Masarati
540dbbe1ed
fix previous commit
2002-08-02 10:00:44 +00:00
Kurt Zeilenga
838643d5ad
operationsError != Internal Error
...
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-07-31 22:49:02 +00:00
Howard Chu
5a01db28e3
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
2002-07-27 00:24:02 +00:00
Pierangelo Masarati
437014723c
fix ITS#1953
2002-07-22 14:24:32 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
7e8c77c5de
Fix dynamic module linking
2002-06-21 01:34:53 +00:00
Kurt Zeilenga
b5e7208cb8
Date: Thu, 2 May 2002 08:54:59 GMT
...
From: h.b.furuseth@usit.uio.no
To: openldap-its@OpenLDAP.org
Subject: Patch: Bugs with back-ldap/meta mappings
Full_Name: Hallvard B. Furuseth
Version: HEAD
OS: Linux
URL: http://folk.uio.no/hbf/OpenLDAP/back-ldap.txt
Submission from: (NULL) (158.36.148.34)
The source claims the 'map' attribute has syntax
map {objectclass | attribute} {<source> | *} [<dest> | *]
while it actually has syntax
map {objectclass | attribute} [<local name> | *] {<foreign name> |
*}
except that the code is confused about it. Removed attributes are
put in both the maps for local and foreign names:
# Remove description and present title as description instead
map attribute description
map attribute description title
-->
slapd.conf: line 10: duplicate mapping found (ignored)
Also, map.c:ldap_back_map_attrs() loops forever on removed attributes
(ie. if one asks ldapsearch for an attribute which has been removed).
2002-06-12 16:39:05 +00:00
Howard Chu
c5c1ddb1ca
Deleted Connection->c_cdn. Use conn->c_dn instead...
2002-06-12 08:38:59 +00:00
Pierangelo Masarati
1aa96af216
second round at ITS#1749
2002-05-01 16:38:30 +00:00
Pierangelo Masarati
6feec86e5d
- trim check for real naming context already defined as suffix
...
- improve automatic massaging (prettify once)
- add (optimistic) automatic filter massaging
- cleanup of massaging stuff
2002-05-01 11:41:57 +00:00
Pierangelo Masarati
d3058532c9
honor limits if below soft limit
2002-04-29 10:12:50 +00:00
Julius Enarusai
ed8f299245
ITS#1730: Misc typos in NEW_LOGGING code from Hallvard
2002-04-25 22:12:44 +00:00
Howard Chu
d4465e376f
ITS#1732 signed/unsigned integers
2002-04-11 08:46:34 +00:00
Howard Chu
efecf4e121
ITS#1733 eliminate o_abandonmutex
2002-04-11 08:03:40 +00:00
Pierangelo Masarati
4a2b9b2195
ITS#1730
2002-04-08 18:39:23 +00:00
Pierangelo Masarati
4a8ab5dbf2
Mostly based on patches provided by Hallvard B. Furuseth
...
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required
Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
ambiguous operator precedence)
Kurt, please regenerate configure
2002-04-08 09:43:22 +00:00
Pierangelo Masarati
dd4f10de57
use ber_bvcmp where appropriate
2002-04-03 15:43:41 +00:00
Pierangelo Masarati
e847d6fdf2
fix ITS#1704
2002-04-02 11:16:00 +00:00
Pierangelo Masarati
f74e81aa99
check on escaped rdn separator not needed any more
2002-01-22 08:30:32 +00:00
Howard Chu
44f0efb44f
Defined some ObjectClass->soc_flags values, changed is_entry_*objectclass
...
macros to use flags
2002-01-19 02:58:00 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
92481f7057
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
2002-01-13 23:23:23 +00:00
Pierangelo Masarati
fafce1601e
consistently use dn_match macro throughout slapd
2002-01-12 18:17:13 +00:00
Pierangelo Masarati
a8697827c8
fix questionable behavior in case of bind errors
2002-01-07 10:15:05 +00:00
Howard Chu
ec46a2f33a
Use 'm' ber_scanf format where convenient
2002-01-06 06:11:01 +00:00