Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
|
|
(This used to be commit 115053ea7e70b067e7873668ed83f1f10908287d)
|
|
(This used to be commit 3c058f50cc3b91d540feb51fb698d90565b2b7c9)
|
|
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
|
|
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
|
|
Andrew Bartlett
(This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)
|
|
We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.
Andrew Bartlett
(This used to be commit 6aa5dde2aa9a5f070871ecc117e44bfcad363459)
|
|
(This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)
|
|
This is now handled by reading the schema into the attributes.
Also, when we do set something here, mark it as FIXED, so the schema
and any reload from @ATTRIBUTES won't touch it.
Andrew Bartlett
(This used to be commit 7b24701335398ece3d1b3a20cf5f1174500b16ce)
|
|
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
|
|
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
|
|
(This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)
|
|
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
|
|
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
|
|
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
|
|
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
|
|
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
|
|
(This used to be commit cad2e6c4c13ccd02587e47d13e897e0a327b58eb)
|
|
(This used to be commit 27d07df301d60e49d36efd003f2fd2305c83c3fe)
|
|
metze
(This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
|
|
metze
(This used to be commit 0fb265e567d700b3c16eb8f28bc5f26653a819fa)
|
|
metze
(This used to be commit ce44a608f66bf27070fd43d576551fde6f545d7c)
|
|
metze
(This used to be commit 0dbbc287f65a51330c5309df5a96b3acd4d044d5)
|
|
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 531882dadd57eb6fa048c5d6e5fe3accc20df751)
|
|
This includes additional Samba-specific syntaxes made available from
the ldif_handlers code.
This commit also changes some table to use #defines, to ensure
consistancy in other parts of the code.
Andrew Bartlett
(This used to be commit e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
|
|
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
|
|
This was removed from ldb_tdb a while ago
Andrew Bartlett
(This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
|
|
This reads the schema from the in-memory structure, when the magic
attributes are requested. The code is a modified version of that used
in the ad2oLschema tool (now shared).
The schema_fsmo module handles the insertion of the generated result.
As such, this commit also removes these entries from the setup/schema.ldif
Metze's previous stub of this functionality is also removed.
Andrew Bartlett
(This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
|
|
metze
(This used to be commit 159df68c04c9ae437ab48991154e91161ef72754)
|
|
metze
(This used to be commit 2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097)
|
|
We want to use zlib for the mszip ndr (de)compression
later, we'll need to add some new functions to zlib.
metze
(This used to be commit 65c9e91a1bb24851a030a304d011558562cc50d6)
|
|
metze
(This used to be commit cffed8e19e22a1fa7b7a322b153df5d54e4c3be2)
|
|
metze
(This used to be commit 9138fc6639fae7a5567c395254277199c89b0dcb)
|
|
metze
(This used to be commit 0aa6d63ec571b0ca05fbfe14d2b4e9ba3e1082e9)
|
|
(This used to be commit 396ea14732d667960091f4a2570341059914ecb6)
|
|
(This used to be commit 24309dbf4d9622fcfafa29ef98bc0459fdaa814b)
|
|
(signum 64)
(This used to be commit af7fb2e38ba27cf8058eb1cef1f96bbc7b19849f)
|
|
(This used to be commit 63c80c885dc3fb2228f082be8db752bb29e3962e)
|
|
The code previously added data->add_objectClass, but only removed the
fixed objectclass of extensibleObject.
Found by the ldap.py test.
Andrew Bartlett
(This used to be commit 4fa15c3173a997fa0b9041161d81e742e1fdb41c)
|
|
This will go away when this is handled in an internal transation.
Andrew Bartlett
(This used to be commit f567e17758cfe937249beafae0a9087b67b27755)
|
|
Andrew Bartlett
(This used to be commit 7ca421eb32bed3c400f863b654712d922c82bfb9)
|
|
Michael
(This used to be commit b7c14af3790bcf825367a7f16d2aaa375b04393c)
|
|
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115.
This fix is not valid:
1. convert_string() is not only used for key strings but also for data.
2. Some databases use string_tdb_data() i.e. non-null-terminated strings
as keynames and others (like the one I was using), use
string_term_tdb_data(), i.e. zero-terminated key strings.
After discussion with Metze, the easiest (and proper way) to
handle this is to specify key names as "keyname\0" for databases
which use string_term_tdb_data().
Sorry for the noise...
Michael
(This used to be commit 17c012c4645f4e9542537c15f80d9b4e74304d11)
|
|
This prevented all commands operating on keys (all non-traverse commands)
in tdbtool to fail with a "fetch failed" or "delete failed" message.
It seems that it fixes bug #2344 ...
Apparently this bug was introduced with 94e53472666ed in 2005.
Either nobody is using tdbtool or else tdb_find() has become
more strict about the key legth in the meantime. :-)
Michael
(This used to be commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115)
|
|
metze
(cherry picked from commit 20795c4a0d5f75561561470231de1a2fad2906ff)
(This used to be commit 5d5b4e4ab23e1c630dfde2b9f296681e3979c4e0)
|
|
strlcat gives error.
Jeremy.
(This used to be commit e633dc4ec2d72c3d34b5e096e0460e07e07ab514)
|
|
LDB does not know about nor process the AD schema, so it makes no
sense to have this tool there. I've been changing it anyway, to use a
common schema manipulation library, and will enhance these links in
the future.
Andrew Bartlett
(This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
|
|
MS-ADTS 3.1.1.3.1.1.5 describes the behaviour of auxiliary classes.
In effect, these are additional MUST or MAY attributes that are
appeneded to the parent class (the auxiliary does not become listed in
the objectClass attribute), and so we do just that, and merge them
here, for export to OpenLDAP as it's schema.
Andrew Bartlett
(This used to be commit d674e92591ea90eb3b2117d8dd21f79f718d7730)
|
|
metze
(This used to be commit 0aef6d394d7a93cce9aee17af1153b07ea1a9c07)
|
|
metze
(This used to be commit 5bf414efbdf279fd1b85eb47e7b47656bc435f11)
|