Howard Chu
356a98a363
Fix bdb_idl_fetch/insert_key. Still fails test011.
2002-01-16 15:22:08 +00:00
Pierangelo Masarati
8f29c5e1e4
use dn_match
2002-01-16 12:15:27 +00:00
Pierangelo Masarati
3d9377f764
compare attribute type, not value
2002-01-16 12:06:42 +00:00
Pierangelo Masarati
af54eed042
added ber_[mem|case]cmp() macros for fast berval comparison; extensively used in acl and in dn_match macro at present
2002-01-16 11:36:47 +00:00
Howard Chu
457b00bf0f
Fix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...
2002-01-16 09:58:11 +00:00
Howard Chu
913c321a7e
Fix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key
2002-01-16 07:39:00 +00:00
Kurt Zeilenga
21c8846e64
Fix last commit
2002-01-16 05:44:21 +00:00
Kurt Zeilenga
20af643fc4
more cleanup
2002-01-16 04:40:41 +00:00
Kurt Zeilenga
3bfab4699e
Remove last uses of dn_validate()
2002-01-16 03:01:19 +00:00
Kurt Zeilenga
d2f5d75885
Remove unused deprecated DN routines.
...
Only dn_validate, dn_normalize, and dn_parent remain (for now).
2002-01-16 00:16:51 +00:00
Kurt Zeilenga
e154da3a09
Remove some asserts. Need to re-valid logic
2002-01-15 19:54:21 +00:00
Kurt Zeilenga
beaf090bbb
remove lint
2002-01-15 17:18:18 +00:00
Kurt Zeilenga
5e6e27078c
Change replace ACL semantics from U-Mich historical behavior.
...
U-Mich allows someone with selfwrite to use replace all values
of an attribute with a value containing their DN. Which, of course,
could than be deleted. This behavior was carried forward in all
versions of OpenLDAP.
The new semantics separate checks for deleting all existing values
and adding new values. It is more logical and more inline with
the common use of selfwrite.
2002-01-15 16:23:11 +00:00
Howard Chu
e21e900392
Use LDAP_UTF8_CHARLEN2 to check shortest possible encoding
2002-01-15 08:27:19 +00:00
Kurt Zeilenga
13af7fb073
Misc. cleanup, remove lint, remove unused deprecated functions, etc.
2002-01-15 07:29:15 +00:00
Kurt Zeilenga
5a378a5ce8
A very basic UTF-8 check
2002-01-15 04:38:05 +00:00
Howard Chu
6981960be0
Deleted autosubtypes support.
2002-01-15 01:50:09 +00:00
Howard Chu
d70498f0f2
Revert previous commit again. autosubtypes are gone for good.
2002-01-15 01:49:53 +00:00
Howard Chu
fde56a188c
More fixes for autosubtype index generation
2002-01-14 20:49:06 +00:00
Howard Chu
f4cfb13f2c
Fix previous commit
2002-01-14 20:26:51 +00:00
Howard Chu
1180279104
Revert previous commit
2002-01-14 20:13:25 +00:00
Kurt Zeilenga
f89308915a
Add a default case with assert() just in case.
2002-01-14 17:25:13 +00:00
Kurt Zeilenga
9d307b4242
ITS#1530 no value replace ACL fix
2002-01-14 17:19:05 +00:00
Howard Chu
f91d5f484a
In DN_SUBTREE use idl_allids instead of explicit malloc.
2002-01-14 11:52:53 +00:00
Howard Chu
2e8a98e3a1
Fix subtype indexing. Really really made it the default.
2002-01-14 10:37:08 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
92481f7057
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
2002-01-13 23:23:23 +00:00
Howard Chu
ec8fc19566
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
...
with minor adjustments.
2002-01-13 23:21:03 +00:00
Howard Chu
8b969479f4
Turn on BDB_IDL_MULTI by default
2002-01-13 22:26:29 +00:00
Howard Chu
22120f4930
Turn on USE_INDIRECT_NIDS by default
2002-01-13 22:25:51 +00:00
Kurt Zeilenga
de6700d3b1
Really fix previous commit
2002-01-13 20:30:17 +00:00
Kurt Zeilenga
7826020e97
Fix compile error
2002-01-13 20:19:40 +00:00
Kurt Zeilenga
ff23cd0f7f
Clean up last patch
2002-01-13 20:06:53 +00:00
Kurt Zeilenga
64619bed94
Install system schema checks
2002-01-13 19:38:12 +00:00
Kurt Zeilenga
9a3dcc376c
Zap connection_internal_*
2002-01-13 18:05:16 +00:00
Howard Chu
d0724c769e
Fix mutex leak in previous commit
2002-01-13 17:17:29 +00:00
Howard Chu
f20991dea7
Changed to use search callbacks instead of connection_internal_open
2002-01-13 17:12:43 +00:00
Howard Chu
af862f8c6b
Reworked callback layout, added send_search_entry callback
2002-01-13 16:40:37 +00:00
Kurt Zeilenga
ce2d8ebc7e
Misc cleanup, lint removal, and minor optimizations
2002-01-13 05:00:59 +00:00
Pierangelo Masarati
fafce1601e
consistently use dn_match macro throughout slapd
2002-01-12 18:17:13 +00:00
Pierangelo Masarati
3bddc61a2a
clarify macro name: dn_match = 1 if match, 0 otherwise
2002-01-12 17:42:44 +00:00
Pierangelo Masarati
e89d7b1280
some memory handling cleanup: check that memory is freed by who allocated it, or at least put a FIXME where not
2002-01-12 17:35:01 +00:00
Pierangelo Masarati
39a652d2de
cleanup and better dn handling
2002-01-12 16:04:15 +00:00
Pierangelo Masarati
725e13dade
slap_strncopy function
2002-01-12 16:02:51 +00:00
Pierangelo Masarati
f8fb4aca76
error message from be_entry_put tool backend function
2002-01-12 16:00:51 +00:00
Pierangelo Masarati
ea86a19460
monitor objectclass definition
2002-01-12 11:36:23 +00:00
Kurt Zeilenga
7e9c78fbc6
Add ITS#1508 fix to allow ACIs to grant anonymous users access.
2002-01-11 23:48:22 +00:00
Kurt Zeilenga
d30ab4c113
Additional system schema checks
2002-01-11 20:47:24 +00:00
Kurt Zeilenga
2d09d18de5
Add collective attribute system schema support.
2002-01-11 20:28:05 +00:00
Kurt Zeilenga
70d6f39459
More system schema checks
2002-01-11 19:11:46 +00:00
Kurt Zeilenga
19f2925ab1
Add some basic system schema checks.
2002-01-11 18:56:01 +00:00
Kurt Zeilenga
f57057ee01
Add system schema flags to backends supporting system schema.
2002-01-11 18:26:17 +00:00
Kurt Zeilenga
f402762f9a
Remove lint.
2002-01-11 18:03:28 +00:00
Kurt Zeilenga
20dd3c1273
Add Backend to system schema check routines
2002-01-11 18:00:22 +00:00
Pierangelo Masarati
6c76b2c55d
of course this is required by listener monitor
2002-01-11 11:48:46 +00:00
Pierangelo Masarati
619f772459
listener monitor
2002-01-11 11:43:35 +00:00
Pierangelo Masarati
5dfbf93687
need this outside for back monitor ...
2002-01-11 10:46:58 +00:00
Pierangelo Masarati
75f1addd76
added structural objectclass; reworked obejctclasses to use 'monitor' and 'extensibleObject'; minor cleanup
2002-01-11 10:27:58 +00:00
Howard Chu
340d288db3
Fix loop in glue_tool_sync
2002-01-11 09:04:34 +00:00
Kurt Zeilenga
504404725a
Flip some bits in the backend flags mask
2002-01-11 02:31:47 +00:00
Kurt Zeilenga
c3b62aae91
Fix the bits
2002-01-10 22:54:24 +00:00
Jon Leichter
80a214aef0
Added a missing attribute: tokenGroupsGlobalAndUniversal. It exists
...
in Active Directory.
2002-01-10 22:38:17 +00:00
Kurt Zeilenga
55501e886f
Rework backend (lastmod + glue + system schema) flags
2002-01-10 22:34:11 +00:00
Howard Chu
f0cd9956ed
readahead is only needed on UDP, don't use it on TCP. (Save unneeded memcpy)
2002-01-10 22:00:17 +00:00
Howard Chu
54dae3d3d3
Fix str2anlist declaration, str is not const. (gets overwritten if
...
there is an error.)
2002-01-10 20:25:23 +00:00
Pierangelo Masarati
f757db004c
fix for backend-dependent schema check
2002-01-10 20:12:25 +00:00
Kurt Zeilenga
27a26905b7
Use NULL for be parameter to entry_schema_check() for now.
2002-01-10 19:48:43 +00:00
Kurt Zeilenga
c816ebc225
Add Backend argument to entry_schema_check() to support system schema
...
checks (in addition to user application schema checks).
2002-01-10 19:37:03 +00:00
Howard Chu
f5bfb64f07
Fix lint in previous commit
2002-01-10 18:55:13 +00:00
Kurt Zeilenga
f662a39d41
Add start of subentry support... still need to sort out
...
administrativeRole restricts.
2002-01-10 18:18:37 +00:00
Howard Chu
8067107ed2
Added an_oc to AttributeName for caching ObjectClass lookups.
...
Added error checking to str2anlist; if the attr name doesn't match
any attribute or objectclass the offending attr name is displayed.
2002-01-10 09:54:14 +00:00
Kurt Zeilenga
bf5b4405fe
More clean up of system schema changes
2002-01-10 06:58:57 +00:00
Kurt Zeilenga
aa9612f051
add system schema checks
2002-01-10 06:30:26 +00:00
Kurt Zeilenga
b4bb3b5bf8
Fix up last commit
2002-01-10 05:54:50 +00:00
Kurt Zeilenga
58a72b915a
More operational attribute infrastructure...
2002-01-10 05:31:49 +00:00
Kurt Zeilenga
cadecfaae1
Finish building in operational attributes
2002-01-10 04:10:54 +00:00
Kurt Zeilenga
f4336c8953
More builtin operational attributes
2002-01-10 03:31:11 +00:00
Kurt Zeilenga
7fcf4e011c
Cleanup last commit. Need to add more internal schema....
2002-01-10 02:01:00 +00:00
Kurt Zeilenga
6ed15e3350
Another round of operational attribute changes... more to follow.
2002-01-10 01:46:08 +00:00
Kurt Zeilenga
91644affd9
Minor cleanup
2002-01-10 00:54:31 +00:00
Kurt Zeilenga
c80d93f2bb
Start of new operational attribute framework
2002-01-10 00:17:21 +00:00
Kurt Zeilenga
74421a28ec
Round 2 of subentry changes
2002-01-09 19:43:15 +00:00
Kurt Zeilenga
9b0585f393
Add very basic subentry search support.
2002-01-09 19:21:07 +00:00
Kurt Zeilenga
39c02506de
Fix problems caused by lint removal
2002-01-09 18:18:36 +00:00
Kurt Zeilenga
22f993f89b
Remove some lint caused by the changes in const'ification
2002-01-09 06:30:23 +00:00
Kurt Zeilenga
bc1cd95149
Rework control infrastructure a bit. Add subentries visibility control.
2002-01-09 06:29:54 +00:00
Kurt Zeilenga
e19fdf58c0
Add some comments
2002-01-09 00:19:56 +00:00
Kurt Zeilenga
053251ee88
Bring nadf back from attic, but note that it is obsolete
2002-01-09 00:19:20 +00:00
Kurt Zeilenga
2958cb4dd0
A subentries control framework
2002-01-09 00:05:49 +00:00
Kurt Zeilenga
2a0bb35194
Move nadf to attic
2002-01-08 23:54:53 +00:00
Kurt Zeilenga
5a6f77e92b
comment out pilotObject as it depends on lastModifiedBy
...
move nadf.schema as it depends on lastModifiedBy
2002-01-08 23:54:24 +00:00
Kurt Zeilenga
205f1bd71b
Clarify comment.
2002-01-08 21:14:00 +00:00
Kurt Zeilenga
c9700526e1
Use iplanet OID (with typo fixed) for inetLocalMailRecipient
2002-01-08 21:09:52 +00:00
Kurt Zeilenga
180a37268e
comment out obsolete operational schema
2002-01-08 21:08:03 +00:00
Kurt Zeilenga
587d36e18b
A few changes to the handling of operational attributes.
...
Small preparation for applying tighter semantics to operational attributes.
2002-01-08 20:22:41 +00:00
Kurt Zeilenga
319b92202b
Fix ACL logic for non-regex peername, sockname, etc.
2002-01-08 02:55:03 +00:00
Kurt Zeilenga
962e351271
Minor cleanup
2002-01-07 21:22:38 +00:00
Kurt Zeilenga
e9342bc7a9
Don't use 'void *' unnecessarily.
2002-01-07 20:28:02 +00:00
Pierangelo Masarati
a8697827c8
fix questionable behavior in case of bind errors
2002-01-07 10:15:05 +00:00
Pierangelo Masarati
ed5f670ac1
fix c_cdn migration
2002-01-07 09:25:20 +00:00
Kurt Zeilenga
89e60eda54
Lachman laser is expired.
2002-01-07 07:41:45 +00:00
Kurt Zeilenga
3dd36b0e0a
Add collective schema (not yet implemented)
2002-01-07 04:45:06 +00:00
Kurt Zeilenga
95c6eae74a
Clarify DESC
2002-01-07 04:44:50 +00:00
Howard Chu
26e327f32e
Fix some debug statements
2002-01-06 07:21:06 +00:00
Howard Chu
50277c6abe
Added LDAP_FILTER_EXT case to filter_free()
2002-01-06 06:21:30 +00:00
Howard Chu
e75627a7a7
Don't need to malloc/free ma_rule_text
2002-01-06 06:21:11 +00:00
Howard Chu
ec46a2f33a
Use 'm' ber_scanf format where convenient
2002-01-06 06:11:01 +00:00
Kurt Zeilenga
645ae7a22f
Hide select matching rules from published schema
2002-01-06 05:29:04 +00:00
Kurt Zeilenga
c7a0c436d2
Don't split DESC over multiple lines
2002-01-06 05:27:03 +00:00
Kurt Zeilenga
4b3e7fa668
Add LDAP/X.500 subentry schema (draft-zeilenga-ldap-subentry-xx.txt)
2002-01-06 04:59:26 +00:00
Howard Chu
ce7d8d26f2
Changed conn->c_cdn to struct berval.
2002-01-06 03:26:09 +00:00
Kurt Zeilenga
d218a5ed5c
Add SLAP_MALLOC() and friends.
...
Intended to be used instead of ch_malloc() and friends.
See comment.
2002-01-06 01:34:53 +00:00
Kurt Zeilenga
eaf3264184
Add some critical control checks.
2002-01-06 00:36:55 +00:00
Kurt Zeilenga
4aae03ef24
Remove lint.
2002-01-06 00:35:41 +00:00
Kurt Zeilenga
95082964fc
Fix compile errors
2002-01-06 00:35:01 +00:00
Kurt Zeilenga
c83b406fdc
Fix compile errors
2002-01-05 19:36:41 +00:00
Pierangelo Masarati
e5beebd6a3
more cleanup
2002-01-05 18:31:38 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Pierangelo Masarati
a744ca2be3
fix logs
2002-01-05 16:53:08 +00:00
Pierangelo Masarati
ca60d05dd1
fix malformed test
2002-01-05 15:44:08 +00:00
Howard Chu
05b9ddc15f
Fix uninitialized pointers
2002-01-05 13:25:04 +00:00
Howard Chu
225fa32d8f
BVarray fixes for ldap_dnattr_rewrite
2002-01-05 11:41:23 +00:00
Howard Chu
5fd983725e
Fix at_destroy free of slap_schema.si_at_undefined (when it's NULL)
2002-01-05 11:41:03 +00:00
Pierangelo Masarati
f3b61d87b7
fix BVarray
2002-01-05 09:58:19 +00:00
Kurt Zeilenga
add5119c1a
Cleanup
2002-01-04 23:49:58 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Pierangelo Masarati
b28c3953d4
more fixes/updates
2002-01-04 19:23:10 +00:00
Pierangelo Masarati
847f0f5b8f
misc fix/improvements
2002-01-04 19:11:55 +00:00
Pierangelo Masarati
cdc1e149ca
fix attribute mapping bug
2002-01-04 18:03:43 +00:00
Pierangelo Masarati
4f4f5dc93f
move mapping in a separate file
2002-01-04 18:01:56 +00:00
Pierangelo Masarati
10352caec1
fix rewrite iteration
2002-01-04 17:51:46 +00:00
Pierangelo Masarati
bd535be5cb
hide mapping initialization
2002-01-04 17:51:20 +00:00
Pierangelo Masarati
d3dae8d1cd
more cleanup; doesn't work (fails on ldap_result, select returns -1)
2002-01-04 15:26:45 +00:00
Howard Chu
05b2332caa
struct berval fixes, fix memory leak in ldap_send_entry
2002-01-04 00:49:34 +00:00
Kurt Zeilenga
f5ab06738b
All empty IA5 and Printable strings, but not Directory strings.
2002-01-03 20:03:27 +00:00
Kurt Zeilenga
32b764a9b0
Remove lint
2002-01-03 20:02:49 +00:00
Pierangelo Masarati
db71bb1c4d
lots of migration to struct berval; unfortunately it seems to be broken
2002-01-03 16:29:38 +00:00
Pierangelo Masarati
3e230c7f91
trivial fixes
2002-01-03 16:28:21 +00:00
Kurt Zeilenga
33e6f6e65c
Cleanup (not)found logic
2002-01-03 08:03:22 +00:00
Kurt Zeilenga
d14579589e
Indicate support for True (&) and False (|) filters
2002-01-03 08:02:17 +00:00
Howard Chu
9ad0c5a2e5
Fix from Jonghyuk Choi jongchoi@us.ibm.com; return 0 IDs when bdb_key_read
...
returns DB_NOTFOUND.
2002-01-03 05:53:27 +00:00
Howard Chu
265a03c7bd
Changed AttributeName back into an array instead of a linked list
2002-01-03 05:41:50 +00:00
Howard Chu
bcdfdb968f
Changed AttributeName back into an array instead of a linked list.
...
Fixed bug in do_search eating up controls.
2002-01-03 05:38:26 +00:00
Howard Chu
029306a5be
Use ldap_queue.h instead of <ac/queue.h>
2002-01-03 00:12:46 +00:00
Howard Chu
013b3a9f3d
Minor cleanup
2002-01-02 23:26:20 +00:00
Howard Chu
38fea082ad
Remove unused int i, j
2002-01-02 22:57:57 +00:00
Howard Chu
1a8543da6d
Fix for attr_merge
2002-01-02 22:46:10 +00:00
Kurt Zeilenga
2a799ef855
Fix yet another stupid error...
2002-01-02 19:06:49 +00:00
Kurt Zeilenga
b905b543e0
Additional error checking + misc cleanup
2002-01-02 18:48:10 +00:00
Pierangelo Masarati
c8afe173ba
more cleanup
2002-01-02 18:14:29 +00:00