Commit Graph

12770 Commits

Author SHA1 Message Date
Luke Howard
9a1c8cdb88 Allow sml_desc to be set by caller in slap_mods_check() 2005-07-23 12:00:52 +00:00
Luke Howard
efa1ba86bf set o_callback to NULL for read entry callback, avoids crash in replog callback 2005-07-23 11:55:09 +00:00
Pierangelo Masarati
4c1339cf22 add infrastructure to register verbmasks; allow to register loglevels programmatically; cleanup glue protos 2005-07-23 11:32:10 +00:00
Pierangelo Masarati
d2b863fa24 fix previous commit (see NOTE and FIXMEs) 2005-07-23 10:29:40 +00:00
Pierangelo Masarati
97fb13c940 note that not all backends and overlays support runtime configuration (I guess we should list which do; what about noting it in the monitor backend?) 2005-07-23 10:15:05 +00:00
Luke Howard
9e4ea429e5 Add fe_access_allowed(), should allow global ACL overlays to work 2005-07-23 04:18:48 +00:00
Pierangelo Masarati
bccf2a7282 backout previous commit: frontendDB doesn't have the right rootn, ACLs and so 2005-07-22 17:22:51 +00:00
Pierangelo Masarati
02870e815b renamed slapi_int_init_connection => slapi_int_connection_init for consistency; blind fix to ITS#3879 2005-07-22 16:57:20 +00:00
Pierangelo Masarati
9cb512bc03 exit the loop at some point (ITS#3878) 2005-07-22 16:37:20 +00:00
Hallvard Furuseth
a7f82239b6 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-22 14:35:16 +00:00
Hallvard Furuseth
cc27d26f48 rs->sr_flags should be saved in variables of type slap_mask_t, not int. 2005-07-22 13:28:49 +00:00
Hallvard Furuseth
f0091b101f Cast LDAP_BOOL value to LDAP_BOOLEANS; it could only use flags fitting in int. 2005-07-22 13:24:47 +00:00
Hallvard Furuseth
4a57978a4b '#if 0' out variables used only in #if 0. Fix '#if 0'-ed out counting loops. 2005-07-22 13:21:10 +00:00
Hallvard Furuseth
100634c920 Remove unused variables. 2005-07-22 13:18:28 +00:00
Luke Howard
1c6124019f remove redundant variable 2005-07-22 09:40:22 +00:00
Luke Howard
645923b273 Remove redundant ACL check in operational attributes overlay 2005-07-22 09:39:36 +00:00
Luke Howard
ac93f86303 Fix error in last commit 2005-07-22 09:39:26 +00:00
Luke Howard
db3cc3ea22 Cleanup SLAPI headers 2005-07-22 09:35:27 +00:00
Luke Howard
730168ad1a SLAPI cleanup 2005-07-22 09:35:17 +00:00
Luke Howard
a8980ffe9e Do not cache group evaluation if result is SLAP_CB_CONTINUE 2005-07-22 08:27:51 +00:00
Luke Howard
3e47ba5aef Fix bug in control merging (this probably still isn't right...) 2005-07-22 08:26:20 +00:00
Luke Howard
77ced839c0 Add caching to slapi_over_acl_group(); performance is terrible otherwise 2005-07-22 08:23:33 +00:00
Luke Howard
e6ed981ab9 Don't fail if no group plugins 2005-07-22 07:55:45 +00:00
Luke Howard
cb786e3330 Remove SLAPI pblock from operation structure 2005-07-22 07:54:17 +00:00
Luke Howard
0799e6a246 more cleanups 2005-07-22 06:46:07 +00:00
Luke Howard
95b0b26ad5 cleanup SLAPI overlay 2005-07-22 06:24:39 +00:00
Luke Howard
f5e67edb79 Fix dangling mutex in SLAPI bind preop handler 2005-07-22 06:16:03 +00:00
Luke Howard
8c52d0e401 Ensure backend is set before calling send_ldap_extended();
whoami was crashing for anonymous clients
2005-07-22 05:49:55 +00:00
Luke Howard
0b631c0d2f fix error in previous commit 2005-07-22 05:38:32 +00:00
Luke Howard
44bb946436 More use of SLAPI accessor macros 2005-07-22 05:33:47 +00:00
Luke Howard
de10624dc3 Use accessor macros for SLAPI parameter blocks, should make it
easier to move into overlay private data
2005-07-22 05:26:15 +00:00
Luke Howard
c477ad064f Set SLAPI_REQUESTOR_ISROOT for internal operations 2005-07-22 05:14:42 +00:00
Luke Howard
6da978d5a0 Support for global ACL overlays, corresponding SLAPI support 2005-07-22 05:01:09 +00:00
Luke Howard
6ae5ce5b66 Cleaner version of previous patch (keep operational attr code in backend.c) 2005-07-22 03:44:04 +00:00
Luke Howard
27adb43cbf Move backend_operational() implementation into frontend so global
overlays can be called
2005-07-22 03:40:06 +00:00
Luke Howard
a253fbdab4 terminate function array in slapi_int_get_plugins() 2005-07-22 03:24:09 +00:00
Pierangelo Masarati
4be9f57b29 more on leaks & small fixes to unparsing 2005-07-22 03:23:58 +00:00
Pierangelo Masarati
6adfb5dd2f note an issue 2005-07-22 03:23:26 +00:00
Luke Howard
acae40faa0 SLAPI plugins are no longer global; global SLAPI plugins should be
associated with the frontend
2005-07-22 03:17:36 +00:00
Luke Howard
ed80d1011f add over_acl_group/over_acl_attribute 2005-07-22 03:05:41 +00:00
Luke Howard
24f0ee316e function rename 2005-07-22 02:51:55 +00:00
Pierangelo Masarati
1ac6bf4d1d fix back-ldap unparsing 2005-07-22 02:29:49 +00:00
Pierangelo Masarati
5128702536 don't crash if no underlying database was initialized 2005-07-22 02:08:41 +00:00
Howard Chu
38968623d1 Fix prev commit 2005-07-22 01:53:19 +00:00
Pierangelo Masarati
4e6fd1a44f the swap was intended; please see ITS#3876 2005-07-22 01:00:21 +00:00
Howard Chu
ddf6c7b298 Plug more memleaks 2005-07-21 23:26:40 +00:00
Howard Chu
a70c294359 Plug memleak in enum_tree 2005-07-21 21:59:35 +00:00
Howard Chu
769c6232a2 Add config_back_db_close, free some structures 2005-07-21 21:27:37 +00:00
Pierangelo Masarati
49619058ee really fix the invalid free issue (I totally overlooked this piece of code) 2005-07-21 20:23:47 +00:00
Pierangelo Masarati
4ceeea4efa should fix the invalid free issue 2005-07-21 19:14:09 +00:00