Pierangelo Masarati
a038ef68e6
added attr_merge/value_add functions that dela with single attribute; bervals for '*', '+' and '1.1' made available
2002-08-23 08:49:19 +00:00
Pierangelo Masarati
ff4edfa054
added assertions to catch helper function misuse
2002-08-23 08:46:45 +00:00
Howard Chu
b3ddb5734b
Fix indexing bug in splitting indirect blocks
2002-08-23 03:07:33 +00:00
Howard Chu
cd60deb4a9
OS/390 EBCDIC support
2002-08-22 04:39:59 +00:00
Howard Chu
3b9f4a82ee
Added support for BDB 4.1.17
2002-08-22 04:00:06 +00:00
Kurt Zeilenga
3a15afa057
Fix abstract schema check
2002-08-22 02:27:42 +00:00
Pierangelo Masarati
d4bc79864d
fix previous commit
2002-08-21 18:11:30 +00:00
Jong Hyuk Choi
b81122d441
Slapadd is changed to include Operational Attributes (entryUUID, entryCSN,
...
creatorsName, modifiersName, createTimestamp, modifyTimestamp) when it adds
from ldif file. Month field in time format in entryCSN is changed to 1~12.
2002-08-21 00:11:32 +00:00
Kurt Zeilenga
65760c064e
ITS#2004 AD lang bug fix
2002-08-20 19:08:18 +00:00
Howard Chu
505a141c75
Use search callbacks in slap_sasl_checkpass and slap_auxprop_lookup,
...
use ACL_AUTH for acl checks.
2002-08-20 05:32:54 +00:00
Kurt Zeilenga
e1536926b7
Quick check of LOCK_ID() return. Likely should retry... but not forever.
2002-08-20 03:10:08 +00:00
Kurt Zeilenga
9fc4a749dc
More places where LOCK_ID() calls need to be checked.
2002-08-20 02:57:06 +00:00
Kurt Zeilenga
041c3700e1
fix typo in last commit
2002-08-19 07:08:59 +00:00
Kurt Zeilenga
930ecd3930
Normalized form should be pretty.
2002-08-19 07:07:25 +00:00
Howard Chu
e5091f5926
Updated register_syntax, register_matching_rule for more convenient
...
calling from other modules
2002-08-17 01:29:18 +00:00
Kurt Zeilenga
6e02fe2e8a
Remove #if 0 code
2002-08-16 18:58:39 +00:00
Pierangelo Masarati
05348c5fc5
CHANGES:
...
- now all write operations appear to work correctly with PostgeSQL 7.0
- all write operations have been made transactional (atomic writes to
entries are committed separately only in case of complete^1 success
while all other operations are rolled-back by default)
- more cleanup and handling of exceptional conditions
TODO:
- deen to check with different databases and more up to date versions
of both unixODBC and PostgreSQL.
^1: attribute add/modify/delete operations silently succeed if the
appropriate add/delete proc does not exist for each attribute;
this may be correct to hide undesired/unimplemented correspondence
between LDAP and SQL databases; however, a more appropriate
LDAP behavior would be a failure with LDAP_UNAVAILABLE if a
single write operation cannot be executed for such reason
2002-08-16 16:45:24 +00:00
Pierangelo Masarati
b95ab4ac64
add function slap_modrdn2mods that prepares modifications list for delete/add old/new rdn values
2002-08-16 16:35:16 +00:00
Pierangelo Masarati
3a26ef5bbb
silence warnings
2002-08-16 16:33:22 +00:00
Pierangelo Masarati
a7349c100e
fix printableStringValidate return value bug
2002-08-16 16:32:42 +00:00
Pierangelo Masarati
115408986c
changes:
...
- re-style according to the style giudelines for better readability
- updated to recent frontend/backend API changes
- fixed a few quirks about normalization
- "optimized" a few memory allocation/string handling functions
- fixed a few quirks about add/modify (still have to look ad modrdn)
todo:
- there is still something broken (at least with PostgreSQL and IBM db2,
the two RDBMS O have at hand) when adding
- move everything to struct bervals and try to save a few strlen
- try some LDAP/SQL syntax relation to use appropriate value bind if possible
- ...
2002-08-13 17:12:27 +00:00
Pierangelo Masarati
7c2de5721a
VERY PRELIMINARY support for PostgreSQL and IBM db2
2002-08-13 17:07:40 +00:00
Pierangelo Masarati
c4a8a3dce5
better error handling when returning results
2002-08-13 17:00:33 +00:00
Kurt Zeilenga
84fe0ad051
Log successful SASL bind (ITS#2017)
2002-08-13 03:49:21 +00:00
Kurt Zeilenga
a500feb4a6
Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
lutil_progname() and lutil_strcopy() are not declared, which can
be fatal since they do not return int.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
2002-08-13 02:33:20 +00:00
Kurt Zeilenga
c5b6a86502
Fix IRIX sc_mask conflict
2002-08-13 02:32:57 +00:00
Kurt Zeilenga
f8f1321760
Add support for response controls
2002-08-12 20:50:20 +00:00
Kurt Zeilenga
1c75a7f25c
Fix inverted bvmatch logic in modrdn
2002-08-12 08:45:20 +00:00
Kurt Zeilenga
d250339576
Add back_bdb to modules
2002-08-11 21:06:03 +00:00
Kurt Zeilenga
f10699865e
consistently reduce string_expand bv_len by 1
2002-08-11 20:26:01 +00:00
Howard Chu
9fad71dc9b
Never use DB_RECOVER flag when opening DB_ENV. Recovery must be done
...
manually. Automatic recovery would interfere with gentlehup restarts.
2002-08-11 00:30:46 +00:00
Pierangelo Masarati
b063a50891
same as for back-meta
2002-08-10 14:25:41 +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
Howard Chu
07ebdca237
ITS#1893, use "schemadn" to configure subschemasubentry DN. (diff was
...
inaccessible, this is original code, not contributed.)
2002-08-10 03:10:52 +00:00
Pierangelo Masarati
1abb8cb339
rework connection pool handling (reduce amount of malloc)
2002-08-09 17:15:10 +00:00
Pierangelo Masarati
85a74efc71
remove dependency from LDAP_FILT_MAXSIZ (and handle arbitrary size filters)
2002-08-09 13:51:35 +00:00
Howard Chu
f7859e9913
ITS#2015 give correct index key back to presence_candidates
2002-08-08 17:27:50 +00:00
Kurt Zeilenga
e69c9067c2
Fix saslregex init bug
2002-08-07 19:17:22 +00:00
Howard Chu
44ac8a3564
Plug config leaks
2002-08-07 08:43:52 +00:00
Howard Chu
554311a4c8
Fix cargv leak in recursive read_config()
2002-08-07 08:22:43 +00:00
Kurt Zeilenga
4a4323e3b7
Move large string comment to just above UTF8StringValidate().
2002-08-07 08:19:11 +00:00
Howard Chu
50d490be6c
Revert previous commit
2002-08-07 06:37:11 +00:00
Howard Chu
13d13baeda
In backend_operational don't add subschemaSubentry unless it was
...
requested. In send_search_entry don't malloc vrFilter flags unless
a matchedValue filter was given; malloc 1 contiguous block instead
of multiple sub-arrays.
2002-08-07 05:31:03 +00:00
Howard Chu
6862cfd97c
Don't strdup conn->authz into op, just reference directly. (Conn cannot
...
be freed until after all associated ops are freed.)
2002-08-07 05:19:55 +00:00
Kurt Zeilenga
f1047b704e
ITS#2010: use snprintf instead of strcpy to prevent buffer overflow
2002-08-06 19:31:00 +00:00
Kurt Zeilenga
3f2faa1a84
other->invalid
2002-08-06 05:38:49 +00:00
Kurt Zeilenga
a35d5b90fc
For IA5, printable, telephone:
...
Don't allow empty string values.
Treat string values with only spaces as one space.
DirectoryString needs more work (space handling needs
to be done post normalization).
2002-08-06 05:35:59 +00:00
Kurt Zeilenga
6fdcdeb816
Add a summary to strings comment
2002-08-06 04:25:54 +00:00
Kurt Zeilenga
48f72b6862
Update string commment with examples.
2002-08-06 04:03:13 +00:00
Kurt Zeilenga
82540c5cc1
Add start of discussion of strings in LDAP/X.500 and OpenLDAP.
2002-08-06 03:52:02 +00:00