summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22474: If ldb does not return sucess, then the res variable may not be valid.Andrew Bartlett1-2/+0
It *should* just be NULL from the initialisation above, but I've had this not be the case... Andrew Bartlett (This used to be commit a2848dbf1fa9eafdef93bd914b12ff2f9f223a70)
2007-10-10r22471: Convert more code to use proper LDB error codes.Simo Sorce4-160/+163
This is a 1 to 1 convertion, next step is to make this code report an error if the basedn is not used, hopefully avoiding an explicit search on the base object in the most common cases. (This used to be commit 50534c84b4577b2d32565a74a4716088f706bfea)
2007-10-10r22404: more dependencies which should be privateStefan Metzmacher1-7/+3
metze (This used to be commit e0e35965d1eaab182941d17da744b70c4234ca52)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-5/+0
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r22028: Fix include path for the srcidr != builddir case.James Peach1-1/+1
(This used to be commit a6141d40b15d52d40998c6206d632a27122a0060)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett2-5/+11
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r21760: Try to pin down were some errors are coming from. Ensure we at leastAndrew Bartlett1-8/+25
name the module. Andrew Bartlett (This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10r21736: Fix the smbclient test to do something more interesting with the lastAndrew Bartlett1-0/+3
few authentication tests. Now that the tests correctly 'fail', I was able to fix the credentials subsystem to honour USER and PASSWD. To get --machine-pass working, I needed ldb to always load it's static modules, so I put this in ldb_connect(). Andrew Bartlett (This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)
2007-10-10r21553: Remove bogus comment.Andrew Bartlett1-3/+0
(This used to be commit 7c5529729b95f170508b9fe4f04bd33d6f000b1e)
2007-10-10r21496: A number of ldb control and LDAP changes, surrounding theAndrew Bartlett8-399/+492
'phantom_root' flag in the search_options control - Add in support for LDB controls to the js layer - Test the behaviour - Implement support for the 'phantom_root' flag in the partitions module - Make the LDAP server set the 'phantom_root' flag in the search_options control - This replaces the global_catalog flag passed down as an opaque pointer - Rework the string-format control parsing function into ldb_parse_control_strings(), returning errors by ldb_errorstring() method, rather than with printf to stderr - Rework some of the ldb_control handling logic Andrew Bartlett (This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10r21354: fix commentStefan Metzmacher1-1/+1
metze (This used to be commit 545f769c2fb29323f2fa06e076af894c0be678d0)
2007-10-10r21311: fix very ugly "using free'ed memory" bugStefan Metzmacher1-1/+1
This was there since 2005... metze (This used to be commit 393e4eeb82df8017eb0afb526f4d723cf8814311)
2007-10-10r21305: Change the skel module a little, so make it names clearer.Andrew Bartlett1-6/+7
Andrew Bartlett (This used to be commit 26758fc24ca0b28e1ed07cc20801175e94362d57)
2007-10-10r20969: remove unused function, found my lcovStefan Metzmacher1-49/+0
metze (This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)
2007-10-10r20952: when a component is changed we need to rebuild the linearized stringStefan Metzmacher1-0/+1
metze (This used to be commit beb816fb78ec4a7816680611af6619740e159424)
2007-10-10r20865: remove useless warning, we now always pass the current partitionStefan Metzmacher1-25/+10
control as non critical control metze (This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)
2007-10-10r20852: add a function to add a ldb control to a ldb_requestStefan Metzmacher2-0/+40
metze (This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10r20772: fix segfault caused by ldb_set_default_dns() from init_context hook ↵Stefan Metzmacher1-0/+3
of the root dse module metze (This used to be commit a201d3fc4ddfa336e2a98412d05eac4e51d01cea)
2007-10-10r20761: let ldb modules call ldb_set_default_dns()Stefan Metzmacher2-1/+2
metze (This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
2007-10-10r20731: we need the complex memmove() handling for removing an attribute ↵Stefan Metzmacher1-16/+12
only in one place metze (This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
2007-10-10r20684: if we don't have any indexes, then we should not waste timeStefan Metzmacher1-0/+5
to traverse the whole tdb and unpack each record metze (This used to be commit 492c79de13eab8db6079f880a8f0857dc7a29fa8)
2007-10-10r20670: Make the logic more clearSimo Sorce1-16/+22
(This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)
2007-10-10r20669: Simplifing moreSimo Sorce1-88/+56
(This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)
2007-10-10r20656: This way the process flow should be much more readable.Simo Sorce1-104/+131
We need to make it easier, but this should be a step in the right direction. (This used to be commit ad58177ee46a4f02ee2e2d97882b851226bd3af2)
2007-10-10r20598: add comments and make clear that the void *data element for extended ↵Stefan Metzmacher1-5/+7
operations needs to be NULL or a valid talloc pointer as talloc_get_type() will be called on it. metze (This used to be commit 5731617ea9103eaaef2c5591aab89d59ded35fd8)
2007-10-10r20596: add prototypes for the ldb_extended functionsStefan Metzmacher1-2/+62
metze (This used to be commit 8d3a3117c313c2950381e8d21eb92469a82c3afe)
2007-10-10r20588: handle extended operations in the ldb_next_request() callStefan Metzmacher1-0/+3
metze (This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
2007-10-10r20583: implement the frontend calls for extended operationsStefan Metzmacher2-5/+112
metze (This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
2007-10-10r20582: use void *data in the ldb_extended struct to match what we have in ↵Stefan Metzmacher1-4/+4
ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
2007-10-10r20581: - the ldb modules have explicit hooks for extended operationsStefan Metzmacher2-2/+6
so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
2007-10-10r20467: Don't segfault if we don't have an OID mapAndrew Bartlett1-1/+1
(This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
2007-10-10r20464: Make it clear what does the process group stuffAndrew Bartlett1-1/+1
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
2007-10-10r20462: add functions to handle UTCTime stringsStefan Metzmacher2-8/+87
metze (This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
2007-10-10r20459: LDB map cleanup:Andrew Bartlett1-16/+17
- Replace 'return 0' with return LDB_SUCCESS in more places. - Do not return NULL attribute values, these are not permitted. Instead, fail the whole conversion. - Cleanup old comments. Andrew Bartlett (This used to be commit f28cf842dab2fe5e691d755f28c6048c986e284f)
2007-10-10r20373: When adding a base to a "" DN, don't precede it with a comma (,)Andrew Bartlett1-2/+10
Andrew Bartlett (This used to be commit ef1ca30180b1b225579a8200b65a4853a135602f)
2007-10-10r20320: add missing prototypesStefan Metzmacher1-1/+18
metze (This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
2007-10-10r20319: fix compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
2007-10-10r20317: store references to all important naming contexts.Stefan Metzmacher1-13/+45
add ldb_get_config_basedn(), ldb_get_schema_basedn() and ldb_get_root_basedn() metze (This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)
2007-10-10r20316: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10r20234: metze pointed out that we are re-loading the cache records on eachAndrew Tridgell1-0/+4
write. We should only be doing this if another process writes and changes the seqnum. This avoids the extra cache loads (This used to be commit 65858ebb68c25a672e9284e8cba9a6675902f1df)
2007-10-10r20198: let the IBM checker ignore the warning about a missing breakStefan Metzmacher1-1/+2
statement... metze (This used to be commit 6b20123c10b8812759b0876990766adc207bc5b4)
2007-10-10r20192: I assume a 'break' is the correct thing to do here,Stefan Metzmacher1-0/+1
simo,tridge: please check this. found by the IBM checker metze (This used to be commit 5ac373c8b853d4527a095111253f3cb10522f5e8)
2007-10-10r20191: fix bug found by the IBM checkerStefan Metzmacher1-1/+1
metze (This used to be commit 4c1e4bfeef8d93583b6d4345dbb1b8fa90368308)
2007-10-10r20190: fix the ldb_ldap backendStefan Metzmacher1-1/+0
metze (This used to be commit 6b7eb5d68e769fd5450c5d92c3ece4c471aaeae9)
2007-10-10r20189: remove unused struct elementStefan Metzmacher3-4/+0
metze (This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
2007-10-10r20188: move back to an default attribute handler and not use the '*' attributeStefan Metzmacher1-2/+15
to not conflict with the one that maybe added via the @ATTRIBUTES object this is just to make the test-tdb-feature.sh torture test happy There's still a bug when a attribute is registered multiple time without removing old ldb_schema_attribute instances. But this bug was there before my changes too and was just triggered by my changes metze (This used to be commit 70c4a367433f8c54bdd940eb0a6a24ab976a4063)
2007-10-10r20187: fix the build on systems without sqlite3Stefan Metzmacher1-0/+4
metze (This used to be commit 216713d9a034984ffb40889b42837b91abae862a)
2007-10-10r20185: - SMB_ENABLE() needs upper case YES/NOStefan Metzmacher2-27/+29
- fix compilation of the ldb_sqlite3 module metze (This used to be commit 39c41be0ac5bfa39c4ff3267b1a8291857e3a034)
2007-10-10r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointerStefan Metzmacher14-382/+245
to a ldb_schema_syntax struct. the default attribute handler is now registered dynamicly as "*" attribute, instead of having its own code path. ldb_schema_attribute's can be added to the ldb_schema given a ldb_schema_syntax struct or the syntax name we may also need to introduce a ldb_schema_matching_rule, and add a pointer to a default ldb_schema_matching_rule in the ldb_schema_syntax. metze (This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
2007-10-10r20168: start separating attributes and syntaxesStefan Metzmacher5-36/+46
metze (This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)