summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:ldapcmp.py: pass down outf and errfStefan Metzmacher2012-04-171-12/+29
| | | | | | | | | Not all classes are derived from class 'Command'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 10:06:47 CEST 2012 on sn-devel-104
* docs:man:vfs_gpfs: Remove itemized list to fix indentationChristof Schmitt2012-04-161-11/+4
| | | | | | | | The indentation in the man page is wrong after the itemized list. An easy fix is to put the text in the paragraph instead. Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Apr 16 23:00:37 CEST 2012 on sn-devel-104
* s3: switch off kernel oplocks by defaultChristian Ambach2012-04-162-5/+4
| | | | | as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
* s3: Fix smbclient notify against WindowsVolker Lendecke2012-04-161-1/+1
| | | | | | | We need READ_DATA Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 16 21:27:54 CEST 2012 on sn-devel-104
* Improve the VFS Makefile so that it is easier for use out of tree but still ↵Richard Sharpe2012-04-161-13/+9
| | | | | | | works with FreeBSD. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 16 19:51:14 CEST 2012 on sn-devel-104
* provision: Simplify handling of default for --server-role.Jelmer Vernooij2012-04-161-8/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 16 18:12:24 CEST 2012 on sn-devel-104
* provision: Simplify handling of default for --function-level.Jelmer Vernooij2012-04-161-4/+3
|
* provision: Simplify handling of default for --dns-backend option.Jelmer Vernooij2012-04-161-6/+2
|
* s3/selftest: Fix reference to knownfail file.Jelmer Vernooij2012-04-161-1/+1
|
* build: rebuild idl if the pidl compiler is changedDavid Disseldorp2012-04-161-5/+20
| | | | | | | | | | | | | | | | In determining whether to compile a given .idl source file, build_idl.sh currently checks: a) that all build output files exist b) build output files are newer than their corresponding .idl source The .idl is rebuilt if either of the above conditions is false. This logic does not catch the case where the pidl compiler itself is changed. An IDL rebuild should occur in such a case. https://bugzilla.samba.org/show_bug.cgi?id=8865 Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Apr 16 16:29:45 CEST 2012 on sn-devel-104
* s4:libcli/smb2: fix anonymous session setups against windows serversStefan Metzmacher2012-04-162-1/+16
| | | | | | | | | | | | | Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 14:44:46 CEST 2012 on sn-devel-104
* s4:libcli/smb2: remove unused dependency to LIBPACKETStefan Metzmacher2012-04-162-2/+1
| | | | metze
* s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher2012-04-161-0/+16
| | | | | | | | | | Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze
* s3:libsmb/ntlmssp: an empty string should mean no passwordStefan Metzmacher2012-04-161-1/+1
| | | | metze
* libcli/smb: move smb2cli_session_setup_*() prototypes to the code.Stefan Metzmacher2012-04-162-15/+15
| | | | metze
* libcli/smb: add smb2cli_session_get_flags()Stefan Metzmacher2012-04-162-0/+6
| | | | metze
* libcli/smb: we should not force a session key for anonymous connectionsStefan Metzmacher2012-04-161-4/+4
| | | | | | | smb2cli_session_set_session_key() should not check for a valid session key, if the connection is a guest or null session. metze
* libcli/smb: make use of data_blob_string_const_null()Stefan Metzmacher2012-04-161-12/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 12:21:17 CEST 2012 on sn-devel-104
* s3:smbd/sesssetup: use a helper variable 'action' to mark guest accessStefan Metzmacher2012-04-161-1/+3
| | | | metze
* Add an option to have s3fs as file server for samba4Matthieu Patou2012-04-162-9/+21
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 16 09:38:18 CEST 2012 on sn-devel-104
* param: leave realm as a normal string, handle upper/lower case in handle_realmAndrew Bartlett2012-04-161-1/+1
| | | | | | This matches the behaviour of lib/param. Andrew Bartlett
* param: harmonise wins parametersAndrew Bartlett2012-04-162-11/+11
|
* lib/param: swap preferred name for 'lock dir' to match s3Andrew Bartlett2012-04-161-2/+2
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-40/+80
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* s3-param: make FN_GLOBAL macros consistent, add lp_ using the macroAndrew Bartlett2012-04-161-250/+250
| | | | | | | This will make it easier to share the parameter tables between this and lib/param. Andrew Bartlett
* param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett2012-04-165-11/+11
| | | | | | | This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett
* make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett2012-04-162-4/+2
|
* param: harmonsise logfile parameterAndrew Bartlett2012-04-162-7/+8
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-17/+34
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* s4-provision: Update configuration lines for dlz_bind9Amitay Isaacs2012-04-162-4/+7
| | | | | | | This adds configuration lines for BIND versions 9.8.x and 9.9.x. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Apr 16 03:52:14 CEST 2012 on sn-devel-104
* dlz_bind9: Build shared libraries for both BIND versions 9.8 and 9.9Amitay Isaacs2012-04-163-0/+28
| | | | | This adds #define BIND_VERSION_9_8 and keeps the current version as 9.9, so shared libraries can be built for both BIND versions.
* dlz_bind9: changes to make dlz_bind9 work with BIND 9.9.0Amitay Isaacs2012-04-162-22/+53
| | | | | | | The main changes are: DLZ_DLOPEN_VERSION changed from 1 to 2 isc_boolean_t changed from bool to int dlz_lookup() now takes 2 additional arguments
* waf: samba-specific methods should have capitalized names, change ↵Alexander Bokovoy2012-04-142-6/+6
| | | | | | | | | | | process_separate_rule to follow Changing process_separate_rule to PROCESS_SEPARATE_RULE. Thanks Thomas Nagy for review. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 08:55:43 CEST 2012 on sn-devel-104
* docs: add a vfs_tsmsm manpageMichael Adam2012-04-141-0/+135
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 14 01:54:13 CEST 2012 on sn-devel-104
* s4-auth: Make sure ldb context is initialized even if not passed by Python codeAlexander Bokovoy2012-04-141-1/+1
| | | | | Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Sat Apr 14 00:21:00 CEST 2012 on sn-devel-104
* rely on sys/inotify.h for inotifyAdrian Bunk2012-04-135-94/+11
| | | | | | | | | sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
* wafsamba: add support for separate rules in stagesAlexander Bokovoy2012-04-136-8/+43
| | | | | | | | | | | | | | | bld.process_separate_rule(rule) and conf.process_separate_rule(rule) will cause WAF to import wscript_<stage>_<rule> script into current context. Files wscript_<configure|build>_<rule> should exist in the current directory. This can be used to provide rules specific for alternative implementations of certain libraries Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri Apr 13 18:34:39 CEST 2012 on sn-devel-104
* Wrong assertion/comparison: Compare value not pointerOlaf Flebbe2012-04-131-2/+2
| | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 02:23:36 CEST 2012 on sn-devel-104
* We never cancel SMB1 aio, only SMB2 aio - and in this case we always return ↵Jeremy Allison2012-04-121-12/+7
| | | | | | a value. So pass_cancel is no longer needed.
* Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵Jeremy Allison2012-04-123-43/+18
| | | | | | | corruption as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file() with close_type ERROR_CLOSE.
* Fix return_fn when aio was cancelled. We need to return -1, errno = ECANCELED.Jeremy Allison2012-04-123-0/+15
|
* Move the counting of outstanding_aio_calls into the lifecycle of the ↵Jeremy Allison2012-04-121-6/+2
| | | | | | | | | aio_extra struct. This way we can't end up with a mismatch between outstanding events and the counter. We may still have problems with canceling and not correctly freeing the aio struct, but at least the counter won't get out of sync anymore.
* Fix the same bug reported by Kirill Malkin ↵Jeremy Allison2012-04-121-4/+24
| | | | | | | | | | | | | | | | | | | | | | <kirill.malkin@starboardstorage.com> and fixed by Volker for vfs_aio_fork as ref 0aacdbfada46329e0ad9dacfa90041a1c7dbf3e8. From that change: aio_suspend does not signal the main process with a signal, it just waits. The aio_fork module does not use the signal at all, it directly calls back into the main smbd by calling smbd_aio_complete_aio_ex. This is an abstraction violation, but the alternative would have been to use signals where they are not needed. However, in wait_for_aio_completion this bites us: With aio_fork we call handle_aio_completed twice on the same aio_ex struct: Once from the call to handle_aio_completion within the aio_fork module and once from the code in wait_for_aio_completion. Fix this differently here by not calling directly back into smbd, but using a new function aio_linux_setup_returns() to setup the return values that wait_for_aio_completion() in the main smbd will pick up by calling handle_aio_completd().
* s3: Fix a typoVolker Lendecke2012-04-121-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 12 23:38:24 CEST 2012 on sn-devel-104
* s3: Fix a segfault with debug level 3 on SolarisVolker Lendecke2012-04-121-1/+2
| | | | printf can not deal with NULL strings
* s4-libnet: split export_keytab in a separate python module to avoid pulling ↵Alexander Bokovoy2012-04-128-48/+165
| | | | | | | | | in HDB dependency Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
* WAF: Add support for stopping processing before end of wscript{_*}Alexander Bokovoy2012-04-121-0/+5
| | | | | | | | | | | | | | | | | | WAF scripts are written in Python and Python has no simple way to stop program execution other than using exceptions. This change adds WscriptCheckSkipped exception and its handling in core WAF code. When any of wscript{_*} throws WscriptCheckSkipped exception, WAF simply continues to process next wscript in queue rather than breaking build. WscriptCheckSkipped exception can be used to perform early bail out of configuration/build target checks if certain dependency is not available when the default checks are way more numerous than a check for this particular dependency. This is to avoid 'if ...' indenting for large blocks of existing code which also muddens git history for nothing. Signed-off-by: Andreas Schneider <asn@samba.org>
* clikrb5: Move pure krb wrapper functions from libads to clikrb5.Simo Sorce2012-04-124-143/+145
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* gse: Remove unnecessary header.Simo Sorce2012-04-121-1/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* srv_keytab: Pass krb5_context directly, it's all we use anyways.Simo Sorce2012-04-123-18/+14
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>