summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smb2_notify: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-26/+9
| | | | metze
* s3:smb2_setinfo: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-29/+12
| | | | metze
* s3:smb2_getinfo: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-29/+12
| | | | metze
* s3:smb2_find: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-26/+9
| | | | metze
* s3:smb2_break: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-32/+13
| | | | metze
* s3:smb2_close: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-30/+15
| | | | metze
* s3:smb2_flush: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-26/+9
| | | | metze
* s3:smbd: add file_fsp_smb2()Stefan Metzmacher2012-06-092-0/+46
| | | | metze
* s3:smb2_write: pass fsp->fnum to init_strict_lock_struct()Stefan Metzmacher2012-06-091-1/+1
| | | | | | | | | | | | fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 9 18:50:32 CEST 2012 on sn-devel-104
* s3:smb2_read: pass fsp->fnum to init_strict_lock_struct()Stefan Metzmacher2012-06-091-2/+2
| | | | | | | | | fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze
* s3:smb2_lock: use fsp->fnum as locking contextStefan Metzmacher2012-06-091-1/+1
| | | | | | | | | fsp->fnum is the same as in_file_id_volatile. When we start to support durable handles we should pass in_file_id_persistent. metze
* s3:smb2_lock: use smb2req->compat_chain_fsp instead of looking it up againStefan Metzmacher2012-06-091-6/+1
| | | | metze
* s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()Stefan Metzmacher2012-06-091-0/+3
| | | | metze
* s3:smb2_close: add missing TALLOC_FREE(subreq) in smbd_smb2_request_close_done()Stefan Metzmacher2012-06-091-0/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 9 13:57:31 CEST 2012 on sn-devel-104
* s3:smbd: readd START_PROFILE(smbd_idle)/END_PROFILE(smbd_idle)Stefan Metzmacher2012-06-091-0/+15
| | | | metze
* tdb2: use ccan/err instead of err.hRusty Russell2012-06-0935-36/+11
| | | | | | | | | Solaris has no err.h, so use CCAN replacement. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Sat Jun 9 12:07:15 CEST 2012 on sn-devel-104
* ccan: make failtest use ccan/err.Rusty Russell2012-06-092-1/+2
| | | | | | As per CCAN commit 48b700953f9c856102e91596103238f5da9ea079. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: import err module.from ccan revision ↵Rusty Russell2012-06-096-2/+348
| | | | | | | | 5add556a1cb64b49a664506aa76216d885b22c97 This allows us to avoid err.h in failtest. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3:smbd: change set_file_oplock() to return NTSTATUSMichael Adam2012-06-083-7/+9
| | | | | | | | Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104
* s3: Replace an if with a boolean short circuitVolker Lendecke2012-06-081-5/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Assigning ?True:False to a bool is a bit pointlessVolker Lendecke2012-06-081-3/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Remove unnecessary ()Volker Lendecke2012-06-081-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Replace an if with a boolean short circuitVolker Lendecke2012-06-081-5/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Assigning ?True:False to a bool is a bit pointlessVolker Lendecke2012-06-081-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Remove unnecessary ()Volker Lendecke2012-06-081-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* tevent: change version to 0.9.16Stefan Metzmacher2012-06-082-1/+83
| | | | | | | | | This adds tevent_*_trace_*() and tevent_context_init_ops() metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 8 20:47:41 CEST 2012 on sn-devel-104
* tevent: expose tevent_context_init_opsStefan Metzmacher2012-06-082-3/+19
| | | | | | | | This can be used to implement wrapper backends, while passing a private pointer to the backens init function via ev->additional_data. metze
* lib/tevent: Add trace point callbackMartin Schwenke2012-06-088-0/+82
| | | | | | | | | | | | Set/get a single callback function to be invoked at various trace points. Define "before wait" and "after wait" trace points - more trace points can be added later if required. CTDB wants this to log long waits and events. Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/tevent: In poll_event_context, add a pointer back to the tevent_contextMartin Schwenke2012-06-081-0/+4
| | | | | | | This makes it consistent with the other backends. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: remove unnecessary variable readret from read_file()Michael Adam2012-06-081-7/+3
| | | | | | | Pair-Programmed-With: Volker Lendecke <vl@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 18:08:09 CEST 2012 on sn-devel-104
* s3:smbd: remove ancient DMF_FIX from read_file().Michael Adam2012-06-081-15/+0
| | | | Pair-Programmed-With: Volker Lendecke <vl@samba.org>
* build: do not run fsrvp tests as part of selftestDavid Disseldorp2012-06-081-0/+1
| | | | | Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Jun 8 15:24:45 CEST 2012 on sn-devel-104
* s4-torture: fsrvp test suiteDavid Disseldorp2012-06-083-2/+574
| | | | Covers most operations defined by the File Server Remote VSS Protocol.
* doc: add FSRVP commands to rpcclient man pageDavid Disseldorp2012-06-081-0/+45
|
* s3-rpcclient: add fsrvp commandsDavid Disseldorp2012-06-085-3/+670
| | | | | | | | | | | | | | | | | | | | | | | | | fss_create_expose connects to an FSRVP server and negotiates the creation and exposure of a share shadow-copy. shadow-copies of multiple shares can be requested with a single fss_create_expose request. ddiss@plati:~> bin/rpcclient -k -U 'LURCH\administrator%password' \ ncacn_np:lutze[sign] rpcclient $> fss_create_expose backup ro hyper 381884f2-b578-45ea-b8d2-cf82491f4011: shadow-copy set created ... share hyper@{B6137E21-9CBB-4547-A21D-E7AD40D0874B} exposed as a snapshot of \\lutze\hyper fss_delete removes the shadow-copy share: rpcclient $> fss_delete hyper 381884f2-b578-45ea-b8d2-cf82491f4011 \ b6137e21-9cbb-4547-a21d-e7ad40d0874 Shadow-copies can be created read-write or read-only. Experimenting with Windows Server "8" beta, a recovery complete call is required after creating a read-write (ATTR_AUTO_RECOVERY) shadow copy. Otherwise subsequent creation requests fail with FSRVP_E_SHADOW_COPY_SET_IN_PROGRESS.
* idl: add File Server Remote VSS Protocol idlDavid Disseldorp2012-06-083-3/+126
| | | | | MS-FSRVP preview documents used as reference. H_ERROR codes should be moved to a more generic file.
* samba_util: mark smb_panic as _NORETURN_.Rusty Russell2012-06-081-1/+1
| | | | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Fri Jun 8 09:14:26 CEST 2012 on sn-devel-104
* s3-winbindd: call dump_core_setup after command line option has been parsedMatthieu Patou2012-06-081-0/+2
| | | | | | | | | | | | | | | | | | Without this fix in some situations winbindd can't coredump. Such cases append when samba is compiled in a custom prefix (ie. /home/build/mat/prod/1/) in this case get_dyn_LOGFILEBASE or basename(lp_logfile) before the configuration file and the command line is parsed will be something like /home/build/mat/prod/1/var which might not exists on the host where you run it (where it's most probably more "normal" directories). Specifying --log-basename didn't help as dump_core_setup is called before the command line and the config file is read so it didn't help getting a correct value in dump_core_setup. We fix this issue by calling dump_core_setup() also after the command line has been read and also after the configfile has been parsed so that the final location for the coredump is coherent with the final logile location. Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Fri Jun 8 06:33:33 CEST 2012 on sn-devel-104
* s3-waf: Fix the winbindd active directory idmap support build.Ira Cooper2012-06-081-1/+1
| | | | | | | This fixes the SAMBA3_MODULE for idmap_ad so it will actually attempt to build. Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Fri Jun 8 04:38:04 CEST 2012 on sn-devel-104
* build: try to fix large file support for AIXBjörn Jacke2012-06-081-0/+8
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Jun 8 00:37:00 CEST 2012 on sn-devel-104
* ccan: Only build ccan-failtest when we are in developer modeAndrew Bartlett2012-06-072-32/+50
| | | | | | | | | | | | | | | From: Andrew Bartlett <abartlet@samba.org> This code is incredibly useful, but is only needed in test code and may not be perfectly portable. It has compiled on all systems bar Solaris so far, but rather than make it a requirement to build Samba, just keep it for development. Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 7 18:53:12 CEST 2012 on sn-devel-104
* lib/tdb2: build tests when built at toplevel.Rusty Russell2012-06-071-23/+94
| | | | | | | | | They weren't being built when we were at top-level, because the globs were wrong. Just open-code the test names, which always works. Reported-by: Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* waf: fix parsing krb5-config --version for MIT krb5Alexander Bokovoy2012-06-071-2/+8
| | | | | | | | | krb5-config --version may return a string that ends with a suffix after version number (1.X-prerelease or 1.X-beta1, for example). Detect and ignore the suffix. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Thu Jun 7 17:03:01 CEST 2012 on sn-devel-104
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-074-6/+6
| | | | | | --without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
* build: fix typo that breaks the HP-UX buildBjörn Jacke2012-06-071-1/+1
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 12:49:17 CEST 2012 on sn-devel-104
* build: Tidy up broken posix_fallocate testsAndrew Bartlett2012-06-072-3/+3
| | | | | | | | | This makes the code and output for in waf and autoconf identical. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 7 08:35:33 CEST 2012 on sn-devel-104
* s4-libcli: Remove unused finddcs_nbtAndrew Bartlett2012-06-072-314/+3
| | | | | | | | | | | | | This would only do the NBT getdc lookup for a single DC (but would find multiple DCs at first stage), but more particular it of course uses Netbios rather than DNS names. In any case it was also unused, as we use CLDAP for reliable DC location these days. Found by callcatcher Andrew Bartlett
* build: Add missing deps and make MESSAGING a private libraryAndrew Bartlett2012-06-076-9/+10
| | | | | | | | | To remove finddcs_nbt these missing deps need to be added. These subsystems linked to to implicit dependencies provided by finddcs. Due to the new arrangmenet of subsystems, MESSAGING needs to be a private library to avoid being a source of duplicate symbols. Andrew Bartlett
* util: fix build on platforms without IPv6 supportBjörn Jacke2012-06-071-1/+1
| | | | | | | something like this on World IPv6 Day II ... ;-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 03:09:49 CEST 2012 on sn-devel-104
* s3: enable winbind also for upcoming FreeBSD/NetBSD releases >=10Björn Jacke2012-06-071-2/+2
|