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
Pierangelo Masarati
71035d3aa1
fix typo when string keys are used
2004-10-16 16:16:57 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Pierangelo Masarati
2ccbe388b5
fix global configuration patch (ITS#3353)
2004-10-04 21:05:13 +00:00
Pierangelo Masarati
bf8e890ea7
fix global configuration patch (ITS#3353)
2004-10-04 20:57:14 +00:00
Pierangelo Masarati
e10186f1a5
add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well)
2004-10-04 01:19:53 +00:00
Pierangelo Masarati
87a63d3b5d
improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE
2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657
add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views
2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38
cleanup naming; minor fixes
2004-10-02 12:05:42 +00:00
Pierangelo Masarati
60d4aaba54
fix, rework and optimize search base; allow orphaned entries addition
2004-09-28 23:27:39 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
b09663d784
consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers)
2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded
add column size to SQLBindParameter when SQL_CHAR parameter type is used
2004-09-25 11:38:00 +00:00
Pierangelo Masarati
0055675bfc
improve candidate selection when filtering by objectClass
2004-09-22 23:17:32 +00:00
Kurt Zeilenga
444c49827c
Fix result codes
2004-09-11 20:01:03 +00:00
Pierangelo Masarati
c04bebe750
minor improvements
2004-09-11 16:16:41 +00:00
Pierangelo Masarati
48b7292fc6
blind update to new tests
2004-09-11 11:05:01 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Pierangelo Masarati
81b5755364
try with "order by"...
2004-08-25 12:09:05 +00:00
Pierangelo Masarati
e745d15f02
remove cruft
2004-08-25 11:32:47 +00:00
Pierangelo Masarati
53483e012d
more definitive improvements; now write operations are consistent; plugged some more leaks/invalid frees; tests are more complete. IBM db2 doesn't pass write test because the entries are written in a different order; need to write a script that sorts the results...
2004-08-25 10:41:13 +00:00
Pierangelo Masarati
752bffb16c
write test is almost working for ibmdb2 as well...
2004-08-24 17:08:30 +00:00
Pierangelo Masarati
d25ade71e9
need to perform a select after adds...
2004-08-24 15:37:10 +00:00
Pierangelo Masarati
aae3c074f1
cleanup
2004-08-24 15:16:06 +00:00
Pierangelo Masarati
aaf52b28ff
further fixes
2004-08-24 15:01:39 +00:00
Pierangelo Masarati
be3c14e4f4
ready for test...
2004-08-24 11:45:33 +00:00
Pierangelo Masarati
a8674f59d7
fix various issues; line up with new tests
2004-08-24 10:31:02 +00:00
Pierangelo Masarati
19ea555ca3
blind update of IBM db2 example data
2004-08-21 09:48:49 +00:00
Pierangelo Masarati
b7c0b9ed7f
further improve tests; line-up with code
2004-08-21 09:45:14 +00:00
Pierangelo Masarati
467524ef92
handle referrals correctly; allow to add suffix entry; fix multiple values add bug; cleanup
2004-08-21 09:38:08 +00:00
Pierangelo Masarati
0ed0cd66bf
more on back-sql test
2004-08-20 16:12:49 +00:00
Pierangelo Masarati
f59089b5b0
now PostgreSQL seems to work...
2004-08-20 15:24:39 +00:00
Pierangelo Masarati
930f415673
update of RDBMS data for test031
2004-08-20 14:27:32 +00:00
Pierangelo Masarati
d12fdece77
allow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses); allow to return all objectClasses including "auxiliary"; various cleanup
2004-08-20 12:06:03 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Pierangelo Masarati
6c41f12ff1
fix build when #define BACKSQL_TRACE
2004-06-14 20:04:36 +00:00
Pierangelo Masarati
d1b692ceb4
clarify no limits in (internal) searches
2004-06-12 11:33:21 +00:00
Pierangelo Masarati
0aeec234ea
update
2004-04-20 00:32:46 +00:00
Pierangelo Masarati
b76bfe6351
more cleanup
2004-04-20 00:26:42 +00:00
Pierangelo Masarati
93ff139915
split objectClass and attributeType mapping (should cure ITS#3091: Sybase compatibility)
2004-04-15 22:29:52 +00:00
Pierangelo Masarati
ec34062ed4
improve logging
2004-04-14 12:50:11 +00:00
Pierangelo Masarati
faa1385f51
cleanup error messages and logs
2004-04-13 17:26:07 +00:00
Pierangelo Masarati
171a47c05b
cleanup error messages and logs
2004-04-13 15:59:51 +00:00
Pierangelo Masarati
3342d93860
disable fancy key by default
2004-04-10 10:17:51 +00:00
Pierangelo Masarati
b703cfb008
Added provisions for a layer between the backend and the ODBC
...
for further mucking with data. This can be of use in ill situations
where not all the required massaging can be done on data with SQL
by means of stored procedures, but overlays are called too early
and cannot be used to make data non LDAP compliant.
- only support for bidirectional DN mucking is provided right now
- support for other values mucking is planned
- write is not completely tested yet
- the API could change quite often; don't rely too much on it
other cleanup has been added.
2004-04-10 09:33:55 +00:00
Pierangelo Masarati
8be57d80ba
blind fix (tnx Howard); I'll check it later
2004-04-08 11:44:57 +00:00
Pierangelo Masarati
354372987f
General improvements:
...
- There might be special cases that require the unique key to be a string
(just ran into one); since this is not a generally useful change, it's
hidden behind #defines.
- Added essential support for telephoneNumber match; the same infrastructure
might be useful for other specialized matches (also regular matches should
use it to handle multiple spaces and so!).
- Fixed dynamic backend initialization.
- Cleaned up search base DN normalization (works also if no uppercase function
is available, using case exact matches).
2004-04-08 09:08:28 +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
6beb139e61
fix nasty subtype bug (too many results)
2004-03-18 23:38:55 +00:00
Pierangelo Masarati
d3de8c3336
cleanup error messages
2004-03-18 20:11:49 +00:00
Pierangelo Masarati
ec6a663820
reset SlapReply flags
2004-03-17 11:50:15 +00:00
Pierangelo Masarati
4fa18e1b37
remove {} from procedures invocation, as noted in ITS#2641; copied annotations from postgres example
2004-03-16 15:15:14 +00:00
Pierangelo Masarati
5ff958a5fd
fix brain dead count (part of ITS#2641)
2004-03-16 11:03:27 +00:00
Pierangelo Masarati
d779a3d543
use prepare/bind/execute instead of bind/execdirect (addresses ITS#2641)
2004-03-10 14:51:41 +00:00
Pierangelo Masarati
091246c6fd
move limits evaluation to frontend
2004-03-08 18:12:45 +00:00
Pierangelo Masarati
9b6d816fe1
handle unknown attribute type (ITS#3005)
2004-03-06 15:58:26 +00:00
Pierangelo Masarati
4e57108991
allow search limits based on groups (ITS#2967)
2004-02-18 16:40:36 +00:00
Pierangelo Masarati
253f70e0c2
fix duplicate key in metadata
2004-01-31 10:31:13 +00:00
Pierangelo Masarati
eeb9a07823
make file names more slapd-ish; add attribute inheritance to search attributes; precompile uppercased search
2004-01-19 22:13:15 +00:00
Pierangelo Masarati
6c27bf332c
cleanup
2004-01-17 18:26:36 +00:00
Pierangelo Masarati
945f3fc9d0
cleanup
2004-01-17 18:07:43 +00:00
Pierangelo Masarati
c4a8f58a0d
honor attributeType inheritance as well
2004-01-17 16:27:11 +00:00
Pierangelo Masarati
fa856463fe
now I remember why I introduced the 'has_ldapinfo_dn_ru' flag
2004-01-17 11:33:13 +00:00
Pierangelo Masarati
aa39de6db3
should improve readability and (hopefully) decrease traffic on openldap-software; sorry I can't test it right now
2004-01-16 18:56:22 +00:00
Pierangelo Masarati
92a05ccf74
add extra level of parens only if required
2004-01-13 00:33:14 +00:00
Pierangelo Masarati
db395f2cd7
don't search if the filter is invalid; search also if an attribute is undefined for that objectclass, the filter may succeed anyway
2004-01-11 22:50:25 +00:00
Pierangelo Masarati
93725181af
cleanup avl duplicate handling
2004-01-10 11:12:53 +00:00
Pierangelo Masarati
634324d5b9
allow multiple attribute definitions; honor ldap_entry_objclasses in filter; major cleanup
2004-01-10 10:42:44 +00:00
Pierangelo Masarati
354d8a183c
honor objectclass inheritance in filters + some cleanup
2004-01-09 11:43:00 +00:00
Pierangelo Masarati
14da72a97a
don't try to decide if uppercase based on LDAP matching rules
2004-01-09 01:53:03 +00:00
Pierangelo Masarati
15da03a587
table 'ldap_entries' must be aliased to allow filtering for DN-valued attrs
2004-01-09 01:48:41 +00:00
Pierangelo Masarati
e8e62aa617
need odbc libs when building back-sql as module
2004-01-08 23:00:44 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +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
fd5ded3afb
notices and acknowledgements
2003-12-07 19:19:18 +00:00
Howard Chu
0690f79a5a
Cleanup unknown config directive handling.
2003-12-07 07:07:00 +00:00
Kurt Zeilenga
bd1543ce44
notices
2003-11-29 22:38:48 +00:00
Kurt Zeilenga
f0cd57eb9b
cleanup
2003-11-29 22:37:07 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Howard Chu
c58ac9d8f1
Add memctx param to build_new_dn(). cleanup DN leaks.
2003-09-24 04:30:41 +00:00
Pierangelo Masarati
53b7e6fbcf
apparently Oracle does not support AS in joins (ITS#2642)
2003-07-15 11:26:17 +00:00
Pierangelo Masarati
0bb807f4be
fix format (ITS#2640?)
2003-07-15 10:57:12 +00:00
Howard Chu
aa3b69eb32
ITS#2440 unmunge init_module names
2003-06-12 22:25:20 +00:00
Kurt Zeilenga
7ca24a8591
Another round of minor copyright updates
2003-05-25 03:56:57 +00:00
Kurt Zeilenga
8035d016c4
Fix typos in last commit
...
Apply to Makefile as well
2003-05-24 06:15:00 +00:00
Kurt Zeilenga
73f2048456
Add clarification as to source of this file
...
Add OpenLDAP copyright statement
2003-05-24 03:18:50 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
Kurt Zeilenga
5cd994ed21
remove dnNormalize2
...
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Pierangelo Masarati
629885a269
use SLAP_PTRCMP
2003-04-18 17:16:48 +00:00
Pierangelo Masarati
9caafcb3d9
cleanup; improve error handling
2003-04-16 22:22:57 +00:00
Pierangelo Masarati
786d4e23b7
allow compare on dynamically generated operational attributes (may be moved to the frontend)
2003-04-16 20:55:42 +00:00
Pierangelo Masarati
d564770156
clarify hasSubordinate filtering
2003-04-16 20:54:56 +00:00
Pierangelo Masarati
57bb4fd89a
fix id query
2003-04-16 20:54:30 +00:00
Pierangelo Masarati
d9d5912383
use syntax and matching rules knowledge when preparing SQL filters (to reduce pseudo-normalization efforts and search candidate number)
2003-04-16 10:22:33 +00:00
Pierangelo Masarati
d8887ac063
fix update operations
2003-04-16 01:21:02 +00:00