summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-11-01s4-ldb: convert existing ldb tools to use new command line hooksAndrew Tridgell8-76/+29
the usage() function needs to take a ldb context, as the popt_options is specific to the ldb context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-01s4-ldb: added ldb command line hook supportAndrew Tridgell5-65/+273
ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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-1/+1
this backend is samba4 specific
2010-11-01s4-ldb: added support for general ldb hooks in modulesAndrew Tridgell2-12/+65
this allows a ldb module to register a hook function called at various stages of processing. It will be initially used for ldb command line hooks, but should work generally. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-01s4-ldb: added an override flag to ldb_register_backend()Andrew Tridgell4-30/+33
this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one
2010-11-01s4-ldb: it is not an error for the modules directory to not existAndrew Tridgell1-0/+5
2010-11-01s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2-4/+0
2010-11-01s4-ldb: removed the old ldb module loading styleAndrew Tridgell2-158/+34
this gets rid of some particularly obscure cpp macros for module lists
2010-11-01s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell9-22/+66
2010-11-01s4-ldb: convert the openldap ldb backend to the new style of moduleAndrew Tridgell2-16/+18
2010-11-01s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell2-17/+17
this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
2010-11-01s4-ldb: support a new type of ldb module loadingAndrew Tridgell4-1/+199
this supports module loading in ldb which uses the approach of "load all modules in a directory". This is much more flexible than the current module loading, as it will allow us to load modules for command line parsing and authentication. Modules are loaded from a colon separated path, in the environment variable LDB_MODULES_PATH. If unset, it defaults to LDB_MODULESDIR. Within each directory modules are loaded recursively (traversing down the directory tree). The device/inode number of each module is remembered to prevent us loading a module twice. Each module is checked for a ldb_init_module() function with dlsym(). If found, it is called with the ldb module version as an argument.
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij23-738/+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-30ldb: Drop autoconf-based build system.Jelmer Vernooij16-4260/+0
2010-10-30s4-build: removed some unnecessary dependenciesAndrew Tridgell3-3/+3
based on running waf --symbol-check
2010-10-30s4-cmdline: make cmdline-credentials a private libraryAndrew Tridgell2-7/+7
2010-10-30s4-tdb: make tdb-wrap into a private libraryAndrew Tridgell2-7/+8
this prevents double linking of the tdb wrap code
2010-10-30s4-ldb: add explicit depenencies on ldb library in ldb modulesAndrew Tridgell1-2/+10
ldb modules call module functions from the main ldb library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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-30s4-ldb: create a private library ldb-cmdlineAndrew Tridgell1-5/+6
this prevents duplicate linking of the cmdline support code
2010-10-27tls: Inform the user if the cert/ca/private key can't be savedMatthieu Patou1-3/+12
Most of the time this problem is due to a missing <private>/tls dir. Should close bug 7640. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Oct 27 20:08:54 UTC 2010 on sn-devel-104
2010-10-26talloc: change pytalloc-util to be a public library.Jelmer Vernooij2-2/+2
2010-10-26waf: Only specify vnum for non-private libraries.Jelmer Vernooij1-2/+6
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-1/+1
2010-10-26waf: Remove lib prefix from libraries manually.Jelmer Vernooij10-15/+15
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij6-7/+7
2010-10-25waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell1-0/+4
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
2010-10-24ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion withJelmer Vernooij2-7/+7
'ldb' python module.
2010-10-24s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij1-1/+1
2010-10-24s4: Rename SMBPASSWD to smbpasswd.Jelmer Vernooij1-1/+1
Rename DSDB_MODULE to dsdb_module.
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij10-16/+16
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij1-1/+1
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij3-3/+3
2010-10-23s4: Rename NDR_TABLE to ndr_table.Jelmer Vernooij1-1/+1
2010-10-23s4: Rename LIBNETIF to libnetif.Jelmer Vernooij1-24/+20
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-23ldb: Support using system pyldb library.Jelmer Vernooij1-8/+12
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104
2010-10-23ldb: Install pkg-config file for pyldb.Jelmer Vernooij2-0/+14
2010-10-23ldb: Install pyldb-util as public library.Jelmer Vernooij1-2/+3
2010-10-23ldb:ldb.h - include a comment that the relax control is mainly used by the ↵Matthias Dieter Wallnöfer1-0/+2
OpenLDAP backend Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 23 16:40:04 UTC 2010 on sn-devel-104
2010-10-23s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer2-0/+33
This control is exactly thought for the actions which previously were performed using the RELAX one. We agreed that the RELAX control will only remain for interactions with OpenLDAP.
2010-10-23ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵Matthias Dieter Wallnöfer2-2/+2
LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
2010-10-23s4 socket: increase the debuglevel to make add interface debug messages less ↵Kai Blin1-1/+1
verbose
2010-10-21ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
2010-10-21s4-ldb: make ldb_options_find() publicAndrew Tridgell3-2/+231
we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module
2010-10-21s4-events: LIBEVENTS depends on LIBSAMBA-UTILAndrew Tridgell1-1/+1
it needs it for the debug code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-ldb: make pyldb_util a private libraryAndrew Tridgell1-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: don't depend directly on python modulesAndrew Tridgell2-2/+2
build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-socket: make LIBNETIF a private libraryAndrew Tridgell1-5/+6