Andrew Bartlett
4ad97a1d05
Don't walk past the end of ldb values.
...
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb. There is much more work to do in
this area.
Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-08-21 19:24:58 +10:00
Andrew Bartlett
4bfab3bedb
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
2008-08-20 15:52:08 +10:00
Andrew Tridgell
7e1c62f8b6
added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
...
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20 15:46:58 +10:00
Andrew Bartlett
5d37529771
Remove last traces of the old 'subclass' feature
...
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
2008-08-20 13:09:40 +10:00
Stefan Metzmacher
1cea7ebe2e
lib/ldb: add forward declaration for struct event_context
...
metze
(This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
2008-06-27 09:46:22 +02:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
18d80bdf1f
Merge v4.0-test
...
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-28 00:44:14 +01:00
Stefan Metzmacher
7bf6895b67
ldb: nothing uses "system/network.h" so don't include it
...
metze
(This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
92f6333535
ldb: fix the standalone build
...
metze
(This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-18 15:59:21 +01:00
Jelmer Vernooij
7dd0cd26d3
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/Makefile
source/build/smb_build/makefile.pm
source/librpc/config.mk
(This used to be commit 3e02fcfd3fb6683f51417ba39f4ec177494eff3e)
2008-03-03 10:50:53 +01:00
Brad Hards
85d53f7b60
Some cleanups for the ldb doxygen docs.
...
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
2008-03-02 10:46:47 +01:00
Jelmer Vernooij
22ef67dd13
Fix the build (again).
...
(This used to be commit ef00f6b5817107738dc44367838095896af4e77d)
2008-02-26 01:20:55 +01:00
Jelmer Vernooij
b5bd663690
Fix use of realpath, fix init functions for ldb.
...
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)
2008-02-25 20:40:37 +01:00
Jelmer Vernooij
995788536e
Remove more function-based inits.
...
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-02-20 02:57:07 +01:00
Kai Blin
28a06a1b25
ldb: Get rid of a warning.
...
(This used to be commit 37ed9fbeee37a1d86d6f6841eac5c1a0a85c1fcc)
2008-01-11 11:12:36 +01:00
Jelmer Vernooij
cb62bbbb7c
r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.
...
(This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
2007-12-21 05:50:38 +01:00
Jelmer Vernooij
6ee987ffa1
r26371: Fix typo.
...
(This used to be commit dcbacd9adb1ded14cbea3513f3db351e5b7bbe87)
2007-12-21 05:49:08 +01:00
Jelmer Vernooij
6b62805ce7
r26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* (it was already being used for some).
...
(This used to be commit d8b175016570d628bb075008149d32a0d538ce95)
2007-12-21 05:45:49 +01:00
Jelmer Vernooij
e7cf933d41
r25887: Build Samba-specific ldb modules as dso's.
...
(This used to be commit 9d73becbb24fbde2e319e18e84af35d9efaeefda)
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
b09047b78e
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
...
(This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
68a9ab6b01
r25540: Remove prototypes for already removed functions.
...
(This used to be commit 042dff55b4cd42b9bedbf574168cc52de3d1dda4)
2007-10-10 15:07:50 -05:00
Jelmer Vernooij
ed2a1c718a
r25081: Add modules_dir member to ldb_context that is used rather than a global
...
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
2007-10-10 15:06:25 -05:00
Andrew Tridgell
6c973f4e8c
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
b8d69a7ea2
r23795: more v2->v3 conversion
...
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10 14:59:14 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
d89e6c774b
r23364: add LDB_FLG_NOMMAP flag
...
(This used to be commit 0c3442c68b01b6804f3fd966fc1fe9097eb863aa)
2007-10-10 14:53:12 -05:00
Jelmer Vernooij
52fb06edc2
r22681: Fix standalone ldb build when parent directory name != ldb.
...
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10 14:52:00 -05:00
Jelmer Vernooij
f239b809b4
r22642: Allow standalone build to work without tdb or talloc checked out, but
...
provided by the system.
(This used to be commit bdde74055121ac538f6006750c94b514e962619d)
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
bb36705c8d
r22226: move discard_const macros to librelace
...
metze
(This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10 14:50:40 -05:00
James Peach
dec40d3463
r22028: Fix include path for the srcidr != builddir case.
...
(This used to be commit a6141d40b15d52d40998c6206d632a27122a0060)
2007-10-10 14:49:42 -05:00
Andrew Bartlett
e2aa39b024
r21553: Remove bogus comment.
...
(This used to be commit 7c5529729b95f170508b9fe4f04bd33d6f000b1e)
2007-10-10 14:48:55 -05:00
Andrew Bartlett
7dc7156bd7
r21496: A number of ldb control and LDAP changes, surrounding the
...
'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-10 14:48:44 -05:00
Stefan Metzmacher
fb9dabe39e
r20852: add a function to add a ldb control to a ldb_request
...
metze
(This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10 14:43:40 -05:00
Stefan Metzmacher
0c29f6d56d
r20761: let ldb modules call ldb_set_default_dns()
...
metze
(This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
22f473b22b
r20598: add comments and make clear that the void *data element for extended 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-10 14:37:12 -05:00
Stefan Metzmacher
b931e66835
r20596: add prototypes for the ldb_extended functions
...
metze
(This used to be commit 8d3a3117c313c2950381e8d21eb92469a82c3afe)
2007-10-10 14:37:12 -05:00
Stefan Metzmacher
b5eb73280e
r20583: implement the frontend calls for extended operations
...
metze
(This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
2007-10-10 14:37:08 -05:00
Stefan Metzmacher
bc4821a4ce
r20582: use void *data in the ldb_extended struct to match what we have in ldb_control
...
add a request element for extended requests
metze
(This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
2007-10-10 14:37:07 -05:00
Stefan Metzmacher
f29ea516f9
r20581: - the ldb modules have explicit hooks for extended operations
...
so call them
- reorder the request operations first all with explixit hooks
metze
(This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
2007-10-10 14:37:07 -05:00
Stefan Metzmacher
71bc79caab
r20462: add functions to handle UTCTime strings
...
metze
(This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
2007-10-10 14:35:52 -05:00
Stefan Metzmacher
6f68945f7d
r20320: add missing prototypes
...
metze
(This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
c65b5a6f87
r20319: fix compiler warnings
...
metze
(This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
2007-10-10 14:29:39 -05:00
Stefan Metzmacher
525447821e
r20316: fix compiler warning
...
metze
(This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10 14:29:38 -05:00
Stefan Metzmacher
a3c0f3035d
r20189: remove unused struct element
...
metze
(This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
2007-10-10 14:29:20 -05:00
Stefan Metzmacher
c69717755a
r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
...
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-10 14:29:19 -05:00
Stefan Metzmacher
e55ff42229
r20168: start separating attributes and syntaxes
...
metze
(This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
2007-10-10 14:29:17 -05:00
Volker Lendecke
dec69975f5
r20046: Add ldb_search_exp_fmt and port comment to 4
...
(This used to be commit 879dfed8d8356aae6a11352b89bdc0f2d9f28970)
2007-10-10 14:28:54 -05:00
Simo Sorce
ea212eb00f
r20034: Start using ldb_search_exp_fmt()
...
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
2007-10-10 14:28:51 -05:00
Simo Sorce
4f8b4a8ef1
r19906: ldb_attr_cmp is used a lot
...
remove unneded overhead of a function call
(This used to be commit 3ca25867621af049c6cc52e919fa46dd26c31918)
2007-10-10 14:28:34 -05:00
Simo Sorce
c05c41d352
r19888: make it possible to use default attrib handlers from extensions
...
list more DN attributes as part of samba attribute handlers
(nCName moved here)
(This used to be commit 627ed8b5165c9a1cc0e2c67329b364f9cd8a1726)
2007-10-10 14:28:32 -05:00