summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-bind: Remove patches now incorporated into bind9Andrew Bartlett2012-07-036-256/+0
| | | | | | | These patches are in bind9 now, and we do not recomment using them any more as the improved version in bind 9.8 is much less prone to failure. Andrew Bartlett
* s4-dns: Remove dynamic DNS instructions for bind 9.7Andrew Bartlett2012-07-031-22/+1
| | | | | | | | This version of BIND only ever caused pain when trying to do dynamic DNS. If users are using this version, simply treat it as a static server. Andrew Bartlett
* auth: Remove .get_challenge (only used for security=server)Andrew Bartlett2012-07-0315-248/+6
| | | | | | | | | | | | | With NTLMSSP, for NTLM2 we need to be able to set the effective challenge, so if we ever did use a module that needed this functionlity, we would downgrade to just NTLM. Now that security=server has been removed, we have no such module. This will make it easier to make the auth subsystem async, as we will not need to consider making .get_challenge async. Andrew Bartlett
* auth/gensec: Remove unused gensec_security parameterAndrew Bartlett2012-07-031-6/+3
|
* selftest: Give Samba4 processes a little longer to clean upAndrew Bartlett2012-07-031-1/+1
| | | | | | This may help write out gcov data correctly. Andrew Bartlett
* file_server: add [globals] to generated smb.confAndrew Bartlett2012-07-031-0/+1
|
* s3-libpidfile: fix check for running process.Björn Baumbach2012-07-021-1/+1
| | | | | | | | | | Call pidfile_pid() with process name instead of pid file name. pidfile_pid does create the pid file name by itself. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jul 2 19:19:21 CEST 2012 on sn-devel-104
* s3-libpidfile: some more debug outputBjörn Baumbach2012-07-021-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-torture: more printf removal from samlogon torture test.Günther Deschner2012-07-021-29/+25
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Jul 2 17:19:55 CEST 2012 on sn-devel-104
* WHATSNEW: mention initial support for SMB3Michael Adam2012-07-021-0/+5
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jul 2 15:15:53 CEST 2012 on sn-devel-104
* WHATSNEW: Mention SMB 2.1 support (reauthentication/mulit-credit) and config ↵Michael Adam2012-07-021-0/+8
| | | | default
* WHATSNEW: prepare for 4.0 beta3Michael Adam2012-07-021-30/+5
|
* Disable selections of USE_LINUX_THREAD_CREDENTIALS until we have specificJeremy Allison2012-07-022-27/+35
| | | | | | | 32-bit and 64-bit versions. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 2 03:02:47 CEST 2012 on sn-devel-104
* ccan: make it a grouping library.Rusty Russell2012-06-301-0/+10
| | | | | | | | | | | | | | | | | | | Andrew Bartlett pointed out that making CCAN a non-library will break the build in a different way in future: when two separate private libraries start using the same CCAN module, the symbol duplicate detection will fire (since private libaries don't use any symbol hiding). That doesn't happen yet, but it will surely happen eventually. So, for now at least, we build as a private library again. This unfortunately means the top-level build creates a libccan.so, which contains all the ccan modules whether you need them or not. Given the size of the library, I don't think this is a win. But it's simple. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Sat Jun 30 11:19:04 CEST 2012 on sn-devel-104
* Don't allow asynchronous creates to be canceled in SMB2.Jeremy Allison2012-06-303-3/+20
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 04:10:02 CEST 2012 on sn-devel-104
* Make schedule_deferred_open_message_smb() return an indication of success.Jeremy Allison2012-06-302-5/+6
|
* Make schedule_deferred_open_message_smb2() return an indication of success.Jeremy Allison2012-06-302-7/+9
|
* Allow for async opens.Jeremy Allison2012-06-301-4/+35
| | | | | If the SMB_VFS_OPEN() function returns -1, EINTR -> NT_STATUS_RETRY, then queue the open up to be completed when the async open completes.
* Add new bool field async_open to struct deferred_open_record. Not used yet.Jeremy Allison2012-06-301-0/+4
|
* Fix defer_open() fuction in the open code path to cope with a NULL lck ↵Jeremy Allison2012-06-301-11/+16
| | | | parameter.
* Add uint64_t mid field to the files_struct.Jeremy Allison2012-06-302-0/+2
| | | | Ensure it is initialized so we know what mid created this file.
* s3:waf add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke2012-06-301-2/+2
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104
* s3: add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke2012-06-301-3/+3
|
* Try and fix the autoconf build on Solaris/Nexenta/etc.Jeremy Allison2012-06-304-5/+42
| | | | | | | | | Their AC_TRY_RUN doesn't include any current CPPFLAGS. Make the set[res]uid checks independent of this. Needs a small change to the waf build in order to code with the change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 00:32:36 CEST 2012 on sn-devel-104
* Fix typo in configure.in check for USE_LINUX_THREAD_CREDENTIALS.Jeremy Allison2012-06-291-1/+1
|
* s3:smbd: make use of smbXsrv_open for smb1/2/3Stefan Metzmacher2012-06-2910-141/+74
| | | | | | | | | | | | This makes sure we generate unique persistent file ids, which are stored in smbXsrv_open_global.tdb. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104
* s3:smbd: add smbXsrv_open* infrastructureStefan Metzmacher2012-06-295-0/+1102
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbXsrv.idl: add smbXsrv_open* structuresStefan Metzmacher2012-06-291-0/+71
| | | | | | | | | | | struct smbXsrv_open will represent a SMB 1 or SMB 2 open file handle, while 'files_struct' will be changed to handle just the protocol independent glue for the SMB_VFS layer. Note: the format is not stable yet, we need to add more things when we start to support durable handles. metze
* s3:configure: fix numerous compile warnings about implicit declaration of 'exit'Björn Jacke2012-06-291-27/+27
| | | | | | | | | use return instead of exit in configure tests to fix those warnings: warning: incompatible implicit declaration of built-in function 'exit' Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Jun 29 19:08:54 CEST 2012 on sn-devel-104
* s3: fix the logic in bsd_statvfsBjörn Jacke2012-06-291-1/+1
|
* s3:cclean avoid segfault in case of ctdb missbehaviourGregor Beck2012-06-291-3/+8
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 29 17:06:05 CEST 2012 on sn-devel-104
* s3:cclean: fix memory allocationGregor Beck2012-06-291-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* packaging(RHEL-CTDB): package cclean toolGregor Beck2012-06-291-0/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* packaging(RHEL-CTDB): make makespec.sh aware of new location of version.hGregor Beck2012-06-291-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3_dbrwap_ctdb: improve a comment in db_ctdb_can_use_local_record()Michael Adam2012-06-291-1/+3
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: fix a comment in db_ctdb_fetch()Michael Adam2012-06-291-2/+3
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() functionMichael Adam2012-06-291-1/+4
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: rename db_ctdb_own_record() -> db_ctdb_can_use_local_copy()Michael Adam2012-06-291-3/+3
| | | | | | | This matches the function's intention much closer, since it also tests whether we have a valid local read only copy. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbrwap_ctdb: remove commented out legacy codeMichael Adam2012-06-291-5/+1
|
* s3:dbwrap_ctdb: fix fetch/fetch_locked when samba is built against old ctdbMichael Adam2012-06-291-4/+3
| | | | | | | | | | | | The introduction of read only copies has broken the algorithm for deteting whether we can use the local record copy for fetch_locked and fetch: For fetch locked the new code always uses the local copy if there is one... This patch re-establish the original algorithm for the build against a ctdb without read only record copies. Reported-by: Gregor Beck <gbeck@sernet.de>
* lib/ccan: readd execinfo dependency to failtestStefan Metzmacher2012-06-291-1/+4
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* libcli/smb: add SMB2_CAP_DIRECTORY_LEASING to SMB2_CAP_ALLStefan Metzmacher2012-06-291-0/+1
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* lib/util: fix fd leak in anonymous_shared_allocate() if MAP_ANON is not ↵Stefan Metzmacher2012-06-291-1/+14
| | | | | | available metze
* s3:smb2_server: remove max_charge check in ↵Stefan Metzmacher2012-06-291-16/+0
| | | | | | | | | | smbd_smb2_request_verify_creditcharge() The client can send any credit charge value, it's ok to send more than needed. metze Signed-off-by: Michael Adam <obnox@samba.org>
* s3:build: tell linker to use corefoundation on all darwin releasesBjörn Jacke2012-06-291-2/+2
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Jun 29 14:43:39 CEST 2012 on sn-devel-104
* s3: merge bsd_statvfs and darwin_statvfsBjörn Jacke2012-06-291-53/+31
|
* ccan: we're subsystems, not a library.Rusty Russell2012-06-295-27/+41
| | | | | | | | | | | | | | | | | | | | Don't expose a libccan.so; it would produce clashes if someone else does the same thing. Unfortunately, if we just change it from a SAMBA_LIBRARY to a SAMBA_SUBSYSTEM, it doesn't create a static library as we'd like, but links all the object files in. This means we get many duplicates (eg. everyone gets a copy of tally, even though only ntdb wants it). So, the solution is twofold: 1) Make the ccan modules separate. 2) Make the ccan modules SAMBA_SUBSYSTEMs not SAMBA_LIBRARYs so we don't build shared libraries which we can't share. 3) Make the places which uses ccan explicit. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Fri Jun 29 06:22:44 CEST 2012 on sn-devel-104
* Move back to using per-thread credentials on Linux. Fixes the glibc native ↵Jeremy Allison2012-06-297-24/+85
| | | | | | | | | | | | | AIO lost wakeup problem. See this post: https://lists.samba.org/archive/samba-technical/2012-June/085101.html for details. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jun 29 03:57:45 CEST 2012 on sn-devel-104
* Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison2012-06-2818-112/+362
| | | | | | Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
* Add missing setresgid() wrapper.Jeremy Allison2012-06-281-0/+1
|