summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:printing only do printing_subsystem_update when printing is enabledChristian Ambach2012-09-231-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
* s4:dns_server - introduce the wildcard binding featureMatthias Dieter Wallnöfer2012-09-231-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
* s3-pylibsmb: Add get_oplock_breakVolker Lendecke2012-09-231-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
* s3-pylibsmb: Factor out py_tevent_cond_signalVolker Lendecke2012-09-231-3/+9
|
* s3-pylibsmb: Reduce the number of warningsVolker Lendecke2012-09-231-14/+32
|
* s3: Convert cli_oplock_break_waiter to smbXcliVolker Lendecke2012-09-231-5/+18
|
* s3: Add "readdir" to pylibsmbVolker Lendecke2012-09-231-0/+72
|
* s3: Fix some nonempty line endingsVolker Lendecke2012-09-231-4/+4
|
* s3-pylibsmb: move py_tevent_req_wait_exc up in the fileChristian Ambach2012-09-231-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>
* s3-pylibsmb: Factor out py_tevent_cond_waitVolker Lendecke2012-09-231-14/+19
|
* build: Remove unused define UNIXWAREAndrew Bartlett2012-09-231-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
* lib/replace: Remove unused nap and therefore the SCO defineAndrew Bartlett2012-09-232-12/+1
| | | | | | In any case, the Samba Team stopped supporting SCO systems a long time ago. Andrew Bartlett
* build: Make waf configure match autoconf for HPUX ACLsAndrew Bartlett2012-09-231-0/+1
|
* build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 512 as the defaultAndrew Bartlett2012-09-231-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
* lib/util: Remove unbuilt file util_getent.c and BROKEN_GETGRNAMAndrew Bartlett2012-09-232-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
* build: Remove unused IRIX and IRIX6 definesAndrew Bartlett2012-09-231-6/+1
|
* lib/replace: Try to fix build on HP-UX for os2_delete testAndrew Bartlett2012-09-235-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
* ntdb: Try to fix the build on Solaris which does not have errAndrew Bartlett2012-09-233-2/+15
|
* s4:torture:smb2: add a durable-open.read-only testMichael Adam2012-09-231-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
* script/autobuild.py: remove --rebase-master and --push-master optionsStefan Metzmacher2012-09-231-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
* s3:vfs_fake_acls fix a compiler warningChristian Ambach2012-09-231-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
* s3:winbindd fix a compiler warningChristian Ambach2012-09-221-1/+1
| | | | about result being potentially uninitialized
* script/autobuild.py: add --log-base optionStefan Metzmacher2012-09-221-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
* script/autobuild.py: add log_base variable to avoid hardcoded valuesStefan Metzmacher2012-09-221-11/+14
| | | | metze
* script/autobuild.py: add --branch optionStefan Metzmacher2012-09-221-5/+8
| | | | metze
* script/autobuild.py: use some variables for push_remote and push_branchStefan Metzmacher2012-09-221-4/+9
| | | | metze
* script/autobuild.py: use some variables for rebase_remote and rebase_branchStefan Metzmacher2012-09-221-27/+53
| | | | metze
* selftest: skip the samba4.smb2.compound testsuiteMichael Adam2012-09-221-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
* s3:smbd:smb2: initialize variable in vfs_default_durable_reconnect()Michael Adam2012-09-221-1/+1
| | | | Found by Ambi's state-of-the-art compiler!
* selftest: we fail samba3.smb2.compound.interim2Michael Adam2012-09-221-0/+1
| | | | | We currently return NT_STATUS_CANCELLED where we should return NT_STATUS_INTERNAL_ERROR.
* s4:torture:smb2:compound: remove two unused macrosMichael Adam2012-09-221-3/+0
|
* s4:torture:smb2: don't skip the compound.interim2 test for non win7/win2k8Michael Adam2012-09-221-4/+0
|
* s4:torture:smb2: don't skip the compound.interim1 test for non win7/win2k8Michael Adam2012-09-221-4/+0
|
* s3:smbd: remove struct member smbd_smb2_request.cancelled - it was only writtenMichael Adam2012-09-226-8/+0
|
* s3:smb2_lock: let smbd_smb2_create_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-14/+2
| | | | | | Instead of violating the tevent_req layers. metze
* s3:smb2_lock: smbd_smb2_notify_recv() can already return NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-18/+0
| | | | | | That's why we can remove the code that violates the tevent_req layers. metze
* s3:smb2_notify: make use of tevent_req_defer_callback() instead of custom ↵Stefan Metzmacher2012-09-221-34/+1
| | | | | | tevent_immediate metze
* s3:smb2_notify: don't call tevent_req_done() from smbd_smb2_notify_cancel()Stefan Metzmacher2012-09-221-2/+1
| | | | | | | smbd_notify_cancel_by_smbreq() will already trigger this via smbd_smb2_notify_reply() and smbd_smb2_notify_reply_trigger(). metze
* s3:smb2_lock: let smbd_smb2_lock_cancel() trigger NT_STATUS_CANCELEDStefan Metzmacher2012-09-221-26/+3
| | | | | | Instead of violating the tevent_req layers. metze
* s3:smb2_server: avoid segfault in smbd_smb2_request_pending_queue()Stefan Metzmacher2012-09-221-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>
* s4:torture:smb2: extend the compound.invalid1 testStefan Metzmacher2012-09-221-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>
* s3:smbd:smb2: simplify smbd_smb2_request_validate() and ↵Michael Adam2012-09-222-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>
* s3:smbd:smb2: add check for session_status for compound requestsMichael Adam2012-09-221-3/+3
|
* s3:smb2_server: do the req->next_status check before the signing checksStefan Metzmacher2012-09-221-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
* s3:smb2_server: reset req->last_session_id and req->last_tid after using itStefan Metzmacher2012-09-221-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
* s4:torture:smb2: fix the compound.invalid3 test to work against windowsMichael Adam2012-09-221-2/+2
|
* s4:torture:smb2: fix compound.related3 test to work against windowsMichael Adam2012-09-221-2/+2
|
* s3: Compound requests should continue processing.Ira Cooper2012-09-221-3/+2
| | | | | | This patch addresses #9173. Signed-off-by: Michael Adam <obnox@samba.org>
* build: Fix enabled handling for HAVE_LDAP, we need to use bld.CONFIG_SETAndrew Bartlett2012-09-223-9/+9
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 22 09:09:17 CEST 2012 on sn-devel-104
* build: Try not build with LDAP if we do not have ldap.hAndrew Bartlett2012-09-221-1/+1
|