summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples/testsmbc.c - substitute deprecated function "bzero" with "memset"Matthias Dieter Wallnöfer2012-02-221-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>
* examples/testsmbc.c - quiet implicit cast warnings on OpenSolarisMatthias Dieter Wallnöfer2012-02-221-2/+2
| | | | | | https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
* examples/testsmbc.c - remove unused function "print_list_fn"Matthias Dieter Wallnöfer2012-02-221-16/+0
| | | | | | It does not get referenced from anywhere. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* examples/testsmbc.c - remove unused variablesMatthias Dieter Wallnöfer2012-02-221-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* smbwrapper: Remove smbwrapperAndrew Bartlett2012-02-0917-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
* s3-build: remove EXEEXT from MakefilesAndrew Bartlett2012-02-091-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
* build: Add missing dependencies on poptAmitay Isaacs2012-01-271-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
* s3-perfcount: fix build for example perfcount daemonDavid Disseldorp2012-01-041-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* examples: malloc is declared in <stdlib.h>Volker Lendecke2012-01-011-1/+0
|
* s3: Fix examples/VFS buildVolker Lendecke2011-12-133-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
* vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe2011-12-123-229/+229
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
* Improve configure.in so it can be used outside the Samba source tree.Richard Sharpe2011-11-171-2/+3
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Nov 17 07:00:38 CET 2011 on sn-devel-104
* s3-modules: remove the last "init_module" traces.Günther Deschner2011-11-142-4/+7
| | | | Guenther
* examples: rework wscript to use a loopAndrew Bartlett2011-10-281-84/+23
| | | | | | I think this format is more compact and easier to understand. Andrew Bartlett
* examples: compile libsmbclient tests using just SAMBA_BINARYAndrew Bartlett2011-10-201-17/+17
| | | | | | This ensures that these compile without the extra includes that SAMBA3_BINARY adds. Andrew Bartlett
* Fix a boatload of warnings in the examples.Jeremy Allison2011-10-2015-163/+48
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
* s3-waf: make sure we always compile (not install) our libsmbclient testcode.Günther Deschner2011-10-192-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
* s3-waf: make sure we always build example pdb modules with --enable-developer.Günther Deschner2011-10-171-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
* s3-passdb: fix the build of example pdb test module.Günther Deschner2011-10-171-32/+1
| | | | Guenther
* s3-waf: make sure we always build example auth modules with --enable-developer.Günther Deschner2011-10-171-0/+9
| | | | Guenther
* s3-auth: fix the build of skel auth example module.Günther Deschner2011-10-171-5/+20
| | | | Guenther
* s3-waf: make sure we build example vfs modules with --enable-developer.Günther Deschner2011-10-111-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
* Fix the VFS for fsctl.Jeremy Allison2011-10-112-0/+39
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
* examples/VFS: add skel_get_dfs_referrals()Stefan Metzmacher2011-10-082-0/+14
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 11:29:18 CEST 2011 on sn-devel-104
* examples/VFS: fix names in skel_opaque.cStefan Metzmacher2011-10-081-3/+3
| | | | metze
* examples/VFS: fix a typo in the READMEMichael Adam2011-10-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
* s3-ldap: Add Posix offset and encryption types to LDAP schemaSumit Bose2011-08-317-6/+43
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ldap: Add sambaTrustForestTrustInfo to NDS LDAP schema (again)Sumit Bose2011-08-311-1/+50
| | | | | | | The related attributes and objectclass were accidentally remove by commit d4c30a5ffbeab75506bf1ad5d8d5da48e3f4d41c Signed-off-by: Günther Deschner <gd@samba.org>
* examples/VFS: try to fix the build on openbsd, adding alternative spellings ↵Michael Adam2011-07-061-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.
* examples/VFS: add include path for s3's autoconf config.hMichael Adam2011-06-301-0/+1
|
* examples/VFS: fix skel_transparent.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* examples/VFS: fix skel_opaque.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changesBjörn Baumbach2011-06-301-3/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Update eDirectory schemaJim McDonough2011-06-221-49/+20
| | | | | Autobuild-User: Jim McDonough <jmcd@samba.org> Autobuild-Date: Wed Jun 22 14:48:09 CEST 2011 on sn-devel-104
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-012-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
* Fix typos in LDAP schema filesSumit Bose2011-05-175-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
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-212-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
* Fix the examples/VFS build.Jeremy Allison2011-03-072-7/+7
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 15:11:25 CET 2011 on sn-devel-104
* Fix examples/VFS to use correct prototypes for is_offline() and set_offline().Jeremy Allison2011-03-072-6/+6
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 7 13:39:17 CET 2011 on sn-devel-104
* Revert "examples/LDAP: remove overoutdated samba-schema.IBMSecureWay"Björn Jacke2011-03-011-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
* examples/LDAP: remove overoutdated samba-schema.IBMSecureWayBjörn Jacke2011-03-011-43/+0
|
* examples/LDAP: delete unmaintained samba-schema-netscapeds4.xBjörn Jacke2011-03-011-112/+0
|
* s3-ldap: Add sambaTrustForestTrustInfo to LDAP schemataSumit Bose2011-02-167-6/+25
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ldap: Update LDAP schemata to include sambaTrustedDomain.Sumit Bose2011-02-167-1/+169
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Add fdopendir to the VFS. We will use this to reuse a directory fd already ↵Jeremy Allison2011-02-092-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
* examples:createdombj: default prefix to target-type, not "group"Michael Adam2010-12-301-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
* Rename vfs operation posix_fallocate to just fallocate and add the ↵Jeremy Allison2010-12-182-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
* Move posix_fallocate into the VFS where it belongs.Jeremy Allison2010-12-022-0/+16
| | | | Jeremy.
* smbprinting: fix wrong == in shell testsBjörn Jacke2010-12-021-2/+2
|