Commit Graph

8095 Commits

Author SHA1 Message Date
Luke Howard
3f6daa4680 Initialize sml_type
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
1c0f49dda3 Backout accidental private part of previous commit 2006-01-01 09:24:19 +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
eb734a167b add severity-aware logging (ITS#4282) 2005-12-27 16:29:37 +00:00
Pierangelo Masarati
aecf0f4164 typos in comments (very pedantic...) 2005-12-26 17:00:12 +00:00
Pierangelo Masarati
0fa9578f48 handle when URIs are null 2005-12-26 16:55:50 +00:00
Luke Howard
dc166c08b8 Fix regression in SLAPI ACL plugins, call with frontendDB pblock 2005-12-24 17:15:13 +00:00
Luke Howard
cbf33d4fb1 Handle LDAP_MOD_INCREMENT in acl_check_modlist() 2005-12-24 16:02:15 +00:00
Luke Howard
d4c9c3b60e Use local SSF for internal SLAPI operations (probably need to do same
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
ac64f4806b Fix CLDAP regression 2005-12-24 11:00:28 +00:00
Luke Howard
d8647e5c07 Create SLAPI object extensions in connection_fake_init() 2005-12-24 10:59:46 +00:00
Luke Howard
c723a77e1c Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Luke Howard
dcfd499eca Set ors_slimit in slap_read_controls so that slap_send_search_entry()
check passes
2005-12-24 07:40:12 +00:00
Luke Howard
3ba381a862 Fix compile error when LDAP_CONNECTIONLESS is defined 2005-12-24 07:16:35 +00:00
Kurt Zeilenga
d1bc820b2f fix ITS#4283/4 segfaults 2005-12-23 02:20:11 +00:00
Pierangelo Masarati
20dc92fe25 cleanup debug handling 2005-12-22 22:33:32 +00:00
Howard Chu
a48f7b6f93 ITS#4278 set ml->sml_type 2005-12-21 20:43:14 +00:00
Pierangelo Masarati
8d4418b044 fix handling of bind-timeout 2005-12-21 17:28:27 +00:00
Kurt Zeilenga
e50fc1833d Add UUIDPretty
Likely should add UUID-named-entry test case to test026...
2005-12-20 23:25:44 +00:00
Kurt Zeilenga
439af9ec10 (Quick)fix UUID naming attributes 2005-12-20 22:36:51 +00:00
Pierangelo Masarati
8c2ceeb605 don't idassert anonymous unless explicitly configured (ITS#4272) 2005-12-20 20:43:14 +00:00
Pierangelo Masarati
8346de462b silence warning 2005-12-20 20:36:05 +00:00
Pierangelo Masarati
4a86a767ab more unparsing buffer overflow cleanup 2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935 fix potential overflow in syncrepl_unbind() and related helpers 2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed note to developers 2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd add more checks on input values 2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a ATTRSONLY doesn't take a value (ITS#4146, #4266) 2005-12-20 12:18:01 +00:00
Pierangelo Masarati
3517bdf260 revert previous commit(s); clarify usage of "-s" in slapd(8). 2005-12-20 08:20:16 +00:00
Howard Chu
059257aeaf cleanup db_close 2005-12-20 00:55:39 +00:00
Howard Chu
684c01ed1f ITS#4259 revert prev commit, fixed in alock.c instead. 2005-12-20 00:48:15 +00:00
Howard Chu
28ed7a26a7 ITS#4259 ignore alock_close on zero slot 2005-12-20 00:46:51 +00:00
Howard Chu
5b7f102ad2 ITS#4259 don't try to alock_close if we never opened... 2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef Fix ITS#4267, don't bother with unique_search if no relevant attributes
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50 allow (and use) symbolic names for syslog levels 2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060 make the message one-line 2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0 fix syslog level parsing 2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4 do exactly what requested 2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557 slapdn calls shutdown without startup 2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3 cleanup error logging 2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a always provide a NULL o_private to be_entry_get (ITS#4184) 2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28 fix memory handling 2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3 remove support for control as the operation is now incompatible 2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5 restrict assertion control to appropriate requests 2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548 anticipate sr_err/sr_ref cross-check, so that the right error gets logged 2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b reset bi_attrs after reindexing (ITS#4260) 2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad __should__ fix ITS#4262; please review 2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380 first part of fix to ITS#4262 2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f ITS#4238 don't hide syncrepl control from rootDSE 2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85 Fix ITS#4263 2005-12-15 22:52:31 +00:00