Age | Commit message (Collapse) | Author | Files | Lines |
|
In particular, this removes one use of the LDB_DN_NULL_FAILED macro,
which was being used on more than DNs, had an embedded goto, and
confused the IBM checker.
In the password_hash code, ensure that sambaAttr is not, before
checking the number of values.
In GENSEC, note that this switch value can't occour. This seems to be
the only way to quiet both the IBM checker and gcc, as well as cope
with possibly invalid inputs.
Andrew Bartlet
(This used to be commit 3e58350ec2ab883795b1dd03ac46a3520cac67d0)
|
|
easier to chase down what modules or application code gets wrong.
Ensure not to leave memory allocated on failure in ldb_search()
Andrew Bartlett
(This used to be commit 0828739951ed879640f8ed6e4700d8ca6b8221b8)
|
|
anywhere
- fix a bad segfault
Andrew please make test before committing.
Simo.
(This used to be commit b9b6bb3e89d3b0e04ccce15156c1a128b6f20d88)
|
|
metze
(This used to be commit 249bf24a40f78aab181a4cce8c42902859e43238)
|
|
as part of ldb.
This allows tdb failures to be passed all the way up to Samba's DEBUG
system, which allowed easier debugging.
Unfortunately I had to extend the tdb API, as the logging function
didn't have a context pointer.
I've worked over the 'debug levels' in TDB. Most of them were 0,
which didn't seem right, as some were trace-like messages. We didn't
see any of these previously, except when accessing TDB directly.
Andrew Bartlett
(This used to be commit 58898092c1ce043f6d698db5065f372b79109e22)
|
|
metze
(This used to be commit 3e5de223f715343b6421d580dc1b3f9d67c980da)
|
|
callers should use push/pull_string() functions with STR_ASCII or STR_UNICODE
- make the push/pull_ascii/ucs2/utf8_talloc() functions complete
(they should be reduced to pull/push_string_talloc() later...)
metze
(This used to be commit b0af976187d2d46b7dbe5a532a5491476b459119)
|
|
and BSD systems, but it's not everywhere.
(This used to be commit b3d2512ed4fc8c378607bcc2dc241a1f77ab7197)
|
|
(This used to be commit 6bc91497827a66af6d9adf26c689e9cc458d8ecf)
|
|
(This used to be commit c4b3c2b18c6df43c8a4808fab72bc45439ba9421)
|
|
trying to find the bug on HPUX
metze
(This used to be commit 3db6bd87158cd615a3e35009598863758099595b)
|
|
pass the error to the callers
metze
(This used to be commit 7aa07a1e0b2abd1a6ecd490410685d20c0201094)
|
|
metze
(This used to be commit 972634b2021e60b27d68b0fd6d49ef95398d92e2)
|
|
we need null tracking, so enable it explicit before running any tests
metze
(This used to be commit f3cd971ab70c3edee4da87b8ca38ec215c8bff49)
|
|
This required changes to the rootDSE module, to allow registration of
partitions. In doing so I renamed the 'register' operation to
'register_control' and 'register_partition', which changed a few more
modules.
Due to the behaviour of certain LDAP servers, we create the baseDN
entry in two parts: Firstly, we allow the admin to export a simple
LDIF file to add to their server. Then we perform a modify to add the
remaining attributes.
To delete all users in partitions, we must now search and delete all
objects in the partition, rather than a simple search from the root.
Against LDAP, this might not delete all objects, so we allow this to
fail.
In testing, we found that the 'Domain Controllers' container was
misnamed, and should be 'CN=', rather than 'OU='.
To avoid the Templates being found in default searches, they have been
moved to CN=Templates from CN=Templates,${BASEDN}.
Andrew Bartlett
(This used to be commit b49a4fbb57f10726bd288fdc9fc95c0cbbe9094a)
|
|
dependency generator.
(This used to be commit fbbc3b11683d594d31e6487873946b68c2c46923)
|
|
(This used to be commit a975f11d452deb2c5e06b8ba02f528b08d2842e1)
|
|
transaction cases.
Andrew Bartlett
(This used to be commit 28883f719304ee438c54a4d33e6bf1239f8c4094)
|
|
(This used to be commit b7c3f80efd08c2206048d00815b7396488c91d3b)
|
|
correct grammar
(This used to be commit 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8)
|
|
r15944.
Hey idra I think a better rename would be to keep the LDB_REQ suffix
here to remain consistent with the other enums (e.g ldb_reply_type,
ldb_async_wait_type and ldb_async_state).
(This used to be commit d44ee8c43bd8f6f978330a8ded8bf30ffad494d6)
|
|
(This used to be commit 8f44d0a2d66751ebc648550eec1ea051724b750c)
|
|
This only affects my new partitions module, which I will post soon,
but should be fixed anyway.
Andrew Bartlett
(This used to be commit 8912c4e057eb3962321245cf49b92999afcc64fc)
|
|
these two DN comparison functions do.
Andrew Bartlett
(This used to be commit 733b64a733779daade7d1cabbacac2275564b697)
|
|
in chasing down bugs :-)
Andrew Bartlett
(This used to be commit 9ede8edbaf1731f32814917439326f49b5f9f3ef)
|
|
Andrew Bartlett
(This used to be commit 684126223046d88d1ff446767ab6783f6391b50c)
|
|
the whole ldb structure.
Because the sequence number was a fn pointer on the main ldb context,
turn it into a full request (currently sync).
Andrew Bartlett
(This used to be commit fbe7d0ca9031e292b2d2fae263233c973982980a)
|
|
change the code to exploit that in ldb
I still have to reintroduce transactions when you call ldb_request directly,
I have some plans I hop to be able to develop in the next weekend
(This used to be commit 35111206021d667dfd217b5fd8d82f5c2714cc9e)
|
|
Andrew Bartlett
(This used to be commit 272a0957283daafb6cbf52219263b94856155d65)
|
|
both fully qualified and in the 'short' form. Now we test and support
this query format.
Andrew Bartlett
(This used to be commit 9ddcfacbcedc5eea2730d4bf902c0fcd02bcfa11)
|
|
Andrew Bartlett
(This used to be commit 1a868b451a47798dc539e0754ab2b075813ed368)
|
|
cn=rootDSE entry.
(it was also crashing, as 'ac' wasn't initialised at this point)
Andrew Bartlett
(This used to be commit 8455aafb1547ae843b066db716a892fda14438b4)
|
|
Andrew Bartlett
(This used to be commit 9a9c2bc4aaa4afc947fb490f48bf037e03d2f223)
|
|
the getntacl utility.
Andrew Bartlett
(This used to be commit b1e0d4747b412929e1d4e24d6d9e504df3ddc824)
|
|
(This used to be commit 2898df2cee22f2d478440e9576bec15140909e45)
|
|
Check timeouts are correctly verified.
Some minor fixed and removal of unused code.
(This used to be commit b52e5d6a0cb1a32e62759eaa49ce3e4cc804cc92)
|
|
Add a test to show that we need this, and to prove it works (for add
at least).
Andrew Bartlett
(This used to be commit f72079029abb594677bf8c2b63e40c07e910004f)
|
|
metze
(This used to be commit 092e52c51884706317564a5a5397f137689d78cb)
|
|
metze
(This used to be commit 07b014f770714474660f68c6ebc510bfbb232abc)
|
|
at least a generic error, even when inside a transaction.
This helps debugging ldb/js interactions a lot...
Andrew Bartlett
(This used to be commit b607acf6f0b3567a40a3e35911c690feda243f50)
|
|
the size of 'long long' so we can use strtol/strtoul
Patch from Bjoern Jacke, thanks!
(I only added the SIZEOF_LONG == SIZEOF_LONG_LONG)
metze
(This used to be commit 2bda7b63be1257210601dac3e2b1070f48d765b4)
|
|
Patch from Bjoern Jacke, thanks!
metze
(This used to be commit 1250355909533e033f30e6a960c58cfc9ec760ba)
|
|
metze
(This used to be commit e0e4f86b30185e01975eff91c2ce7ab7ca5353c1)
|
|
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)
|
|
metze
(This used to be commit 941f93f93f3ce9dacaafe80520b8751f738e7032)
|
|
metze
(This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2)
|
|
- we were giving OPERATIONS_ERROR in all cases:-(
- we now pass ALREADY_EXIST fine to the caller,
and the code in libnet_site.c is happy again.
- this bug wasn't noticed for a long time because
the ldb_ildap code always passed SUCCESS to it's caller
metze
(This used to be commit 7b9d7119205c442f338deab07122ce1548bad9b6)
|
|
metze
(This used to be commit 54e5aeff87b859960dfc5e4b6e3ab026ce5470ff)
|
|
metze
(This used to be commit 11b49a440567eb3fa3391c15f5486c63141f1b97)
|
|
metze
(This used to be commit a3d1ce6d3b8e771d28ab4418679b89a388579360)
|