Age | Commit message (Collapse) | Author | Files | Lines |
|
<node>.<pid>.<fd> to be unique in a prefork process environment.
Andrew Bartlett and David Disseldorp
(This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
|
|
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the
formatting expressions again,
e.g.
DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid)));
Sadly it's done with macros (again) but when we need to save the 8 or 16
bytes of object code per DEBUG() expression we can do it the Samba 3 way
with added thread-safety for Samba 4. That could save up to 200K,
allowing 12 bytes for each occurrance of DEBUG...
Signed-off-by: Amin Azez <azez@ufomechanic.net>
(This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
|
|
(This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
|
|
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
|
|
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
|
|
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
|
|
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)
|
|
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
|
|
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
|
|
(This used to be commit 2fc26c09026a0f2f74e5c7c86002e662b559d265)
|
|
(This used to be commit da0952bdd6196b23200063cadd866b1d5551a65c)
|
|
(This used to be commit 9a5cc88b090125b45e61da1ea1c9ac52f5ff6ab2)
|
|
metze
(cherry picked from commit 2f460915111066d79f5dc9b4ae4d003918d06852)
(This used to be commit d2ac8be28d3aff59eddbdc6189a255a34c10d502)
|
|
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 583ea85ae04c0bc2e70ab2e595e05f76f65c3be1)
|
|
(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)
|
|
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)
|
|
system).
Jeremy.
(lib/replace part of 545cd2139cfc9484b733693814d4724d37125942 metze)
(This used to be commit 9cff25cce1d39460dbcab006a309bb2984969eed)
|
|
Republic <Jiri.Sasek@Sun.COM>
- slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars.
Jeremy.
(lib/replace part of 657bf8c3479d6192f269e3daef1517e77a9fa9cb metze)
(This used to be commit 9f5c443972a09a70de7c8d6695b08c3730484c6c)
|
|
(lib/replace part of 8bcd2df841bae63e7d58c35d4728b7d853471697 metze)
(This used to be commit 8db9e196506f530c780d93e16da590566d16a407)
|
|
Jeremy.
(lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze)
(This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)
|
|
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze)
(This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)
|
|
(This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)
|
|
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
|
|
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
|
|
(This used to be commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)
|
|
by perl in the build system.
(This used to be commit bba8914af56cb161c275fbbdea2479d6f8bd703c)
|
|
(This used to be commit 37ed9fbeee37a1d86d6f6841eac5c1a0a85c1fcc)
|
|
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
|
|
(This used to be commit 355878907970b396e4031426fda260d981c417eb)
|
|
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
|
|
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
|
|
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
|
|
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
|
|
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
|
|
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)
|
|
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)
|
|
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
|
|
(This used to be commit 597f9fe17685fb7909269bc0af04bf4a040e2ad7)
|
|
referrals.
Andrew Bartlett
(This used to be commit 8099facff99dab4de27ea6f857d0e8f5eaa3db5a)
|
|
Andrew Bartlett
(This used to be commit c72c39326b263b3aacd178ddc2fc3b1a2906f3d3)
|
|
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
|