Howard Chu
3814b5f1a1
Range check cleanup, added alias processing comments
2003-04-05 09:46:54 +00:00
Howard Chu
fbc6a7e8ac
Fix cursor initialization, scope IDs
2003-04-05 08:54:24 +00:00
Kurt Zeilenga
c866e28049
Cleanup
2003-04-05 08:40:07 +00:00
Howard Chu
cb92eaf96c
Fix locking etc. in prev commit
2003-04-05 07:50:01 +00:00
Howard Chu
48a9cf3416
Added code for BDB_ALIASES. Please test.
2003-04-05 06:35:16 +00:00
Howard Chu
6f9901e9ce
Moved get_alias_dn from back-ldbm to frontend
2003-04-05 06:34:20 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Kurt Zeilenga
2d68ec09f2
#unifdef -DSLAP_NVALUES_ON_DISK
2003-04-05 03:11:29 +00:00
Pierangelo Masarati
f8682550d7
cleanup
2003-04-05 01:25:57 +00:00
Pierangelo Masarati
cb33a9ff44
minor fixes: leaks, dangling pointers, cleaner tag skip
...
for subschemaSubentry; still having problems with group ACLs ...
2003-04-05 01:20:55 +00:00
Pierangelo Masarati
ab3ab80ecd
more args elimination + allow specific messages when mapping client API errors to LDAP_OTHER
2003-04-04 22:20:49 +00:00
Pierangelo Masarati
172e93bfc9
normalize values only if required
2003-04-04 11:03:29 +00:00
Pierangelo Masarati
19dc49180d
handle failure or missing attrs
2003-04-04 09:55:56 +00:00
Howard Chu
b282339c96
Minor cleanup, use shorthand macros
2003-04-04 05:49:21 +00:00
Howard Chu
a1437d155e
Init entry in be_entry_get_rw
2003-04-04 05:41:25 +00:00
Howard Chu
7c9e8b1b87
SLAP_NVALUES fix dup check
2003-04-04 05:39:09 +00:00
Luke Howard
7e31732cc5
Don't segfault on malformed configuration
2003-04-04 04:06:18 +00:00
Luke Howard
95f0c5d5e2
Don't free pointer into contiguously allocated memory
2003-04-04 03:58:24 +00:00
Howard Chu
604ba59196
Fix req DN massaging
2003-04-04 02:05:49 +00:00
Howard Chu
ba0b8d1ac9
Fix prev commit
2003-04-04 01:47:25 +00:00
Howard Chu
6e551b53f4
Mapping fixes, SLAP_NVALUES fixes
2003-04-04 01:01:28 +00:00
Pierangelo Masarati
5598add84e
first cut at mapping/rewriting before search (after search it's already handled by ldap_build_entry)
2003-04-04 00:48:54 +00:00
Pierangelo Masarati
dfbbd11bd3
remove more unnecessary args
2003-04-04 00:43:40 +00:00
Howard Chu
a9339c99f6
Fix shared/private binds, fix entry_get malloc
2003-04-03 23:55:57 +00:00
Pierangelo Masarati
ebe0bb0b52
trim unnecessary args
2003-04-03 23:23:56 +00:00
Pierangelo Masarati
44c2d8a771
backout this for now
2003-04-03 23:09:17 +00:00
Pierangelo Masarati
5f342a8431
silence warning
2003-04-03 23:08:47 +00:00
Pierangelo Masarati
811929011d
anyone knows a safer way to skip a tag?
2003-04-03 22:54:51 +00:00
Pierangelo Masarati
d218848b14
of course there's a better way to skip a tag :)
2003-04-03 22:48:17 +00:00
Pierangelo Masarati
bb4624c8b0
eat undesired values
2003-04-03 22:40:41 +00:00
Pierangelo Masarati
95991161c6
FIXME: is this the intended behavior?
2003-04-03 22:18:17 +00:00
Pierangelo Masarati
d07ea8b450
need this to be able to bound searches when back-ldap and the source are on the same server; does it look fine?
2003-04-03 21:44:43 +00:00
Pierangelo Masarati
e8c264b1f6
safe defaults
2003-04-03 21:40:04 +00:00
Pierangelo Masarati
798289fd50
new API; compiles if proxy is disabled
2003-04-03 21:35:54 +00:00
Pierangelo Masarati
17e46d8468
cleanup and fixes
2003-04-03 21:35:27 +00:00
Pierangelo Masarati
7d5087e8c2
fix new API update
2003-04-03 21:24:53 +00:00
Pierangelo Masarati
f6c1079cff
safer defaults ...
2003-04-03 21:23:36 +00:00
Pierangelo Masarati
8f02ca49b6
cleanup?
2003-04-03 21:18:14 +00:00
Pierangelo Masarati
df29552130
fix new API leftover
2003-04-03 21:17:44 +00:00
Howard Chu
adefd27c44
Fix return of DB error code to LDAP client
2003-04-03 01:59:08 +00:00
Pierangelo Masarati
8995d8341f
more new API ... back-sql should be OK
2003-04-03 00:35:16 +00:00
Pierangelo Masarati
430077e2ed
partially revert previous commit
2003-04-02 23:01:21 +00:00
Pierangelo Masarati
09b92f0aeb
more new API ...
2003-04-02 22:58:02 +00:00
Howard Chu
8ecfc4e1db
Fix lib specs
2003-04-02 21:23:07 +00:00
Kurt Zeilenga
1626f722c5
abort if result code is negative
2003-04-02 21:05:06 +00:00
Pierangelo Masarati
d385386279
more new API ...
2003-04-02 21:02:12 +00:00
Pierangelo Masarati
b72a61a7b7
cleanup previous commit
2003-04-02 20:54:23 +00:00
Pierangelo Masarati
9e5f5b56db
more new API ...
2003-04-02 20:52:13 +00:00
Pierangelo Masarati
a67b41eb69
fix listener mod handling
2003-04-02 20:27:58 +00:00
Howard Chu
a571001ffa
Fix prev commit
2003-04-02 20:10:53 +00:00
Kurt Zeilenga
4ecf817a87
NVALUES_ON_DISK enabled by default
2003-04-02 18:05:10 +00:00
Luke Howard
9b4bf8a973
Do not return pointers into BerElement we do not own
2003-04-02 09:35:08 +00:00
Luke Howard
8f0542d260
s/octetStringIndexer/octetStringMatch
2003-04-02 02:40:17 +00:00
Luke Howard
c52d604265
Apply Kurt's fix for octet string normalization/filtering of integers
2003-04-02 01:54:03 +00:00
Howard Chu
3d0ffa1d58
Fix typos in prev commit
2003-04-02 00:40:51 +00:00
Luke Howard
c4382a2b3b
Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it
...
(Howard, can you take a look at this?)
2003-04-01 18:21:26 +00:00
Luke Howard
d2b6e8d56c
Handle the case where slapi_x_ldapmods2modifications() returns NULL; the
...
modify request becomes a NOOP for the front-end in this case.
2003-04-01 17:38:02 +00:00
Luke Howard
92ac90c1e3
Handle plugin returning no modifications in slapi_x_ldapmods2modifications()
2003-04-01 17:33:37 +00:00
Luke Howard
3b5f98723c
Fix crasher in slapi_dn_issuffix() when malformed DNs are passed
2003-04-01 17:16:56 +00:00
Luke Howard
8429210bed
Fix SLAPI crasher
2003-04-01 16:43:04 +00:00
Luke Howard
9da00ad42d
Fix SLAPI crasher
2003-04-01 16:42:24 +00:00
Luke Howard
97aaebd20f
Fixed crasher due to op->o_conn not being initialized in internal
...
SLAPI connections (the new internal API highlighted this)
2003-04-01 11:46:43 +00:00
Luke Howard
6e01d4ebe8
Fix compile breakage from nentries fix
2003-04-01 11:19:20 +00:00
Luke Howard
a099c25089
Update for new internal API: set op backend
2003-04-01 11:17:03 +00:00
Jong Hyuk Choi
86fecca9ec
LDAP Content Synchronization based Replication :
...
This is a preliminary code drop. Patches will follow shortly.
2003-04-01 06:38:39 +00:00
Howard Chu
9355dca9af
Consolidated slap_callbacks into one function. Removed send_search_result.
2003-04-01 04:12:18 +00:00
Howard Chu
8357a8b66e
slapd API update
2003-03-31 23:19:12 +00:00
Pierangelo Masarati
5a136d7e95
more (mostly blind) fixes
2003-03-31 19:45:52 +00:00
Pierangelo Masarati
a0ee0b21b1
first (mostly blind) round
2003-03-31 19:21:19 +00:00
Luke Howard
fc4d4e2f95
Cleanup to use new internal API
2003-03-31 17:10:55 +00:00
Pierangelo Masarati
d0b08200b7
new API cleanup in proxy cache code (more work needed)
2003-03-31 14:02:25 +00:00
Pierangelo Masarati
8da20c6f81
new API cleanup in proxy cache code
2003-03-31 14:01:34 +00:00
Howard Chu
fa9bf23501
Minor cleanup
2003-03-31 07:49:34 +00:00
Luke Howard
2fdbc55374
SLAPI cleanup
2003-03-31 06:41:30 +00:00
Kurt Zeilenga
02028df6c6
Add additional password file support.
2003-03-31 06:29:59 +00:00
Howard Chu
f80114af02
Fix previous commit
2003-03-31 06:27:16 +00:00
Howard Chu
d8350698aa
Remove psearch.c
2003-03-31 05:31:12 +00:00
Howard Chu
bc9aa656a2
Shorthand macros for request fields
2003-03-31 05:10:10 +00:00
Luke Howard
5004ec3f01
SLAPI fixes
2003-03-31 04:58:41 +00:00
Luke Howard
6c2f47ecd5
SLAPI fixes
2003-03-31 04:56:17 +00:00
Luke Howard
4dd53084a0
SLAPI fix
2003-03-31 04:54:06 +00:00
Howard Chu
8188bd1752
Fix typo in prev commit
2003-03-30 18:49:25 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Kurt Zeilenga
9ac14af051
Install schema/README
2003-03-30 05:59:09 +00:00
Kurt Zeilenga
4ab98f70f8
Add ISOC Copyright
2003-03-30 05:52:32 +00:00
Howard Chu
0fc7032748
Fix giant lock conflict in previous commit
2003-03-30 05:33:42 +00:00
Howard Chu
3afc12ed6c
Delete unused source
2003-03-30 04:01:31 +00:00
Pierangelo Masarati
03340f440d
remove crufted callbacks
2003-03-29 11:49:36 +00:00
Pierangelo Masarati
4325d05ebc
add function prototypes
2003-03-29 11:46:02 +00:00
Howard Chu
0be6cb5a67
Deleted bi_database_mutex, use DB_LOCK instead. Changed bdb_locker_id to
...
lookup the threadctx if no Op * is provided. (bdb_db_cache doesn't know
its thread context when it acquires a locker ID.)
2003-03-29 05:15:48 +00:00
Howard Chu
684cf03d55
Tweak version.c dependencies
2003-03-28 18:42:12 +00:00
Howard Chu
60ac3f352e
ITS#2409 - fix oidm_destroy
2003-03-28 10:24:16 +00:00
Howard Chu
1985b2c5a1
Don't use subdatabases for indexes. This patch is an incompatible change,
...
must destroy existing indexes and run slapindex to regenerate.
2003-03-27 04:30:05 +00:00
Howard Chu
3a71bddbc4
ITS#2389 - added conn_max_pending/auth config keywords to cap the number
...
of outstanding requests on a connection. Set rate limits for request
execution:
no connection can have more than maxthreads/2 ops executing at once.
a connection that is write-blocked will not execute any new ops.
queued ops must drain before any new ops can execute.
If the queue exceeds the max_pending limit, the connection is closed.
...also fixed a bug where a connection was not marked active if it never
received a Bind.
2003-03-27 03:35:46 +00:00
Howard Chu
ecd4296640
Fix previous commit
2003-03-27 03:27:48 +00:00
Howard Chu
65b85d83ea
Revert previous commit
2003-03-26 19:22:33 +00:00
Howard Chu
a5a71d4e6c
Cleanup previous commit
2003-03-26 17:42:27 +00:00
Howard Chu
51e10cf23c
Save DB_LOCK structure so it can be released later.
2003-03-26 13:33:51 +00:00
Howard Chu
c9ec6b0cab
Remove attribute.c, group.c from build
2003-03-26 11:52:59 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00