Age | Commit message (Collapse) | Author | Files | Lines |
|
ldb_msg_find_attr_as_string() to work correctly.
Thanks to Jim Myers for spotting this!
(This used to be commit b2076c1a7e4b70644b59689ce46952ef940be6b0)
|
|
http://www.ee.oulu.fi/research/ouspg/protos/testing/c06/ldapv3/
The issue here is that if the UTF8 conversion fails, because this
isn't actually UTF8 data, then we need to do a binary compare instead.
Andrew Bartlett
(This used to be commit a113e47784157ec6086b014c1fc998e8a23e7382)
|
|
ldb_set_umask() (which is what we had discussed) as it doesn't
actually set the umask (in effect it sets the inverse of the umask -
the perms to be used for the file)
(This used to be commit 7e2ec875908c112d5c3b0f6d18f9a8bbacf33539)
|
|
Samba4 smbd force the umask to 0, which meant we ended up with ldb
being world writable.
This isn't really an ideal fix, as it means ldb no longer honors umask
(as it should do, like all good libraries).
Unfortunately the 'proper' fix is too complex for now
this also merges a tiny code style fix from s4 to s3
(This used to be commit 1a42f38dfdc55d7429a1f8d3e811f3d857195a58)
|
|
string is zero length. This allows callers to not have to worry about
creating an invalid ldap attribute.
See extensive discussion on samba-technical list :-)
(This used to be commit 7a1db8c2a432b9ab59b29ee1bfce6c8fe8e981a2)
|
|
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3
metze
(This used to be commit 4e2f5ba490d717283ab089d90ebd5c108a8c53b0)
|
|
(This used to be commit 4ce447223cc71b8b2a31c2da3b0afd8e3fcf0c01)
|
|
(This used to be commit a141ee9473ae46c63dea247456f156b40f766d42)
|
|
to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements.
(This used to be commit 3e131177dae3536c07632fe09e7ebe877bcd9332)
|
|
(This used to be commit 69f05f288ce7a8508760db861d0910495bd1d578)
|
|
(This used to be commit bcfa93954fdb00f500f174cd227e3d9b2ef94fdc)
|
|
(This used to be commit b6bb5d7b772467042cee6ea372119781c42b91c1)
|
|
(This used to be commit 1ebc098b6776d38451e441280ac13664d64569f4)
|
|
when the tdb api is updated
(This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
|
|
(This used to be commit 54b864b491d8a10c28833d28b764262503a72e91)
|
|
This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb. For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.
This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.
To assist this, we also store the last modified time in the TDB,
whenever we change a value.
Andrew Bartlett
(This used to be commit 72858f859483c0c532dddb2c146d6bd7b9be5072)
|
|
(This used to be commit bcbe82873f2f0a4e2552ed27eb171028de4560a7)
|
|
paged_searches module.
In particular, we must query the remote server to find out if paged
searches are supported, not the local ldb.
This patch also removes the ue of bool, and returns it to LDB error codes.
Andrew Bartlett
(This used to be commit d36d05858bb9b87802f5ffb83285ef12b9646741)
|
|
(This used to be commit 36c35262f23fec20feff99a87b185b74c1f176c2)
|
|
(This used to be commit 4f3628dea69efce430bf96a42435025806853d90)
|
|
Fix logic error in paged_results
(This used to be commit 34ce1f8e1bab2debb508aa8bf478231389a77d42)
|
|
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
|
|
also fix cn name for this record, and ensure tests/tmp is created
(This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
|
|
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
|
|
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.
Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
|
|
causing this test to fail.
(This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
|
|
to mess with the values in these cases.
Where we do convert the values, try and convert substrings. This
isn't going to be perfect, but we should try rather than segfault.
This also avoids using the wrong arm of the union for the attribute
name
The change in the entryUUID module is to correct the case of
sAMAccountName, due to the case sensitive ldap.js test.
Andrew Bartlett
(This used to be commit 81d9a692c1e74ec9078bf718003eafdba85b4324)
|
|
This adds a list of attributes that are in our wildcard seaches, but
the remote server requires to be explicitly listed. This also cleans
up the handling of wildcards in ldb_map to be more consistant.
Also fix the partitions module to rebase the search, if on the GC
port, we do a subtree search. (Otherwise backends can rightly
complain that the search is not in their scope).
Andrew Bartlett
(This used to be commit bc58792b7102f086b19353635d5d5ef9d40a0aae)
|
|
and use the macros in configure.ac
metze
(This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
|
|
exposed.
Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
(This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
|
|
carefully. Most of them are OK, but a couple were not.
(This used to be commit b0de2838829d9750817c31f28c11c6b2be6e7b64)
|
|
(This used to be commit 4c33c6bb97f3b25b611c476be4c914031e55e4dc)
|
|
appropriate.
Note that I also removed the error checks that were being done on the
result of talloc_steal(). They are pointless as talloc_steal() doesn't
have any failure modes that wouldn't cause a segv anyway, and they
tend to clutter the code
(This used to be commit c0d9e7d473b8e3eb2524a9fc29cf88680f994b36)
|
|
that don't exist, and this is not a cause for panic.
Andrew Bartlett
(This used to be commit c89e416d288d16de43ae93102ecfec588900e6c0)
|
|
(This used to be commit 8cc456e6dcb348375dbded0de1a0c07ea6bf8ff9)
|
|
(This used to be commit 0e1d4be23ab807b17959e09dffbaf9c8c8dd048e)
|
|
(This used to be commit b2bba4e7261e4daf2be44110c454eb0e217836ca)
|
|
(This used to be commit 449fab2c264aa50601f9a2d3310f1910ba97706b)
|
|
(This used to be commit 41cb3a9258012e628a2d87959cc066f6c5d92255)
|
|
library. Even though we don't like to that library, it gets loaded via
nss-ldap, which means nss-ldap calls into the samba ldap lib with the
wrong parameters, and crashes.
We really need to use a completely different namespace in libcli/ldap/
(This used to be commit c440e0eed9afae5fe69995a7416971e7c8560779)
|
|
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
|
|
(This used to be commit ce5b1b8c09a9fe07fb953e7ad6bef204f98918aa)
|
|
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
|
|
What we want to do here is to just make sure res is freed.
Well let's just do so explicitly, the steal cofused me
initially while reading the code. This way it is clear
what we want to do.
Simo.
(This used to be commit 30a26a501fef939991a2e998003c5a43fd5cb67e)
|
|
correct memory context).
Andrew Bartlett
(This used to be commit b4f234e507fa94e9600c362fb6edb704d299cfce)
|
|
(This used to be commit 320003127690ab98fc2185f0eb528a778cae2740)
|
|
always at it as first private dependencies
metze
(This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)
|
|
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
|
|
(This used to be commit b34310029a02402bf5f5bd8690a67a3d746906ee)
|
|
(This used to be commit 849fa935401b8d846e5e9c92267dc1cbabd3ae55)
|