summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* torture: add torture_assert_guid_equal() macro.Günther Deschner2011-11-031-0/+10
| | | | Guenther
* lib/param: use SMB_SIGNING_IF_REQUIRED instead of SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-6/+7
| | | | metze
* lib/param: map "* signing = auto" to SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-1/+1
| | | | metze
* s4:smb_server: change the default for "server signing" to "default"Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* lib/param: change the default for "client signing" to "default"Stefan Metzmacher2011-11-031-1/+2
| | | | metze
* pyldb: Remove duplicate definition of SYNTAX_DN.Jelmer Vernooij2011-11-021-1/+0
|
* ldb: fix compiler warningDavid Disseldorp2011-11-021-1/+1
| | | | | | | Mixed declarations and code. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Wed Nov 2 16:51:24 CET 2011 on sn-devel-104
* tdb2: don't be fascist when TDB_VERSION1 is specified.Rusty Russell2011-11-022-5/+40
| | | | | | | | | | | | | | | We currently insist that a tdb file be a version1 file if tdb_open() is passed the TDB_VERSION1 flag; we fail if it's actually a tdb2. But that makes generic wrappers harder, and is unlikely to be what the user wants: if they do, they can check tdb_get_flags() & TDB_VERSION1 after opening. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 9691464a16ef22d6acadfef209666381dfe22b2f) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Nov 2 08:38:38 CET 2011 on sn-devel-104
* tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_.Rusty Russell2011-11-013-5/+5
| | | | | | | | | | | This is what lib/tdb2 really wants: to know if it should use normal headers or replace.h. It currently uses _SAMBA_BUILD_, which is wrong for ldb, for example. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Nov 1 03:19:58 CET 2011 on sn-devel-104
* lib/util Add ABI to the samba-module libraryAndrew Bartlett2011-10-282-0/+4
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 28 14:42:43 CEST 2011 on sn-devel-104
* lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett2011-10-282-2/+2
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2011-10-282-4/+4
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett2011-10-284-15/+15
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Split samba-modules library into public and private partsAndrew Bartlett2011-10-286-52/+128
| | | | | | | This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
* lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett2011-10-282-2/+2
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett2011-10-282-2/+2
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2011-10-282-14/+14
| | | | | | This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
* ldb:common/ldb_modules.c - fix a typo in commentMatthias Dieter Wallnöfer2011-10-271-1/+1
| | | | Reviewed-by: abartlet
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-272-0/+24
|
* Include uid_wrapper correctly.Andreas Schneider2011-10-275-21/+18
|
* uid_wrapper: Add uwrap_setresgid().Andreas Schneider2011-10-272-0/+24
|
* uid_wrapper: Fix build on UNIX platforms.Andreas Schneider2011-10-271-0/+10
|
* uid_wrapper: Handle euid and egid 0.Andreas Schneider2011-10-271-7/+29
|
* uid_wrapper: Make sure we have initialized the wrapper.Andreas Schneider2011-10-271-0/+2
|
* uid_wrapper: Fix prototypes.Andreas Schneider2011-10-271-2/+2
|
* replace: Add checks for setreuid and setregid.Andreas Schneider2011-10-272-3/+4
|
* replace: Make sure we compile without uid_wrapper.Andreas Schneider2011-10-271-1/+1
|
* talloc: fix a comment typoMichael Adam2011-10-261-1/+1
|
* lib/util/charset Remove unused header smb_common.hAndrew Bartlett2011-10-241-1/+0
| | | | | | | | This should fix a compile issue on hosts without gssapi/gssapi.h. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* talloc: simplifiy the logic to build talloc_testsuite in the standalone buildStefan Metzmacher2011-10-221-8/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 13:15:52 CEST 2011 on sn-devel-104
* lib/util: remove the "includes.h" dependeny from xfile.cStefan Metzmacher2011-10-221-5/+2
| | | | metze
* lib/util: remove the "includes.h" dependeny from util_file.cStefan Metzmacher2011-10-221-5/+4
| | | | metze
* talloc/testsuite: remove #if _SAMBA_BUILD_==3Stefan Metzmacher2011-10-221-9/+0
| | | | | | We don't include "includes.h" anymore... metze
* ldb: ldb_errstring() takes ldb_contxt as an argumentAmitay Isaacs2011-10-201-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dns: Added DCERPC dns server for DNS managementAmitay Isaacs2011-10-201-1/+1
| | | | | | | | | | dnsserver.h - typedefs and prototypes dnsserver.c - RPC API and implementation methods dnsdb.c - samdb operations dnsdata.c - functions to manipulate dns structures dnsutils.c - function for serverinfo and zoneinfo structures Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb-samba: Added handler to decode dnsProperty attributeAmitay Isaacs2011-10-202-0/+22
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dsdb: improve debug messageAndrew Tridgell2011-10-202-6/+6
| | | | | | | show the reply type in "Invalid reply type" messages Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 00:57:05 CEST 2011 on sn-devel-104
* lib/util: skip single hex digit at the end of the input sting - fix ↵Michael Adam2011-10-181-1/+2
| | | | | | | | | | | potential segfault The second of two digits was read without checking for the length of the input string. For a non-zero-terminated input string, this might have caused a segfault. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 18 22:32:59 CEST 2011 on sn-devel-104
* lib/util: fix function header comment to strhex_to_str()Michael Adam2011-10-181-9/+8
| | | | The description did not match the function's behaviour.
* lib/util: untangle assignent from check in strhex_to_str()Michael Adam2011-10-181-2/+6
|
* lib/param: Remove parameters for wins and spoolss databasesAndrew Bartlett2011-10-181-30/+0
| | | | | | | | | | | | | | | | | This removes the smb.conf parameters per-database, replacing these with hard-coded database names in well known (and configurable) directories. The wins.ldb is now always in the "state dir", rather than being in both state and lock dir (ie, a bug). Less smb.conf parameters means less parameters to try and sync up between the loadparm subsystems. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 18 05:39:54 CEST 2011 on sn-devel-104
* ldb: Output more error information when a connect failsAndrew Bartlett2011-10-182-1/+6
|
* credentials: Prioritise command-line specified options above defaults from ↵Andrew Bartlett2011-10-182-0/+22
| | | | | | | | | | | | | | smb.conf If a user specified -W or --realm on the command line, then this is of level SPECIFIED, not UNINITIALISED, despite it going via the loadparm system. This helps us to ensure that -W server -Ulocaluser is parsed the same as -Userver\localuser. This matters as otherwise we might instead attempt to use kerberos to the realm from the smb.conf. Andrew Bartlett
* ldb: fixed a race in ldb initialisationAndrew Tridgell2011-10-181-1/+9
| | | | | | | | | | | This fixes a race when two processes initialise the same ldb database at the same time. One of them could fail due to the other creating the @BASEINFO record first. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 18 03:54:42 CEST 2011 on sn-devel-104
* Fix const warnings.Jeremy Allison2011-10-141-4/+4
|
* Fix const warnings.Jeremy Allison2011-10-141-3/+3
|
* Fix bug with Samba not recognising an 6to4 IPv6 interface.Matthieu Patou2011-10-141-0/+13
| | | | | | | | | "The 6to4 interface has the flags IFF_POINTTOPOINT interface but no ifa_dstaddr as it's not at the IPv6 level a point to point interface (at least from my understanding), as we don't have a IFF_BROADCAST flag set (I have the impression that this flag is only set on a interface that has also an IPv4 address) the first test is not valid also, which result in a skipped interface."
* libreplace: add a missing "eval" to the AC_VERIFY_C_PROTOTYPE macroMichael Adam2011-10-141-1/+1
| | | | | | | Without this eval, upon test success the corresponding actions (like defining corresponding variables) are not taken. Found by Timur I. Bakeyev, and based on his patch for 3.5.
* Update to newer version of subunit.Jelmer Vernooij2011-10-133-1/+10
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 20:37:18 CEST 2011 on sn-devel-104