Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 74220ca244865f97825cabdbc8aa899e71c25c7d)
|
|
(This used to be commit b99b604a5f8b7eb98a6285145188c0b94946df78)
|
|
segfaults in NET-API-BECOME-DC)
Andrew Bartlett
(This used to be commit 70c1e918e6bd01946425e2d89cb680f14152f9fc)
|
|
(This used to be commit c04cf0c0520ae35ebe173d733d5dc8ffa5bf4ed9)
|
|
(This used to be commit 4b057b9bffcef9ecc61fe016746f5ce6f17f6d06)
|
|
easier and should also make it easier
to migrate to a new build system.
(This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
|
|
(This used to be commit 4fa8a2789c7a2fa912645f08ca5a3be891d173dd)
|
|
(This used to be commit 583ea85ae04c0bc2e70ab2e595e05f76f65c3be1)
|
|
(This used to be commit 2c2b16b5aeef83a3adce1859e1fbfd9c4f6ffdd5)
|
|
Doing this correctly would involve a create_file call for qpathinfo
(This used to be commit da9a5b571ea87b2e08c74463d3fae58a9eb0828a)
|
|
pkg-config files.
(This used to be commit 88f9e11286bf0f12fc766dbf21f311e5373f0811)
|
|
(This used to be commit 8deaaa52d305e799d04fc879c25ccbf82f01287e)
|
|
(This used to be commit ed1e58e8b35bc971451f4e0a357daa903cd7820d)
|
|
This means we only show and set the values when they are not the
values the schema and objectclass module would impose.
Andrew Bartlett
(This used to be commit c2f2e01357c1b087aa1261fb2cac8687426d5a78)
|
|
False is the default, so only set this when the schema requires the
hiding behaviour.
Andrew Bartlett
(This used to be commit 45f6ccefda39e8f0a9820ba55b1924b7cfb12262)
|
|
Andrew Bartlett
(This used to be commit e9003feb1b9eb3d5b82e82910b63306e5ecc2908)
|
|
(This used to be commit 51422414bed28f425197519298c6b04a9f4e2c4e)
|
|
Unless already set, the default value for this comes from the
defaultHidingValue in the schema.
Andrew Bartlett
(This used to be commit 673f1805006f879fa5302aab8411767a22488e64)
|
|
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
|
|
(This used to be commit c54c087a19e36e0522eb4546c9425ae446f0628b)
|
|
(This used to be commit 98ebdbe52fd615ea62a3caa17acfe8bb31b8f85d)
|
|
first place.
(This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
|
|
starting with "New Key #1" and iterating up to "New Key #99" before giving up.
ldb_open_key() calls reg_path_to_ldb() to build the appropriate dn from the key
name. reg_path_to_ldb() was not catching the error returned by
ldb_dn_add_base_fmt() due to the unescaped '#' character, causing the returned
dn to be that of the parent key, not the potential new key. Additionally,
Windows expects a return value of WERR_BADFILE when a key does not exist, but
WERR_NOT_FOUND was being returned instead. Correcting the building of the dn
and the providing the expected return value allows new key creation to succeed.
When attempting to delete a key, Windows passes the complete path to the key,
not just the name of the child key to be deleted. Using reg_path_to_ldb() to
build the correct dn allows key deletion to succeed.
(This used to be commit d57792d67b865ef43e7f21640b158862627f4b45)
|
|
Rather than map the error returned by the registry to the correct error,
return the correct error in the first place.
Also deal with the fact that the right error code is now returned in a
couple of places.
(This used to be commit 1e31fcb8a097810a97e2d4bb1f243f1b34cc2415)
|
|
The '#' character was causing problems, as it was not being escaped for the dn,
but the failure returned by ldb_dn_add_child_fmt() was not being caught. This
was causing the new value to be added on the parent key, not the current key.
When attempting to delete the new value (now on the parent key) the same
escaping error was returned by ldb_dn_add_child_fmt(), causing the delete to
delete the key and not the value.
When attempting to rename a value, Windows first tries to ensure the new name
does not already exist. When a value does not exist, Windows expects a return
value of WERR_BADFILE, but WERR_NOT_FOUND was being returned instead.
Providing the WERR_BADFILE that Windows expects allows values to be renamed.
(This used to be commit 94fb39cfd967455ce5a554720c1c7e6183f91056)
|
|
There were a few cases left that attempted to detect errors from ldb_*()
function calls using "(ret < 0)". As all LDB_* error codes are greater than
zero, there was no chance any errors would be detected. Changed all such tests
to use "(ret != LDB_SUCCESS)".
(This used to be commit 0ed6f1b1628da5b922f02a5f9a6c60071b6277f2)
|
|
values better.
(This used to be commit c8b22ef30c7fc0ccc15e9fc9a38fdc639fc4b976)
|
|
The instanceid module creates this automaticlly, so we don't need this
any more.
Andrew Bartlett
(This used to be commit f6dbdf34e8a790f460b705100e45ee3928b6b1b3)
|
|
This module needs to be loaded on each database, not just the main
partition. We use it to create the usn for the entries.
Andrew Bartlett
(This used to be commit ffb12aad8a80bb90d66dc66baba81b856622a6bb)
|
|
The memberOf module in OpenLDAP make this attribute operational, so we
need to add it here or clients won't get it when using *.
Andrew Bartlett
(This used to be commit 35148fd51f22d81fe9f590b7d6f13285c35656a7)
|
|
(This is a merge from the ejs script)
Andrew Bartlett
(This used to be commit d822dfa017b84895222ace8c44935fb872930548)
|
|
Andrew Bartlett
(This used to be commit d427cf4fa67e84ccdece9a3fb31d8e89379a86e7)
|
|
This code raided from the repl_meta_data module, which probably needs
to be downsized to just handling the replication data.
Andrew Bartlett
(This used to be commit 2a418f33705a792d9d16cf1d4aa3dcda467e6e04)
|
|
Michael
(This used to be commit bf957bcb835a2c7c903f60dfa8f9a7e41997c5af)
|
|
Previously, we would create the first record in the DB as an LDIF
file, with the expectation that the administrator would use slapadd to
create the database.
We now do everything over LDAP, which is far simpler, and allows the
LDB module chain to do its work, without special cases.
Also fix naming of the output schema when suggesting the comamnd line
to run ad2oLschema in provision-backend.
Andrew Bartlett
(This used to be commit e77375758d66e94e5e0b6e61a97c9281c3d9c71f)
|
|
This still doesn't work for me, but is the recommended order.
Andrew Bartlett
(This used to be commit 4c869c54c2b8125fc88e58bbfddf1975476978a5)
|
|
(This used to be commit 11660b0737107138b53c3a08e8de30ee44607eae)
|
|
This allows objectClass munging to be removed, or modified to not
include adding an objectClass, or for that objectClass to be something
different.
Andrew Bartlett
(This used to be commit ee93b4e2ee1dd1cd38bcf14b2bb62556a13cec4a)
|
|
be provided until used.
(This used to be commit 95872d7db8c9bb1914ab4c9860fd8b09e6695cc7)
|
|
because it's just not going to work with the current build system.
(This used to be commit d9b4a5bb172be74db3c16b50426810f1bdedd00e)
|
|
(This used to be commit 50b8a16d0cb5e1c4352e73900d1e98a812340cca)
|
|
(This used to be commit caa0da310da47a48a9add6de3d309984ae14f59c)
|
|
Guenther
(This used to be commit 1b5706e413f1c6aa1ede15a625929f785ce37272)
|
|
(This used to be commit 5b2ea43ed8613ac10ebe7feda0cf070c8079137a)
|
|
(This used to be commit 6a9827454aaf4279ee85dc5d99d10f14e4c09eae)
|
|
doesn't regress again.
(This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)
|
|
(This used to be commit 502424955237ace5a276d4c91c62e95233ecd978)
|
|
We need to be far more granular bout this - in particular, we need a
decide LDAP -> NTSTATUS conversion.
Andrew Bartlett
(This used to be commit 30fc3752c7573fcf8b1a41f7b3bc8dad860077f8)
|
|
This moves to a smarter 'find the delta' based operation of the linked
attributes module, when the caller asks for a 'replace' of the link
source. Previously we would spray operations all over the database,
even if the net result was just to modify one record.
This also means we need the transaction safety less, which may be
useful for some LDAP backends that don't provide this functionality on
the LDAP server.
Andrew Bartlett
(This used to be commit 8c88e4eb1c0a606e7899091525260e8d6558ffd0)
|
|
ldb_map to be modified (or omitted).
This should allow the current abuse of extensibleObject to be replaced
by a normal objectClass, possibly samba4TOP
Andrew Bartlett
(This used to be commit 8831a5c7935f7e2181252b7b6561541b8c8db679)
|