summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lib/tdb: fix OpenBSD incoherent mmap.Rusty Russell2012-03-224-24/+58
| | | | | | | | | | | | | | | | | | | | | | | This comment appears in two places in the code (commit 4c6a8273c6dd3e2aeda5a63c4a62aa55bc133099 from 2001): /* * We must ensure the file is unmapped before doing this * to ensure consistency with systems like OpenBSD where * writes and mmaps are not consistent. */ But this doesn't help, because if one process is using mmap and another using pwrite, we get incoherent results. As demonstrated by OpenBSD's failure on the tdb unit tests. Rather than disable mmap on OpenBSD, we test for this issue and force mmap to be enabled. This means that we will fail on very large TDBs on 32-bit systems, but it's better than the horrendous performance penalty on every OpenBSD system. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/replace: test for incoherent mmap.Rusty Russell2012-03-223-0/+97
| | | | | | | We test for other mmap features here, and both tdb1 and tdb2 want this check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/ccan/failtest: compile fix for OpenBSDRusty Russell2012-03-223-0/+17
| | | | | | | | | | | OpenBSD doesn't idempotent-wrap sys/mman.h, so when we #define mmap to an alternative, it fails to compile when sys/mman.h is included again. Workaround is not to #define mmap to add arguments on Open BSD. (Imported from CCAN commit e18e80fe175422d26efe689addc0f67bdba0e097) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/ccan: namespacize ccan/list to avoid conflict with OpenIndiana's sys/list.hRusty Russell2012-03-2220-357/+392
| | | | | | | | | CCAN includes a little utility called "namespacize" which prepends ccan_ to all public methods of a module, and fixes up any dependencies it finds. It's a little primitive, but it works here. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb: fix up run-die-during-transaction test cases on Solaris.Rusty Russell2012-03-224-5/+4
| | | | | | | | | | By using a different include order, we end up with a different version of FILE_OFFSET_BITS (and probably other things) in parts of the test. The different variants get linked together, and the result is weird: the stat returns 0 size. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* docs:man:vfs_gpfs: fix formatting of values for gpfs:syncioMichael Adam2012-03-221-2/+2
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 22 01:56:08 CET 2012 on sn-devel-104
* docs:man:vfs_gpfs: Fix documented values for gpfs:hsmMichael Adam2012-03-221-1/+1
|
* s3:vfs_tsmsm: Fix a misspelling of a config parameter in the doc-commentMichael Adam2012-03-221-1/+1
| | | | The module uses "tsmsm:dmapi attribute" instead of "tsmsm:attribute name".
* s3-selftest: Remove some unnecessary commaBjörn Baumbach2012-03-221-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-selftest: Add samba3.blackbox.net.registry.check to test listBjörn Baumbach2012-03-221-0/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-selftest: introduce new net registry check checkBjörn Baumbach2012-03-221-0/+146
| | | | | | | Add a new check which checks for defects in the net registry check tool. Signed-off-by: Michael Adam <obnox@samba.org>
* Fix bug 8823 - source3/smbd/process.c:smb_dump seems to have a memory leak.Jeremy Allison2012-03-221-3/+8
| | | | | | | Based on code from Richard Sharpe. Move to talloc from malloc. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 22 00:20:41 CET 2012 on sn-devel-104
* s4-samba-tool: add password verification in change user passBjörn Baumbach2012-03-211-1/+5
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 21 17:43:35 CET 2012 on sn-devel-104
* s4-samba-tool: add password verification in add userBjörn Baumbach2012-03-211-0/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-provision: don't ask only 3 times for passwd in interactive modeBjörn Baumbach2012-03-211-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-provision: add password verification in interactive modeBjörn Baumbach2012-03-211-3/+9
| | | | | | | Since we do not print the password out (anymore), it is necessary to verify the entered password. Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke2012-03-215-10/+14
| | | | | | | | | We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104
* s3: Remove "conn" param from notify_init()Volker Lendecke2012-03-213-11/+5
|
* s3: Remove "conn" param from sys_notify_context_createVolker Lendecke2012-03-213-5/+3
|
* s3: Remove "conn" from sys_notify_contextVolker Lendecke2012-03-213-3/+1
|
* s3: Pass "conn" to sys_notify_watch()Volker Lendecke2012-03-213-2/+5
|
* s3: Pass "conn" to notify_add()Volker Lendecke2012-03-213-3/+6
|
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-2112-20/+38
|
* waf: Add autoconf --target support.Andreas Schneider2012-03-211-0/+3
| | | | | | | | | This is needed on some platforms so that you can set it and it is not automagically transformed into --targets. The --target option is normally set by the RPM %configure macro. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 21 11:54:02 CET 2012 on sn-devel-104
* s4-upgradedns: Add DNS partitions in msDS-hasMasterNCs in NTDS settingsAmitay Isaacs2012-03-211-0/+40
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 21 03:16:22 CET 2012 on sn-devel-104
* s4-rpc: dnsserver: Fix IPv6 reverse zone handlingAmitay Isaacs2012-03-211-0/+7
| | | | Thanks to Marcel Ritter <marcel.ritter@rrze.fau.de> for the patch.
* s4-upgradedns: Allow fixing of dns provision after domain joinAmitay Isaacs2012-03-211-39/+56
| | | | | | | This change allows samba_upgradedns script to be run even on existing dns provision (DLZ_BIND9 or SAMBA_INTERNAL) without any side effects. This allows to "fix" dns provision after samba-tool domain join for running BIND with DLZ plugin.
* librpc/wscript_build: Fix formatting.Jelmer Vernooij2012-03-201-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 20 15:26:14 CET 2012 on sn-devel-104
* Move NS_GUID_string and NS_GUID_from_string to dsdb-common.Jelmer Vernooij2012-03-206-55/+64
|
* libndr: Define trivial is_valid_policy_hnd as macro.Jelmer Vernooij2012-03-202-6/+1
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-208-22/+23
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename policy_handle_equal to ndr_policy_handle_equal.Jelmer Vernooij2012-03-203-5/+5
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-2012-37/+37
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* librpc/wscript_build: Santizize formatting.Jelmer Vernooij2012-03-201-384/+387
|
* s3-winbindd Only use SamLogonEx when we can get unencrypted session keysAndrew Bartlett2012-03-191-2/+2
| | | | | | | | | | | | | | | | | This ensures that we have some check on the session keys being returned as the RC4 cipher is not checksumed. The check comes from the fact that the credentials chain is tied to the session key, and so if the credentials check passes then the netlogon session key will be correct, and so the user session key will be correctly decrypted. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 19 21:31:46 CET 2012 on sn-devel-104
* s4:selftest: add test for "samba-tool group list"Michael Adam2012-03-191-0/+22
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Mar 19 02:30:39 CET 2012 on sn-devel-104
* s4:samba-tool: add simple command "group list"Michael Adam2012-03-181-0/+33
|
* s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam2012-03-182-0/+129
|
* upgrade provision didn't run findprovisionrange anymoreMatthieu Patou2012-03-171-8/+13
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Mar 17 09:51:46 CET 2012 on sn-devel-104
* Rewrite findprovisionrange to use factorized functionsMatthieu Patou2012-03-171-98/+4
|
* Factorize code from findprovisionusnranges in order to solve bug #8504Matthieu Patou2012-03-171-2/+124
|
* s3:gse: fix debug message in gse_get_server_auth_token()Stefan Metzmacher2012-03-171-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Mar 17 03:21:06 CET 2012 on sn-devel-104
* Fix second part of bug #8811 - sd_has_inheritable_components segfaults on an ↵Jeremy Allison2012-03-171-5/+20
| | | | | | | | | SD that se_access_check accepts. This fixes a coredump with a NULL DACL in add_directory_inheritable_components(). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 17 01:05:57 CET 2012 on sn-devel-104
* s4:samba-tool: remove remains of patch conflict resolutionMichael Adam2012-03-161-1/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 16 19:13:32 CET 2012 on sn-devel-104
* Stop installing popt_common.h as its symbols are in a private library.Jelmer Vernooij2012-03-161-1/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Mar 16 17:39:31 CET 2012 on sn-devel-104
* build: Do not use --export-dynamic flag on OpenBSD 5.xAmitay Isaacs2012-03-161-1/+2
| | | | | | | | With --export-dynamic flag on OpenBSD 5.x, extra symbols get added in the data segment which causes ABI generation script to fail. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 16:04:31 CET 2012 on sn-devel-104
* s3-notify: Lift "/." handling up one levelVolker Lendecke2012-03-162-15/+9
| | | | | | | This slightly simplifies the code Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Mar 16 14:28:44 CET 2012 on sn-devel-104
* s3-notify: Simplify if-expressionsVolker Lendecke2012-03-161-16/+13
|
* s3-dbwrap: Move "lock_order" initialization to db_open_xxVolker Lendecke2012-03-164-6/+8
|
* build: Fix build issue on OpenBSD 5.xAmitay Isaacs2012-03-162-3/+3
| | | | | | | Do not use -Wl,-no-undefined flag on OpenBSD 5.x (tested on 5.0) Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 16 05:14:03 CET 2012 on sn-devel-104