summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:autoconf-build: build the idmap backends tdb2, rid, and hash by default ↵Michael Adam2012-06-181-0/+3
| | | | | | | (shared) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jun 18 13:38:50 CEST 2012 on sn-devel-104
* s3:waf-build: build the idmap backends tdb2, rid, and hash by default (shared)Michael Adam2012-06-181-1/+2
|
* s3:idmap_tdb: fix miss in rename of dbwrap_trans_store_uint32() to ↵Michael Adam2012-06-181-4/+4
| | | | dbwrap_trans_store_uint32_bystring()
* dbwrap: Rename dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystringAmitay Isaacs2012-06-181-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:configure: check for SPLICE_F_MOVE at configure stageStefan Metzmacher2012-06-182-2/+2
| | | | | | | | | This should fix the waf build on AIX, which has a splice symbol. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 18 11:43:01 CEST 2012 on sn-devel-104
* heimdal:lib/wind: include <stdlib.h> at the endStefan Metzmacher2012-06-173-3/+3
| | | | | | | | | | | This makes sure config.h gets includes first. This should fix the build on AIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jun 17 16:16:24 CEST 2012 on sn-devel-104
* heimdal:lib/wind: make sure errorlist_table.c includes config.h as first headerStefan Metzmacher2012-06-161-1/+1
| | | | | | | | | This should fix the build on AIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 16 23:59:07 CEST 2012 on sn-devel-104
* 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
* heimdal:lib/krb5: don't name a struct 'token'Stefan Metzmacher2012-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is a static const struct and the name is never used, so just make it an anonymous struct. This hopefully fixes the build on AIX: "../source4/heimdal/lib/roken/roken-common.h", line 276.9: 1506-236 (W) Macro name __attribute__ has been redefined. "../source4/heimdal/lib/roken/roken-common.h", line 276.9: 1506-358 (I) "__attribute__" is defined on line 45 of ../source4/heimdal/lib/com_err/com_err.h. "../source4/heimdal/lib/krb5/expand_path.c", line 331.21: 1506-334 (S) Identifier token has already been defined on line 98 of "/usr/include/net/if_arp.h". "../source4/heimdal/lib/krb5/expand_path.c", line 390.43: 1506-019 (S) Expecting an array or a pointer to object type. "../source4/heimdal/lib/krb5/expand_path.c", line 391.31: 1506-019 (S) Expecting an array or a pointer to object type. "../source4/heimdal/lib/krb5/expand_path.c", line 392.20: 1506-019 (S) Expecting an array or a pointer to object type. "../source4/heimdal/lib/krb5/expand_path.c", line 392.48: 1506-019 (S) Expecting an array or a pointer to object type. "../source4/heimdal/lib/krb5/expand_path.c", line 393.39: 1506-019 (S) Expecting an array or a pointer to object type. Waf: Leaving directory `/opt/home/build/build_farm/samba_4_0_test/bin' Build failed: -> task failed (err #1): {task: cc expand_path.c -> expand_path_52.o} gmake: *** [all] Error 1 metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 16 15:20:59 CEST 2012 on sn-devel-104
* s3-auth: Remove auth_netlogondAndrew Bartlett2012-06-166-467/+1
| | | | | | | | | | | | | | | | | auth_netlogond was an important module in the development of the combined Samba 4.0, and was the first module to link smbd with the AD authentication store, showing that it was possible for NTLM authentication to be offloaded to the AD server components. We now have auth_samba4, which provides the full GENSEC stack to smbd, which also matches exactly the group membership and privileges assignment and which is supported and tested as part of the official Samba 4.0 release configuration. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 10:13:20 CEST 2012 on sn-devel-104
* s3-passdb: Remove pdb_adsAndrew Bartlett2012-06-165-2709/+1
| | | | | | | | | | | | | | | pdb_ads was an important module in the development of the combined Samba 4.0, and was the first module to show that standard samba3 tools such as smbpasswd can be made to operate on the sam.ldb. We now have pdb_samba4, which operates directly on the sam.ldb, rather than via ldapi://, which uses transactions and which is supported and tested as part of the official Samba 4.0 release configuration. This module is not as complete (for example, it does not honour the idmap configuration) and requires that the samba binary be running to operate. Andrew Bartlett
* s4-classicupgrade: Also ask testparm for 'smb passwd file'Andrew Bartlett2012-06-161-0/+2
|
* WHATSNEW: Bump the version and announce the s3fs defaultAndrew Bartlett2012-06-161-23/+28
|
* s4-classicupgrade: Use "samba classic" description for samba3 NT4-like ↵Andrew Bartlett2012-06-162-11/+13
| | | | domains in samba3upgrade
* s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett2012-06-163-7/+8
| | | | | | | | | | | 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
* s4-s3upgrade: Assert that administrator has a SID of -500, and only skip ↵Andrew Bartlett2012-06-161-2/+9
| | | | | | | | root if it is -500 Many upgraded installations have root as -1000, and so that account needs to be kept. Andrew Bartlett
* s4-s3upgrade: Add my wins.dat and fix the parsing errorAndrew Bartlett2012-06-163-1/+27
| | | | | | | The issue was that the numbers at the end of the lines are space padded. Andrew Bartlett
* s4-s3upgrade: improve idmap import to use posixAccount and posixGroup entriesAndrew Bartlett2012-06-161-2/+32
|
* s4-idmap: Add mapping using uidNumber and gidNumber like idmap_adAndrew Bartlett2012-06-162-2/+123
| | | | | | | | | | This is a solution for users who are upgrading from Samba 3.x in particuar, or have clients that will be using idmap_ad. This avoids needing to have duplicate values in idmap.ldb and in the directory. No check for conflicts is made with the idmap.ldb - the AD store always wins. Andrew Bartlett
* Same fix as bug 8989 - Samba 3.5.x (and probably all other versions of ↵Jeremy Allison2012-06-161-0/+9
| | | | | | | | | Samba) does not send correct responses to NT Transact Secondary when no data and no params for the Trans2 calls. See MS-CIFS 2.2.4.47.2 for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 16 07:59:19 CEST 2012 on sn-devel-104
* Fix Bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does ↵Jeremy Allison2012-06-151-0/+6
| | | | | | | | not send correct responses to NT Transact Secondary when no data and no params Found by Richard Sharpe <realrichardsharpe@gmail.com>. The correct command code in a reply to NT Transact Secondary (0xa1) is NT Transact (0xa0).
* s3: Slightly simplify grant_fsp_oplock_typeVolker Lendecke2012-06-151-1/+3
| | | | | | The "else" is not necessary, we did a return in the if-branch Signed-off-by: Jeremy Allison <jra@samba.org>
* s4-selftest: Add tests for dbcheck on an old database that needs repairAndrew Bartlett2012-06-162-0/+44
| | | | | | | | | We changed a lot since alpha13, so there are lots of legitimate errors to fix. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 05:44:15 CEST 2012 on sn-devel-104
* s4-dbcheck: Always specify the dhcheck controlAndrew Bartlett2012-06-161-0/+1
| | | | | | This will then allow us to make schema modifications, overriding the default ban. Andrew Bartlett
* selftest: Add targetdir and tdbrestore parameters to undump.shAndrew Bartlett2012-06-161-5/+22
|
* build: Remove support for non-64bit sendfile()Andrew Bartlett2012-06-163-120/+0
| | | | | | | | | | | Some early Linux 2.6 platforms can not handle sendfile and _FILE_OFFSET_BITS == 64 This disables sendfile() on these platforms. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Jun 16 02:21:28 CEST 2012 on sn-devel-104
* selftest/flapping: mark samba4.nss.test using winbind(s3dc) as flakeyStefan Metzmacher2012-06-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | I saw this at least 10 times in the last weeks. [1425/1517 in 1h12m22s] samba4.nss.test using winbind(s3dc) UNEXPECTED(failure): samba4.nss.test using winbind(s3dc).run nsstest(s3dc) REASON: _StringException: _StringException: ERROR setpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR setgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR Non existent user gave error -1 ERROR Non existent uid gave error -1 ERROR Non existent group gave error -1 ERROR Non existent gid gave error -1 total_errors=10 FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 15 20:24:11 CEST 2012 on sn-devel-104
* docs-xml: vfs_gpfs: add comment "per share option"Björn Baumbach2012-06-151-0/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* docs-xml: vfs_gpfs: fix typoBjörn Baumbach2012-06-151-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* docs-xml: add gpfs:acl option to vfs_gpfs man pageBjörn Baumbach2012-06-151-0/+20
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:vfs_gpfs: add "gpfs:acl" optionBjörn Baumbach2012-06-151-0/+81
| | | | | | | | With "gpfs:acl=no" you can pass the acl calls to the next SMB_VFS module. Based on a patch from Hans-Dieter Schuster <hans-dieter.schuster@ts.fujitsu.com> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* 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>
* s3-winbindd: fix the build of idmap_ad modules.Günther Deschner2012-06-151-1/+2
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Jun 15 18:16:11 CEST 2012 on sn-devel-104
* s3-lib: Fix conversion of lib/events.c to modern tevent namesAndrew Bartlett2012-06-151-2/+2
| | | | | | | | | This corrects an error in 8e31d97c8b62d34aff5d52bfe46dbcc5805dae03. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jun 15 16:25:20 CEST 2012 on sn-devel-104
* dbwrap: dbwrap_trans_store_uint32->dbwrap_trans_store_uint32_bystringVolker Lendecke2012-06-154-6/+8
| | | | | | | 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-155-7/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: ↵Volker Lendecke2012-06-153-10/+10
| | | | | | 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-153-10/+10
| | | | | | 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-154-6/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystringVolker Lendecke2012-06-158-14/+19
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_fetch_uint32->dbwrap_fetch_uint32_bystringVolker Lendecke2012-06-1511-23/+25
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystringVolker Lendecke2012-06-157-20/+23
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* dbwrap: dbwrap_fetch_int32->dbwrap_fetch_int32_bystringVolker Lendecke2012-06-157-20/+23
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-build: Do not write loadparm generated files into the build treeAndrew Bartlett2012-06-158-29/+35
| | | | | | | | | 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
* s3-lib: Convert lib/events.c to modern tevent namesAndrew Bartlett2012-06-151-14/+14
|
* docs: document new server role valuesAndrew Bartlett2012-06-151-2/+24
|
* s3-auth: rework default auth methods around the lp_server_role() parameterAndrew Bartlett2012-06-152-18/+23
| | | | | | | | To cover all the enum values, ROLE_ACTIVE_DIRECTORY_DOMAIN_CONTROLLER is mapped to the samba4 auth module, and this is no longer required to be specified in fileserver.conf. Andrew Bartlett
* lib/param: Use server role = 'standalone server' to be consistant with ↵Andrew Bartlett2012-06-153-7/+12
| | | | | | | | 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