summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* lib/param: Create a seperate server role for "active directory domain ↵Andrew Bartlett2012-06-1529-55/+64
| | | | | | | | | | | | | | | 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
* s3-auth: Merge SEC_DOMAIN and SEC_ADS cases in creating the default auth ↵Andrew Bartlett2012-06-151-7/+2
| | | | module list
* s3-auth: Fix system info3 return to be just SID_NT_SYSTEMAndrew Bartlett2012-06-151-11/+17
| | | | | | | | | | The SID for the SYSTEM token should be a fixed value, and not the administrator. Note however that it will be replaced by the SID of sec_initial_uid() by the create_local_token() code. Fixing this requires fixes the other parts of the code that cannot cope with a token of just SID_NT_SYSTEM. Andrew Bartlett
* s3-auth: Fix system token generation not to dereference pointer as an integerAndrew Bartlett2012-06-151-1/+1
| | | | | | | | | | | | | This continues on from commit caaebb455cf955f66c2f662c53998c480cb2d6c9 which is marked as being part of bug #8944, ldapsam:trusted and ipasam and an additional fix for bug #8567 (0528cb5f3a15b72dcb34ece21a3ffb3e7b8d6eb9). The problem here was that the primary_gid was simply the pointer result of dom_sid_parse_talloc() cast to a uint32_t (found by the IRIX cc on the build farm). Andrew Bartlett
* s3-auth: Give the SYSTEM token all privilegesAndrew Bartlett2012-06-151-0/+4
|
* s3:smb2_server: remember the request_time on an incoming requestStefan Metzmacher2012-06-153-0/+5
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 15 09:17:33 CEST 2012 on sn-devel-104
* s3:smbd: remember the request_time on an incoming requestStefan Metzmacher2012-06-152-0/+6
| | | | metze
* heimdal:lib/hdb: <config.h> needs to be the first headerStefan Metzmacher2012-06-151-2/+2
| | | | | | This should fix build problems on AIX. metze
* auth.idl: mark confidential attributes as [noprint]Stefan Metzmacher2012-06-151-4/+4
| | | | | | | | We should allow NDR_PRINT_DEBUG() to log them. TODO: we could add some more magic which logs it at level 100. metze
* s3:vfs: change files_struct.fnum from int to uint64_tMichael Adam2012-06-153-3/+4
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 15 05:22:41 CEST 2012 on sn-devel-104
* s3:smbd: change trans2.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-17/+17
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_write.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-6/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_setinfo.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-3/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_read.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-6/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_notify.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_lock.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-6/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_ioctl.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_getinfo.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-4/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_flush.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_find.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_close.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change smb2_break.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-6/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change reply.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-50/+50
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: change pipes.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-3/+3
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>