summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba
AgeCommit message (Collapse)AuthorFilesLines
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett9-3191/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-20tdb_compat.h: divert every tdb build and includes to tdb_compatRusty Russell2-2/+2
We change all the headers and wscript files to use tdb_compat; this means we have one place to decide whether to use TDB1 or TDB2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett1-1/+1
Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett1-4/+1
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
2011-05-21s4:ldb-samba/ldb_wrap.*-dsdb/samdb/samdb.c - handle LDB connection flags as ↵Matthias Dieter Wallnöfer2-6/+6
unsigned The LDB API ("ldb_connect") prescribes that they should be "unsigned". Signed-off-by: Metze
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett1-1/+1
This is consistent with lock_path() Andrew Bartlett
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-2/+2
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2011-03-15ldb: don't install ldb_wrap.h twiceAndrew Tridgell1-1/+0
2011-02-28Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij1-1/+1
building against system tdb.
2011-02-20ldb-samba: Add missing dependency on pyldb-util.Jelmer Vernooij1-1/+1
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell2-4/+4
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-01s4-python: Only set BASETYPE flag if subclassing is supported.Jelmer Vernooij1-9/+6
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01s4-python: Add more prototypes.Jelmer Vernooij1-0/+2
2010-12-21s4:lib/ldb-samba/ldif_handlers.c - adaption needed for removed "const" on OIDsMatthias Dieter Wallnöfer1-1/+1
2010-12-15ldb: Bump API after symbol changes.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 15 18:18:52 CET 2010 on sn-devel-104
2010-12-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer1-1/+3
"ldb_private.h" is private and therefore might not always be available.
2010-12-12s4:lib/ldb-samba/pyldb.c - optimise includesMatthias Dieter Wallnöfer1-3/+1
2010-12-08s4-ldb: ensure ldb_register_samba_handlers() is not done twiceAndrew Tridgell1-2/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-19ldb:ldb_rename on ldap backends - handle the case when the RDN value is emptyMatthias Dieter Wallnöfer1-1/+1
Otherwise we get "<RDN name>=(null),..."
2010-11-16s4-ldif_handlers Add handler for printing supplementalCredentialsAndrew Bartlett2-1/+24
2010-11-07credentials: Lowercase library name,Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-07ldbsamba: Lowercase library name.Jelmer Vernooij1-4/+4
2010-11-03s4-dsdb: removed the use of ldb_private.h from s4Andrew Tridgell1-4/+4
this will allow s4 to use a system version of ldb
2010-11-01s4-ldb: added samba_extensions ldb moduleAndrew Tridgell2-0/+137
this module hooks into the ldb command line processing, to add extra command line options and initialisation of samba4 internal subsystems such as gensec Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-01s4-ldb: moved the ldb_ildap backend into lib/ldb-sambaAndrew Tridgell1-0/+879
this backend is samba4 specific
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-17/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30s4-ldbwrap: split ldb-wrap out from the LDBSAMBA subsystemAndrew Tridgell2-9/+19
ldb-wrap and the ldif-handlers are not really related, and this allows us to remove another dependency loop Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij1-1/+1
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij1-1/+1
2010-10-18s4:"util_ldb" - remove some really unused dependanciesMatthias Dieter Wallnöfer1-1/+1
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer1-1/+1
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer1-1/+1
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-17s4:ldb-samba/ldb_wrap.c - fix indentation and trailing whitespacesMatthias Dieter Wallnöfer1-36/+36
2010-10-17s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used thereMatthias Dieter Wallnöfer1-0/+9
2010-10-16s4:ldif_handlers.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-13s4-ldb: implement an operator_fn for the ldb-samba syntaxesAndrew Tridgell1-14/+94
this allows us to properly handle the LDB_OP_PRESENT operator on deleted linked attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-11s4-ldb Allow a NULL event context in samba_ldb_init()Andrew Bartlett1-7/+0
2010-10-10ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not ↵Jelmer Vernooij2-0/+29
samdb-specific.
2010-10-10ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.Jelmer Vernooij2-53/+78
2010-10-10ldb-samba: Split up ldb_wrap_connect() a bit.Jelmer Vernooij3-36/+52
2010-10-10ldb-samba: Add convenience function for doing a Samba-style LDB init.Jelmer Vernooij3-49/+73
2010-10-10samdb: Handle schema setup in samdb, not in more generic ldbsamba.Jelmer Vernooij3-11/+3
2010-10-02s4-ldif: get rid of the ndr_pull_error message on startupAndrew Tridgell1-10/+15
detect if the prefixmap blob is text or binary using the first 4 bytes
2010-09-11s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer2-2/+2
results
2010-08-17s4-ldbwrap: ensure session_info in ldb opaque remains validAndrew Tridgell1-0/+15
A DRS DsBind handle can be re-used in a later connection. This implies reuse of the session_info for the connection. If the first connection is shutdown then the session_info in the sam context on the 2nd connection must remain valid.
2010-08-05s4-dns: fix dnsp for old buildAndrew Tridgell1-1/+1
2010-08-05s4-ldb: added ldif handler for the dnsRecord attributeAndrew Tridgell3-2/+25
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2-5/+5
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>