Age | Commit message (Collapse) | Author | Files | Lines |
|
act like this again...
also when we already have a casefoled value we should not call ldb_dn_casefold_internal()
metze
(This used to be commit cbf4eb16725992bfdfa5a334e0e5547e6df568e6)
|
|
(This used to be commit e9ddb18c83518703f987bf141807639956612dbf)
|
|
(This used to be commit c1737f9a52d9e4d118f969a0953a458188143d0d)
|
|
(This used to be commit 3a662a2d985bf801284c5dc1123dec6705e6d092)
|
|
- ldb_dn_get_linearized
returns a const string
- ldb_dn_alloc_linearized
allocs astring with the linearized dn
(This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
|
|
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.
The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.
The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.
Simo.
(This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
|
|
remove old unused schema module
metze
(This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
|
|
metze
(This used to be commit 4edeef56dcd185869812bf622c5b496360eb6223)
|
|
metze
(This used to be commit 666e674504c514033390bf69746fb3c35baf4b2a)
|
|
attributes to backend (remote) attributes.
We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes. (We end up with the wrong
attributes returned).
In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.
I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.
I've also re-formatted many of the function headers, to fit into
standard editor widths.
Andrew Bartlett
(This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
|
|
as it's ugly when it free's the callers memory on failure!
- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
have not way to return them in a ldb_result (we should fix this!)
metze
(This used to be commit 47da62b15abf48f97ce6fc8dc4627792728349ae)
|
|
metze
(This used to be commit 7a4f46c1c9ec8119db46ffc57d77fcf13ca0c5a8)
|
|
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
|
|
libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
|
|
(This used to be commit abdc4edbb8f8b8234bad1be05fa92b3f3bc8876c)
|
|
argument.
This is a pointer to an element pointer. If it is not null it will be
filled with the pointer of the manipulated element.
Will avoid double searches on the elements list in some cases.
(This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
|
|
(This used to be commit e58b03cd666c6e5df8e5720a62aef23f87be9362)
|
|
(This used to be commit ee86e88e4f523d67900b52b5a4d4040a76360c61)
|
|
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
|
|
- set better names on talloc structures in ldb modules, making leaks
easier to track down
(This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
|
|
(This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
|
|
(This used to be commit 06387e1cf2d12a74e15a6cdf19e83a28c75cb5fd)
|
|
(This used to be commit c989dfbe18a2f700e952f478e258bd626c9eb2f5)
|
|
(This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)
|
|
information when modules fail to load.
Andrew Bartlett
(This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)
|
|
pass always a mem_ctx to functions and a ldb_context where needed
metze
(This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)
|
|
fix compiler warnings
metze
(This used to be commit dc139d8715f58b27363266f1426da451907845eb)
|
|
(This used to be commit d12550af01f8d4c135fbf6f429852c31570ec92b)
|
|
In case you haven't noticed, lots of our packages now run the IBM
checker in the build farm on 'snab'
(This used to be commit b39a79f17c9d8729264436bb774e8bd2b88e12f9)
|
|
(This used to be commit 441ad8a45c390f807a6ec5f27d585aad54f3b210)
|
|
(This used to be commit 78aa689a74941cd6873a91c429889a4c1d1a6432)
|
|
(This used to be commit 84ae80b39bfa49fe7f9fa801d45a79bf04df8aff)
|
|
Volker
(This used to be commit af72af684bca68c1759be1357f817db7be699eed)
|
|
(This used to be commit 2dff8ee8cc8b9faf3fbec46d458d6de214622afc)
|
|
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)
|
|
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)
|
|
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)
|
|
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
|
|
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)
|
|
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)
|
|
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)
|