summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* s3-smbd: Remove sys_acl_*() VFS wrapper functionsAndrew Bartlett2012-08-152-221/+0
| | | | | | | | | | | | | | | | | | | | | | | We no longer do struct smb_acl_t manipuations via the VFS layer, which is now reduced to handling the get/set functions. The only backend that implemented these functions (aside from audit) was the vfs_default module calling the sys_acl code. The various ACL implementation modules either worked on the fully initilaised smb_acl_t object or on NT ACLs. This not only makes the operation of the posix ACL code more efficient (as allocation and free is not put via the VFS), it makes it easier to test and removes the fantasy that a module could safely redefine this structure or the behaviour here. The smb_acls.idl now defines the structure, and it is now allocated with talloc. These operations were originally added to the VFS in commit 3bb219161a270f12c27c3bc7e1220829c6e9f284. Andrew Bartlett
* media_harmony VFS module: Add and build by default.Andrew Klaassen2012-08-071-0/+103
| | | | | | | | | | | | | - Supersedes previous patch. - Added various fixes for fake mtime functionality. - Now requires lp_cache_locked_write_times patch (bug 8912). - Removed various xattr functions to comply with recent VFS changes. - Changed SMB_STRUCT_DIR to DIR and SMB_STRUCT_DIRENT to struct dirent to comply with recent VFS changes. - Added manpage. - Added sample trigger_avid_update.py script. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Aug 7 15:16:39 CEST 2012 on sn-devel-104
* Make it possible to build under Solaris make as well as FreeBSD and Linux. ↵Richard Sharpe2012-07-311-4/+17
| | | | Also add comments on changes that might be needed
* s3-vfs: async fsyncVolker Lendecke2012-07-182-0/+69
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-aio: Remove unused VFS functions and moreVolker Lendecke2012-07-182-91/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-vfs: Add pwrite_send/recv to vfs modulesVolker Lendecke2012-07-182-0/+74
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-vfs: Add pread_send/recv to vfs modulesVolker Lendecke2012-07-182-0/+73
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* doc: Remove all references to 'printer admin' option.Andreas Schneider2012-07-031-5/+5
|
* s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider2012-07-031-1/+0
|
* s4-bind: Remove patches now incorporated into bind9Andrew Bartlett2012-07-036-256/+0
| | | | | | | These patches are in bind9 now, and we do not recomment using them any more as the improved version in bind 9.8 is much less prone to failure. Andrew Bartlett
* examples/VFS: don't use smbd/proto.hStefan Metzmacher2012-06-063-3/+0
| | | | metze
* build: Move generated files out of the normal build treeAndrew Bartlett2012-05-181-0/+1
| | | | | | This avoids some dual-build-system interactions. Andrew Bartlett
* s3/ldap: remove outdated netscape ds 5 schema fileBjörn Jacke2012-04-192-79/+2
| | | | | | | | remove outdated netscape ds 5 schema file and put a README there pointing to the FDS schema file instead. This fixes bug #8869 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Apr 19 15:54:56 CEST 2012 on sn-devel-104
* Improve the VFS Makefile so that it is easier for use out of tree but still ↵Richard Sharpe2012-04-161-13/+9
| | | | | | | works with FreeBSD. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Apr 16 19:51:14 CEST 2012 on sn-devel-104
* docs: remove whitespace in example samba.ldif (fix bug #8789)Björn Baumbach2012-04-061-1/+1
|
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-062-20/+20
| | | | | | | | | Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-052-13/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-052-13/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-052-13/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-052-15/+0
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-052-16/+16
|
* build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2012-04-052-2/+2
|
* vfs: Remove -D_LARGEFILE64_SOURCE from vfs examples MakefileAndrew Bartlett2012-04-051-1/+1
|
* s3: Pass filters explicitly through vfs notify watchVolker Lendecke2012-03-262-3/+8
| | | | | | | | | This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
* Improve the Makefile. Use a standard make macro, not a shell command.Richard Sharpe2012-03-241-1/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 07:09:44 CET 2012 on sn-devel-104
* Make it possible for developers of out-of-tree modules to use the same names ↵Richard Sharpe2012-03-241-1/+1
| | | | | | | as in-tree modules. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Sat Mar 24 03:18:38 CET 2012 on sn-devel-104
* s3: Pass "path" through vfs_notify_watchVolker Lendecke2012-03-211-6/+10
|
* examples: Make examples/VFS/Makefile.in FreeBSD-friendlyVolker Lendecke2012-03-031-6/+14
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 3 00:53:43 CET 2012 on sn-devel-104
* 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