summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-11-17param: Move enum values into a common (included) .c fileAndrew Bartlett2-81/+113
This #include hack is required as it is not possible to declare a compile-time sized array in a header file. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: move server role helpers into loadparm.hAndrew Bartlett4-33/+5
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: calculate server role from security, and security from server roleAndrew Bartlett4-7/+201
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett1-1/+1
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: make server role list common and include auto (for the new default)Andrew Bartlett1-1/+9
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17param: Add "domain logons" and "domain master" parametersAmitay Isaacs1-0/+20
This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
2011-11-16lib/util/debug: with log level = 10 we should be more verboseStefan Metzmacher1-3/+9
log level = 10 already impacts performance, so we can turn on more details and print the pid, [e][u|g]id and class information. So it implies "debug pid = yes", "debug uid = yes" and "debug class = yes". This generates a lot more useful log files. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 12:25:02 CET 2011 on sn-devel-104
2011-11-15s3: allow to set TCP_NODELAYACK socket option on AIXBjörn Jacke1-0/+3
this is the AIX way to disable delayed ACKs, the same like TCP_QUICKACK on Linux Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Nov 15 21:00:07 CET 2011 on sn-devel-104
2011-11-13waf: Factor checking for undefined symbol flags out into separate method.Jelmer Vernooij4-0/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 19:38:38 CET 2011 on sn-devel-104
2011-11-13pytdb: Shorter description which fits on a single line.Jelmer Vernooij1-1/+2
2011-11-13testtools: Import new upstream snapshot.Jelmer Vernooij6-8/+30
2011-11-13subunit: Import new upstream snapshot.Jelmer Vernooij7-22/+92
2011-11-13ldb: Only check for pkg-config file when checking for system ldb.Jelmer Vernooij1-2/+2
2011-11-13tevent: Only check for pkg-config file when checking for system tevent.Jelmer Vernooij1-1/+1
2011-11-13tdb: Only check for pkg-config file when checking for system tdb.Jelmer Vernooij1-1/+1
2011-11-13talloc: Only check for pkg-config file when checking for system talloc.Jelmer Vernooij1-2/+2
2011-11-13subunit: Only check for pkg-config file and use proper pkg-config file name.Jelmer Vernooij1-1/+1
2011-11-13tevent: Only build pytevent if the system doesn't provide it.Jelmer Vernooij1-5/+8
2011-11-13ldb: Use pyembed rather than pyext for ldb-util library.Jelmer Vernooij1-1/+1
2011-11-13tevent: remove unnecessary enablement.Jelmer Vernooij1-1/+0
2011-11-13pytalloc-util: Don't mark as python extension, use pyembed instead.Jelmer Vernooij1-1/+1
2011-11-10ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij1-33/+37
than samba.tests.
2011-11-10Revert "pyldb: fixed ldb API test"Jelmer Vernooij1-36/+39
This reverts commit 333248f08c83cc5b18f8e7e84cb19d79a8309d6e. This commit made the pyldb tests depend on the Samba testsuite.
2011-11-10Fix -Wunused-but-set-variable compiler warnings in tevent_signal.cMartin Schwenke1-4/+2
The results of some read(2) and write(2) calls are assigned into a variable that is never used. Presumably this used to avoid compiler warnings or similar. However, from (approximately) GCC 4.6 this produces some warnings: [ 609/3910] Compiling lib/tevent/tevent_signal.c ../lib/tevent/tevent_signal.c: In function ‘tevent_common_signal_handler’: ../lib/tevent/tevent_signal.c:85:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] ../lib/tevent/tevent_signal.c: In function ‘signal_pipe_handler’: ../lib/tevent/tevent_signal.c:183:10: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] The simplest thing to do is remove the variables and cast the function return to void. There is already a comment above each call. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-10pyldb: fixed ldb API testAndrew Tridgell1-39/+36
it was failing previously, but the failure wasn't being noticed
2011-11-10pyldb: enhanced get() method on msg objectAndrew Tridgell1-14/+33
get() now takes a default value and an idx, allowing for much easier usage Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-03util/time: Make some functions explicitly public.Jelmer Vernooij1-3/+3
2011-11-03util/time: Remove unnecessary _PUBLIC_ - that's implicit for things in ↵Jelmer Vernooij1-44/+40
header files.
2011-11-08param: Remove duplicate initialization of 'share backend' parameterAmitay Isaacs1-2/+0
2011-11-03torture: add torture_assert_guid_equal() macro.Günther Deschner1-0/+10
Guenther
2011-11-03lib/param: use SMB_SIGNING_IF_REQUIRED instead of SMB_SIGNING_SUPPORTEDStefan Metzmacher1-6/+7
metze
2011-11-03lib/param: map "* signing = auto" to SMB_SIGNING_SUPPORTEDStefan Metzmacher1-1/+1
metze
2011-11-03s4:smb_server: change the default for "server signing" to "default"Stefan Metzmacher1-1/+1
metze
2011-11-03lib/param: change the default for "client signing" to "default"Stefan Metzmacher1-1/+2
metze
2011-11-02pyldb: Remove duplicate definition of SYNTAX_DN.Jelmer Vernooij1-1/+0
2011-11-02ldb: fix compiler warningDavid Disseldorp1-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
2011-11-02tdb2: don't be fascist when TDB_VERSION1 is specified.Rusty Russell2-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
2011-11-01tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_.Rusty Russell3-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
2011-10-28lib/util Add ABI to the samba-module libraryAndrew Bartlett2-0/+4
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 28 14:42:43 CEST 2011 on sn-devel-104
2011-10-28lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett2-2/+2
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2-4/+4
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett4-15/+15
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Split samba-modules library into public and private partsAndrew Bartlett6-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
2011-10-28lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett2-2/+2
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett2-2/+2
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-28lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2-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.
2011-10-27ldb:common/ldb_modules.c - fix a typo in commentMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2-0/+24
2011-10-27Include uid_wrapper correctly.Andreas Schneider5-21/+18