Commit Graph

329 Commits

Author SHA1 Message Date
Pierangelo Masarati
00accc69c4 check the length of the value with the right index (blind fix to ITS#5779) 2008-10-30 14:03:47 +00:00
Pierangelo Masarati
0e6054d861 [blind commit] better logging; check schema data before manipulation (related to ITS#5653) 2008-08-21 22:07:29 +00:00
Pierangelo Masarati
9c5b22ceda remove data when freed (blind fix to ITS#5607) 2008-07-12 16:26:27 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Pierangelo Masarati
7aeac21440 silence warnings 2007-11-23 12:47:53 +00:00
Pierangelo Masarati
d1560750b4 treat empty as NULL 2007-11-15 22:50:27 +00:00
Howard Chu
8bc46e741a ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
2007-11-01 15:11:22 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
a3547e2758 More for a_numvals 2007-09-23 04:40:16 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
d92e8ad1f7 add helper for internal searchs for objectClass=* 2007-09-15 17:38:53 +00:00
Pierangelo Masarati
6270bd9e82 cleanup experimental controls: rename macros, ifdef code 2007-08-21 21:42:09 +00:00
Pierangelo Masarati
70ed7d58a6 re-fix previous commit 2007-08-21 15:36:21 +00:00
Pierangelo Masarati
7bea240767 fix tree delete error handling 2007-08-21 15:19:01 +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
Pierangelo Masarati
2f5bfba296 let req_modify_s and req_modrdn_s have a common portion to interoperate within slap_mods_opattrs() (ITS#5093) 2007-08-16 09:48:53 +00:00
Pierangelo Masarati
27428ac00e uniformly exploit rootdn bind; add support for rootdn bind to backends that didn't have it (ITS#4962) 2007-08-16 09:38:15 +00:00
Pierangelo Masarati
5eef8c7f40 fix objectClass inheritance (ITS#5088) 2007-08-11 09:37:55 +00:00
Pierangelo Masarati
147f1c157f use RFC4523 objectClasses 2007-08-11 09:32:24 +00:00
Pierangelo Masarati
3119bba337 more on ITS#4868 2007-08-11 09:31:48 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Pierangelo Masarati
b013847111 fix ';binary' certificate transport (ITS#4868); add cert to sql-test000 (mysql; psql untested) 2007-04-12 01:02:01 +00:00
Pierangelo Masarati
78d8d6e06d add support for pagedResults to back-sql (ITS#4888) 2007-03-22 23:10:56 +00:00
Pierangelo Masarati
8e8633b241 add support for binary attributes (ITS#4868) 2007-03-13 00:34:37 +00:00
Pierangelo Masarati
d07f85fc91 fix subtree shortcut (ITS#4856) 2007-03-05 19:39:32 +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
Pierangelo Masarati
7684514535 fix typo (ITS#4784) 2006-12-21 22:05:49 +00:00
Howard Chu
69c4495bc2 ITS#4768 more be_add fallout 2006-12-12 21:00:12 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
36898bbb76 don't sigsegv if has_ldapinfo_dn_ru is erroneously defined; return a (more) meaningful error 2006-07-08 11:47:23 +00:00
Pierangelo Masarati
fcab1dd1bc handle computed filters the best it can (ITS#4604) 2006-07-01 19:00:27 +00:00
Pierangelo Masarati
5f58c733cc enable NOOP (ITS#4563; seems to work now) 2006-05-25 22:45:45 +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
Pierangelo Masarati
810a8f0d06 sigh, the test was renamed ages ago 2006-05-24 01:50:57 +00:00
Howard Chu
ab7e975159 check for NULLs from ber_mem funcs 2006-05-09 11:09:04 +00:00
Howard Chu
6b4de96679 plug leak 2006-05-09 10:52:22 +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
0c75d26060 make the message one-line 2005-12-17 00:41:17 +00:00