summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2012-03-21s3: Pass "path" through vfs_notify_watchVolker Lendecke1-6/+10
2012-03-03examples: Make examples/VFS/Makefile.in FreeBSD-friendlyVolker Lendecke1-6/+14
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
2012-02-22examples/testsmbc.c - substitute deprecated function "bzero" with "memset"Matthias Dieter Wallnöfer1-1/+1
Here we do not make any use of libreplace and hence it would be overkill to include the right headers for Solaris. This fixes bug: https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - quiet implicit cast warnings on OpenSolarisMatthias Dieter Wallnöfer1-2/+2
https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - remove unused function "print_list_fn"Matthias Dieter Wallnöfer1-16/+0
It does not get referenced from anywhere. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - remove unused variablesMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-09smbwrapper: Remove smbwrapperAndrew Bartlett17-4522/+0
There are now many better ways to access a remote SMB filesystem, which do not rely on LD_PRELOAD and the associated dangers. FUSE, gvfs and the CIFS VFS are all much better options which do not require knowing every possible libc entry point that can deal with a file descriptor. As an example of the maintainence that would be required to keep this going, recent changes to deal with thread races and close-on-exec have resulted in dup3(), but this isn't currently mapped. While this would not be hard to add, it illistrates why it is better to move to an interface designed for this task. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 9 01:58:24 CET 2012 on sn-devel-104
2012-02-09s3-build: remove EXEEXT from MakefilesAndrew Bartlett1-3/+0
As far as I am aware, we do not actually build on any platforms that require this. The last Stratos VOS release on ftp://ftp.stratus.com/vos/samba/samba.html was 3.0.5 Andrew Bartlett
2012-01-27build: Add missing dependencies on poptAmitay Isaacs1-1/+1
This fixes compilation issues on freebsd where system popt is installed under /usr/local. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Jan 27 08:33:52 CET 2012 on sn-devel-104
2012-01-04s3-perfcount: fix build for example perfcount daemonDavid Disseldorp1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2012-01-01examples: malloc is declared in <stdlib.h>Volker Lendecke1-1/+0
2011-12-13s3: Fix examples/VFS buildVolker Lendecke3-3/+3
With other builds in the include path, examples get the includes.h wrong Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 13 23:40:37 CET 2011 on sn-devel-104
2011-12-12vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe3-229/+229
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-11-17Improve configure.in so it can be used outside the Samba source tree.Richard Sharpe1-2/+3
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Nov 17 07:00:38 CET 2011 on sn-devel-104
2011-11-14s3-modules: remove the last "init_module" traces.Günther Deschner2-4/+7
Guenther
2011-10-28examples: rework wscript to use a loopAndrew Bartlett1-84/+23
I think this format is more compact and easier to understand. Andrew Bartlett
2011-10-20examples: compile libsmbclient tests using just SAMBA_BINARYAndrew Bartlett1-17/+17
This ensures that these compile without the extra includes that SAMBA3_BINARY adds. Andrew Bartlett
2011-10-20Fix a boatload of warnings in the examples.Jeremy Allison15-163/+48
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
2011-10-19s3-waf: make sure we always compile (not install) our libsmbclient testcode.Günther Deschner2-0/+87
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
2011-10-17s3-waf: make sure we always build example pdb modules with --enable-developer.Günther Deschner1-0/+10
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104
2011-10-17s3-passdb: fix the build of example pdb test module.Günther Deschner1-32/+1
Guenther
2011-10-17s3-waf: make sure we always build example auth modules with --enable-developer.Günther Deschner1-0/+9
Guenther
2011-10-17s3-auth: fix the build of skel auth example module.Günther Deschner1-5/+20
Guenther
2011-10-11s3-waf: make sure we build example vfs modules with --enable-developer.Günther Deschner1-0/+25
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
2011-10-11Fix the VFS for fsctl.Jeremy Allison2-0/+39
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
2011-10-08examples/VFS: add skel_get_dfs_referrals()Stefan Metzmacher2-0/+14
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 11:29:18 CEST 2011 on sn-devel-104
2011-10-08examples/VFS: fix names in skel_opaque.cStefan Metzmacher1-3/+3
metze
2011-10-08examples/VFS: fix a typo in the READMEMichael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
2011-08-31s3-ldap: Add Posix offset and encryption types to LDAP schemaSumit Bose7-6/+43
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31s3-ldap: Add sambaTrustForestTrustInfo to NDS LDAP schema (again)Sumit Bose1-1/+50
The related attributes and objectclass were accidentally remove by commit d4c30a5ffbeab75506bf1ad5d8d5da48e3f4d41c Signed-off-by: Günther Deschner <gd@samba.org>
2011-07-06examples/VFS: try to fix the build on openbsd, adding alternative spellings ↵Michael Adam1-2/+3
of autoconf/header The host "samba-amd64" on the build farm running openbsd 4.8 broke. Taking over the additional spellings of autoconf and autoheader from the source3/autogen.sh script should fix it.
2011-06-30examples/VFS: add include path for s3's autoconf config.hMichael Adam1-0/+1
2011-06-30examples/VFS: fix skel_transparent.c in reference to shadow_copy changesBjörn Baumbach1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30examples/VFS: fix skel_opaque.c in reference to shadow_copy changesBjörn Baumbach1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-30examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changesBjörn Baumbach1-3/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2011-06-22Update eDirectory schemaJim McDonough1-49/+20
Autobuild-User: Jim McDonough <jmcd@samba.org> Autobuild-Date: Wed Jun 22 14:48:09 CEST 2011 on sn-devel-104
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-01Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2-3/+3
returns malloc'ed memory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104
2011-05-17Fix typos in LDAP schema filesSumit Bose5-6/+6
Reported by: John Danks <john.danks@gmail.com> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 17 11:56:08 CEST 2011 on sn-devel-104
2011-04-21s3-vfs: rename open function to open_fn.Günther Deschner2-2/+2
This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
2011-03-07Fix the examples/VFS build.Jeremy Allison2-7/+7
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 15:11:25 CET 2011 on sn-devel-104
2011-03-07Fix examples/VFS to use correct prototypes for is_offline() and set_offline().Jeremy Allison2-6/+6
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 13:39:17 CET 2011 on sn-devel-104
2011-03-01Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay"Björn Jacke1-0/+43
This reverts commit 90b0f86d81d4c68bf326c3e7c2247d9dabd75058. this isn't that outdated at all. Got confused by the splitted oc/at files Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Mar 1 23:43:51 CET 2011 on sn-devel-104
2011-03-01examples/LDAP: remove overoutdated samba-schema.IBMSecureWayBjörn Jacke1-43/+0
2011-03-01examples/LDAP: delete unmaintained samba-schema-netscapeds4.xBjörn Jacke1-112/+0
2011-02-16s3-ldap: Add sambaTrustForestTrustInfo to LDAP schemataSumit Bose7-6/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ldap: Update LDAP schemata to include sambaTrustedDomain.Sumit Bose7-1/+169
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-09Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2-0/+12
open by NtCreateX. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
2010-12-30examples:createdombj: default prefix to target-type, not "group"Michael Adam1-1/+3
It can be irritating to create users named group00001, group00002, ... :-) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Dec 30 17:22:57 CET 2010 on sn-devel-104
2010-12-18Rename vfs operation posix_fallocate to just fallocate and add the ↵Jeremy Allison2-5/+7
vfs_fallocate_mode parameter. It turns out we need the fallocate operations to be able to both allocate and extend filesize, and to allocate and not extend filesize, and posix_fallocate can only do the former. So by defining the vfs op as posix_fallocate we lose the opportunity to use any underlying syscalls (like Linux fallocate) that can do the latter as well. We don't currently use the non-extending filesize call, but now I've changed the vfs op definition we can in the future. For the moment simply map the fallocate op onto posix_fallocate for the VFS_FALLOCATE_EXTEND_SIZE case and return ENOSYS for the VFS_FALLOCATE_KEEP_SIZE case. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 18 08:59:27 CET 2010 on sn-devel-104