summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-197-379/+2
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: check for err.h ourselvesRusty Russell2012-06-192-0/+3
| | | | | | | | Heimdal does this, but that doesn't help the autoconf build or the standalone libntdb build. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb/wscript: Remove unecessary semicolons.Jelmer Vernooij2012-06-191-4/+4
|
* lib/param: add missing prototype of lpcfg_parm_long()Stefan Metzmacher2012-06-181-0/+3
| | | | metze
* attr: Look for attr/attributes.h too.Jelmer Vernooij2012-06-163-2/+4
| | | | | | | Fixes finding of ATTR_ROOT on GNU/kFreeBSD. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Jun 16 18:54:27 CEST 2012 on sn-devel-104
* s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett2012-06-161-2/+2
| | | | | | | | | | | This commit changes the default file server to be s3fs. Existing installs wishing to keep the ntvfs file server need to set this in their smb.conf: server services = +smb -s3fs dcerpc endpoint services = +winreg +srvsvc Andrew Bartlett
* dbwrap: Remove an unnecessary ZERO_STRUCTVolker Lendecke2012-06-151-1/+0
| | | | | | We assign the only struct member one line down Signed-off-by: Stefan Metzmacher <metze@samba.org>
* dbwrap: dbwrap_trans_store_uint32->dbwrap_trans_store_uint32_bystringVolker Lendecke2012-06-152-4/+6
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 15 14:20:04 CEST 2012 on sn-devel-104
* dbwrap: dbwrap_trans_store_int32->dbwrap_trans_store_int32_bystringVolker Lendecke2012-06-152-4/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: ↵Volker Lendecke2012-06-152-8/+8
| | | | | | dbwrap_trans_change_int32_atomic->dbwrap_trans_change_int32_atomic_bystring Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_change_int32_atomic->dbwrap_change_int32_atomic_bystringVolker Lendecke2012-06-152-4/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: ↵Volker Lendecke2012-06-152-8/+8
| | | | | | dbwrap_trans_change_uint32_atomic->dbwrap_trans_change_uint32_atomic_bystring Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_change_uint32_atomic->dbwrap_change_uint32_atomic_bystringVolker Lendecke2012-06-152-4/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystringVolker Lendecke2012-06-152-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystringVolker Lendecke2012-06-152-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystringVolker Lendecke2012-06-152-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_fetch_int32->dbwrap_fetch_int32_bystringVolker Lendecke2012-06-152-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-build: Do not write loadparm generated files into the build treeAndrew Bartlett2012-06-152-4/+4
| | | | | | | | | We need to keep these files away from where waf might see them. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jun 15 11:10:14 CEST 2012 on sn-devel-104
* lib/param: Use server role = 'standalone server' to be consistant with ↵Andrew Bartlett2012-06-151-0/+1
| | | | | | | | member server standalne is left as an alias. Andrew Bartlett
* lib/param: make security=domain and security=ads conflict with being a DCAndrew Bartlett2012-06-151-18/+2
| | | | | | | | | | | This simplifies our supported configurations down to those that we test and expect to work. security=domain and domain logons = yes has never made much sense, and security=ads and domain logons = yes was only ever used in early experiments for our AD support using smbd. The correct way to be an AD DC is to set "server role = active directory domain controller" Andrew Bartlett
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-153-5/+9
| | | | | | | | | | | | | | | controller" This will allow us to detect from the smb.conf if this is a Samba4 AD DC which will allow smarter handling of (for example) accidentially starting smbd rather than samba. To cope with upgrades from existing Samba4 installs, 'domain controller' is a synonym of 'active directory domain controller' and new parameters 'classic primary domain controller' and 'classic backup domain controller' are added. Andrew Bartlett
* lib/util: Fix typo in comment.Jelmer Vernooij2012-06-151-1/+1
|
* tdb2: remove unused debug_fprintf() macro that breaks the buildStefan Metzmacher2012-06-141-2/+0
| | | | | | | | | The IRIX compiler doesn't support '...' in a macro. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 14 11:26:15 CEST 2012 on sn-devel-104
* tdb: remove unused debug_fprintf() macro that breaks the buildStefan Metzmacher2012-06-141-2/+0
| | | | | | The IRIX compiler doesn't support '...' in a macro. metze
* lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIMEStefan Metzmacher2012-06-143-10/+16
| | | | | | That makes the logic in 'wscript' simpler. metze
* lib/replace: execute strptime.c testsStefan Metzmacher2012-06-141-0/+1
| | | | | | They need runtime verification. metze
* Revert "replace: use replace for non 'samba' compliant strptime"Stefan Metzmacher2012-06-141-19/+0
| | | | | | | | This reverts commit 4ea7d4694a8353fc55ecd12cb09b9c91ffde7b3f. A better fix will follow. metze
* lib/replace: add more condition to add snprintf.cStefan Metzmacher2012-06-141-1/+3
| | | | metze
* Revert "lib/replace: Fix snprintf() override for systems with a broken ↵Stefan Metzmacher2012-06-141-1/+1
| | | | | | | | | | snprintf()" This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze
* lib/replace: s/execute=1/execute=TrueStefan Metzmacher2012-06-141-1/+1
| | | | metze
* replace: fix unused variable warningBjörn Jacke2012-06-131-3/+6
| | | | | | | e2747fc62c2acbab143c4971469e0a4fc36d8789 fixed ... Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 13 23:57:58 CEST 2012 on sn-devel-104
* Revert "replace: fix unused variable warning"Björn Jacke2012-06-131-5/+4
| | | | | | This reverts commit e2747fc62c2acbab143c4971469e0a4fc36d8789. one line slipped into a wrong ifndef ...
* replace: fix unused variable warningBjörn Jacke2012-06-131-4/+5
| | | | found by the IRIX compiler
* s3: Use talloc_tos() in more places in dbwrap_utilVolker Lendecke2012-06-121-6/+10
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 12 15:37:16 CEST 2012 on sn-devel-104
* lib/testtools: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* tdb:tests: fix use of a non-existent word (existant)Michael Adam2012-06-121-2/+2
|
* ldb:tests: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* lib/util: fix use of a non-existent word (existant) in a commentMichael Adam2012-06-121-1/+1
|
* debug: Do not constantly rename logs when max log size = 0Andrew Bartlett2012-06-111-16/+18
| | | | | | | | | | | | | | | | In Samba4, the max log size parameter is not yet connected, so maxlog is 0 This means that we would, on receipt of a -HUP, have all child processes attempt a rename. Now we have the -HUP mean we reopen the logs unconditionally, and then we see if the log is too large (samba3 mode) or simply proceed assuming that someone else has renamed the logs for us. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jun 11 13:34:43 CEST 2012 on sn-devel-104
* lib/param: simplfy lp_find_security()Andrew Bartlett2012-06-111-5/+0
| | | | | | All the roles other than ROLE_DOMAIN_MEMBER map to SEC_USER. Andrew Bartlett
* pyldb: Ensure that the ldb argument is really an ldb before we dereferenceAndrew Bartlett2012-06-111-0/+10
|
* lib/ldb/tools: add missing "replace.h"Stefan Metzmacher2012-06-114-0/+4
| | | | | | | | | This has to be the first header! metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 11 01:21:01 CEST 2012 on sn-devel-104
* tdb2: use ccan/err instead of err.hRusty Russell2012-06-0935-36/+11
| | | | | | | | | Solaris has no err.h, so use CCAN replacement. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Sat Jun 9 12:07:15 CEST 2012 on sn-devel-104
* ccan: make failtest use ccan/err.Rusty Russell2012-06-092-1/+2
| | | | | | As per CCAN commit 48b700953f9c856102e91596103238f5da9ea079. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: import err module.from ccan revision ↵Rusty Russell2012-06-096-2/+348
| | | | | | | | 5add556a1cb64b49a664506aa76216d885b22c97 This allows us to avoid err.h in failtest. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tevent: change version to 0.9.16Stefan Metzmacher2012-06-082-1/+83
| | | | | | | | | This adds tevent_*_trace_*() and tevent_context_init_ops() metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 8 20:47:41 CEST 2012 on sn-devel-104
* tevent: expose tevent_context_init_opsStefan Metzmacher2012-06-082-3/+19
| | | | | | | | This can be used to implement wrapper backends, while passing a private pointer to the backens init function via ev->additional_data. metze
* lib/tevent: Add trace point callbackMartin Schwenke2012-06-088-0/+82
| | | | | | | | | | | | Set/get a single callback function to be invoked at various trace points. Define "before wait" and "after wait" trace points - more trace points can be added later if required. CTDB wants this to log long waits and events. Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/tevent: In poll_event_context, add a pointer back to the tevent_contextMartin Schwenke2012-06-081-0/+4
| | | | | | | This makes it consistent with the other backends. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* samba_util: mark smb_panic as _NORETURN_.Rusty Russell2012-06-081-1/+1
| | | | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Fri Jun 8 09:14:26 CEST 2012 on sn-devel-104