Pierangelo Masarati
260fd357df
fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792)
2009-02-04 22:36:49 +00:00
Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Pierangelo Masarati
9066d14290
add support for tree delete along with minor fixes (portions ITS#3497)
2007-08-21 14:52:43 +00:00
Pierangelo Masarati
4242ce20d6
rework connections so that they get cached on a per-thread basis (ITS#5095)
2007-08-20 00:27:47 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Pierangelo Masarati
1939ed3fc2
apparently, structural_class() args changed
2006-12-24 15:45:48 +00:00
Howard Chu
2a9afa55a7
Avoid unnecessary calls to oc_bvfind
2006-11-27 19:59:59 +00:00
Pierangelo Masarati
d1824b14ae
fix NOOP return code (ITS#4563; I'll check and confirm it later; NOOP support might be broken)
2006-05-25 16:58:41 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Luke Howard
b55557e30b
Remove new_rdn/old_rdn - handled by frontend
2006-01-02 15:40:45 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
0b0aed319a
use helper to destroy modrdn modifications; send result after commit\!...
2005-12-06 22:56:07 +00:00
Pierangelo Masarati
c226563da4
fix various memory leaks and handling issues
2005-12-06 22:06:29 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Pierangelo Masarati
09f749da96
remove unnecessary data from search_info
2005-08-07 20:43:07 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Pierangelo Masarati
a6d9e7d933
use operation slab for column binding
2005-07-25 22:11:09 +00:00
Pierangelo Masarati
3751f0325d
work around syncprov interoperation issues; minor cleanup
2005-06-01 19:35:13 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Pierangelo Masarati
740835dff9
remove global_schemacheck
2005-05-12 00:03:50 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Pierangelo Masarati
0c601c5db2
fix compare; more manageDSAit cleanup
2005-01-20 00:17:52 +00:00
Pierangelo Masarati
8b26737c27
fix different issues with referrals in searches; remove unused tests; cleanup referrals in tests so that they don't get chased; improve schema checking in modrdn and updates in general; minor cleanup
2005-01-18 01:10:01 +00:00
Pierangelo Masarati
eb0421c471
fix several schema checking issues; add rename specific statement for entry renaming without losing ID (helps e.g. in renaming referrals, otherwise referential integrity would prevent del/add because of referenced stuff in ldap_referrals and ldap_entry_objclasses); referrals need schemacheck off otherwise objectClass chain is invalid (they need to be attached to another objectClass by now; will address this later)
2005-01-17 19:32:28 +00:00
Pierangelo Masarati
b4e37e518f
fixes for ITS#3480,3485,3489; implementation of DISCLOSE access for all operations (ITS#3472); ITS#3432.4; added value validate/pretty when applicable (see comments and #defines in back-sql.h)
2005-01-16 23:12:36 +00:00
Pierangelo Masarati
c8c043bd39
address ITS#3472/3480/3488/3489
2005-01-15 18:43:34 +00:00
Pierangelo Masarati
014ee81c34
plug memory leak: bsi_attrs member
...
use tmpmemctx for bsi_attrs (should be used more for temporaries)
fix ITS#3480: allow to fetch all attrs or provide hints
fixed access check to entry for rename
TODO: fetch entries for access checking in selected code portions (e.g. rename)
2005-01-14 00:39:24 +00:00
Pierangelo Masarati
056c5ba7c1
fix couple of bugs in recent 'disclose' commits; prepare for sending matchedDN when appropriate; note ITS#3480 access control issues
2005-01-12 00:28:37 +00:00
Pierangelo Masarati
f5936eb7fc
minor naming cleanup; improvements to DN mapping layer; major docs update
2005-01-05 16:23:00 +00:00
Pierangelo Masarati
edc9b936d0
mostly copyright cleanup; removal of unnecessary headers
2005-01-03 10:51:59 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
642f7aed50
apply patches 1,2,3,5,8 (with changes) from ITS#3432)
2005-01-01 16:21:55 +00:00
Pierangelo Masarati
0cc024a370
more on DN munging; now works for all operations
2004-12-02 00:33:36 +00:00
Pierangelo Masarati
396743f62f
fix DN munging; also fix potential error when logging incomplete deletes
2004-12-01 23:16:21 +00:00
Pierangelo Masarati
78ddb88960
minor cleanup
2004-11-15 22:10:10 +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
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
c04bebe750
minor improvements
2004-09-11 16:16:41 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +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
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
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
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