summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-24lib/replace: Improve mkstemp test in autoconf and wafAndrew Bartlett2-4/+34
On the Sernet-solaris8 host, this test passed in the autoconf build, then failed in the recursive waf build. This newer test should probe the behaviour more closely, by checking we get two distinct, secure files. Andrew Bartlett
2012-09-24s3:winbindd fix a compiler warningChristian Ambach1-1/+1
about type potentially being used uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Sep 24 03:49:53 CEST 2012 on sn-devel-104
2012-09-23s3:printing only do printing_subsystem_update when printing is enabledChristian Ambach1-1/+4
no point in calling this if printing was disabled and no spoolss service was started this hurts CTDB clusters as the smbds on the cluster nodes will fight for the single record in the TDB This fixes Bug 9197 - Disabling printing still makes smbd create and access printer_list.tdb
2012-09-23s4:dns_server - introduce the wildcard binding featureMatthias Dieter Wallnöfer1-10/+28
We need the wildcard binding feature otherwise we might get bound to a private interface in case of multiple interfaces and no "interfaces" parameter in smb.conf. Code taken from source4/ldap_server/ldap_server.c Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sun Sep 23 23:44:03 CEST 2012 on sn-devel-104
2012-09-23s3-pylibsmb: Add get_oplock_breakVolker Lendecke1-0/+120
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Sun Sep 23 18:01:28 CEST 2012 on sn-devel-104
2012-09-23s3-pylibsmb: Factor out py_tevent_cond_signalVolker Lendecke1-3/+9
2012-09-23s3-pylibsmb: Reduce the number of warningsVolker Lendecke1-14/+32
2012-09-23s3: Convert cli_oplock_break_waiter to smbXcliVolker Lendecke1-5/+18
2012-09-23s3: Add "readdir" to pylibsmbVolker Lendecke1-0/+72
2012-09-23s3: Fix some nonempty line endingsVolker Lendecke1-4/+4
2012-09-23s3-pylibsmb: move py_tevent_req_wait_exc up in the fileChristian Ambach1-19/+19
this is needed to be able to use it in other functions and spares the prototype Pair-Programmed-With: Volker Lendecke <vl@samba.org>
2012-09-23s3-pylibsmb: Factor out py_tevent_cond_waitVolker Lendecke1-14/+19
2012-09-23build: Remove unused define UNIXWAREAndrew Bartlett1-2/+1
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Sep 23 08:33:02 CEST 2012 on sn-devel-104
2012-09-23lib/replace: Remove unused nap and therefore the SCO defineAndrew Bartlett2-12/+1
In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett
2012-09-23build: Make waf configure match autoconf for HPUX ACLsAndrew Bartlett1-0/+1
2012-09-23build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the defaultAndrew Bartlett1-6/+13
The autoconf build simply has 512 as the default, without a warning. Rather than enumerate every OS ever made, just handle the known exceptions. Andrew Bartlett
2012-09-23lib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAMAndrew Bartlett2-288/+0
Removing this unbuilt file allows removing BROKEN_GETGRNAM which was only ever defined per-OS, not based on an actual test. Andrew Bartlett
2012-09-23build: Remove unused IRIX and IRIX6 definesAndrew Bartlett1-6/+1
2012-09-23lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett5-18/+7
The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett
2012-09-23ntdb: Try to fix the build on Solaris which does not have errAndrew Bartlett3-2/+15
2012-09-23s4:torture:smb2: add a durable-open.read-only testMichael Adam1-0/+95
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Sep 23 05:47:30 CEST 2012 on sn-devel-104
2012-09-23script/autobuild.py: remove --rebase-master and --push-master optionsStefan Metzmacher1-18/+3
You should explicitly pass the urls to --rebase= and --pushto= metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Sep 23 02:53:56 CEST 2012 on sn-devel-104
2012-09-23s3:vfs_fake_acls fix a compiler warningChristian Ambach1-1/+1
about acl being potentially uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Sun Sep 23 01:08:39 CEST 2012 on sn-devel-104
2012-09-22s3:winbindd fix a compiler warningChristian Ambach1-1/+1
about result being potentially uninitialized
2012-09-22script/autobuild.py: add --log-base optionStefan Metzmacher1-3/+6
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 22 23:21:59 CEST 2012 on sn-devel-104
2012-09-22script/autobuild.py: add log_base variable to avoid hardcoded valuesStefan Metzmacher1-11/+14
metze
2012-09-22script/autobuild.py: add --branch optionStefan Metzmacher1-5/+8
metze
2012-09-22script/autobuild.py: use some variables for push_remote and push_branchStefan Metzmacher1-4/+9
metze
2012-09-22script/autobuild.py: use some variables for rebase_remote and rebase_branchStefan Metzmacher1-27/+53
metze
2012-09-22selftest: skip the samba4.smb2.compound testsuiteMichael Adam1-0/+1
Too many tests are starting but never finish. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sat Sep 22 20:50:06 CEST 2012 on sn-devel-104
2012-09-22s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect()Michael Adam1-1/+1
Found by Ambi's state-of-the-art compiler!
2012-09-22selftest: we fail samba3.smb2.compound.interim2Michael Adam1-0/+1
We currently return NT_STATUS_CANCELLED where we should return NT_STATUS_INTERNAL_ERROR.
2012-09-22s4:torture:smb2:compound: remove two unused macrosMichael Adam1-3/+0
2012-09-22s4:torture:smb2: don't skip the compound.interim2 test for non win7/win2k8Michael Adam1-4/+0
2012-09-22s4:torture:smb2: don't skip the compound.interim1 test for non win7/win2k8Michael Adam1-4/+0
2012-09-22s3:smbd: remove struct member smbd_smb2_request.cancelled - it was only writtenMichael Adam6-8/+0
2012-09-22s3:smb2_lock: let smbd_smb2_create_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher1-14/+2
Instead of violating the tevent_req layers. metze
2012-09-22s3:smb2_lock: smbd_smb2_notify_recv() can already return NT_STATUS_CANCELEDStefan Metzmacher1-18/+0
That's why we can remove the code that violates the tevent_req layers. metze
2012-09-22s3:smb2_notify: make use of tevent_req_defer_callback() instead of custom ↵Stefan Metzmacher1-34/+1
tevent_immediate metze
2012-09-22s3:smb2_notify: don't call tevent_req_done() from smbd_smb2_notify_cancel()Stefan Metzmacher1-2/+1
smbd_notify_cancel_by_smbreq() will already trigger this via smbd_smb2_notify_reply() and smbd_smb2_notify_reply_trigger(). metze
2012-09-22s3:smb2_lock: let smbd_smb2_lock_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher1-26/+3
Instead of violating the tevent_req layers. metze
2012-09-22s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()Stefan Metzmacher1-2/+6
Because we should not call smbd_smb2_request_error() on an request that is still running. If the subreq implementes a cancel function, this should take care of triggering smbd_smb2_request_error. metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-09-22s4:torture:smb2: extend the compound.invalid1 testStefan Metzmacher1-3/+8
Test that when turning the related flag back off for the last compound request, the return code changes from invalid parameter to file closed. Pair-Programmed-With: Michael Adam <obnox@samba.org>
2012-09-22s3:smbd:smb2: simplify smbd_smb2_request_validate() and ↵Michael Adam2-51/+3
smbd_smb2_request_dispatch() removes unnneccary checks/assignments for compound_related and next_status and duplicate setting of error status. And remove (now) unused next_status from struct smbd_smb2_request. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-09-22s3:smbd:smb2: add check for session_status for compound requestsMichael Adam1-3/+3
2012-09-22s3:smb2_server: do the req->next_status check before the signing checksStefan Metzmacher1-15/+15
Windows 2012 returns NT_STATUS_INVALID_PARAMETER to the smb2.compound.invalid1 test if that uses signing (instead of NT_STATUS_ACCESS_DENIED). metze
2012-09-22s3:smb2_server: reset req->last_session_id and req->last_tid after using itStefan Metzmacher1-0/+4
If we can find a valid session or tcon we'll set it after the lookup, but it need to make sure to reset it if we don't find the session. This fixes a problem where a compound unrelated request between related requests doesn't reset the session. If we have 3 requests in a compound chain, request 3 should never use the id's cached from request 1. It should only every inherit handles from request 2. metze
2012-09-22s4:torture:smb2: fix the compound.invalid3 test to work against windowsMichael Adam1-2/+2
2012-09-22s4:torture:smb2: fix compound.related3 test to work against windowsMichael Adam1-2/+2
2012-09-22s3: Compound requests should continue processing.Ira Cooper1-3/+2
This patch addresses #9173. Signed-off-by: Michael Adam <obnox@samba.org>