summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* vfs3: Pass "lease" through SMB_VFS_CREATE_FILEVolker Lendecke2014-08-112-0/+3
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* smbd: Remove unused blocking_lock_record* from VFS_BRL_CANCEL_WINDOWSVolker Lendecke2014-07-042-5/+3
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* smbd: Remove unused blocking_lock_record* from VFS_BRL_LOCK_WINDOWSVolker Lendecke2014-07-042-5/+3
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples/libsmbclient: avoid some compiler warningsStefan Metzmacher2014-04-023-15/+18
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* vfs: add [GET/SET]_COMPRESSION hooksDavid Disseldorp2013-11-222-0/+40
| | | | | | | | | | | | | | | The VFS interfaces are sychronous, as the operations only modify meta-data. These hooks are dependent on support for transparent compression by the underlying filesystem - vfs_default returns INVALID_DEVICE_REQUEST. Support for other filesystems providing transparent comression, such as Btrfs and ZFS, can be added in future. The get_compression function takes fsp and smb_fname arguments. The smb_fname argument is needed due to the current dosmode() code-path. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* examples: Fix scanf format in perf_writer_disk.Andreas Schneider2013-11-151-4/+4
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* Reserve an OID space for external projectsSimo Sorce2013-10-181-0/+4
| | | | | | | | | | | | | | Some external, but somewhat related projects, benefit from being able to use the Samba OID space instead of having to go through IANA. Reserve 1.3.6.1.4.1.7165.655.x for external projects And assign 1.3.6.1.4.1.7165.655.1.x to the GSS-NTLMSSP project. Signed-off-by: Simo Sorce <idra@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Fri Oct 18 05:47:29 CEST 2013 on sn-devel-104
* pam_winbind: update documentation for "DIR" krb5ccname pragma.Günther Deschner2013-07-241-1/+2
| | | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 24 02:43:10 CEST 2013 on sn-devel-104
* Remove remaining references to "password level" in the treeAndrew Bartlett2013-06-114-4/+0
| | | | | | | Reviewed-by: Simo Sorce <idra@samba.org> Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Tue Jun 11 16:25:54 CEST 2013 on sn-devel-104
* build: Remove autoconf build system from examples/VFSAndrew Bartlett2013-05-286-3977/+0
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* docs: Remove all references to testprnsAndrew Bartlett2013-05-271-8/+0
| | | | | | | | | | Based on debian patch documentation2.patch by Christian Perrier <bubulle@debian.org>. This tool no longer exists in Samba. Andrew Bartlett Reviewed-by: Kai Blin <kai@samba.org>
* examples: Remove browser and DC settings from example smb.confAndrew Bartlett2013-05-271-29/+0
| | | | | | | | | | | | These examples just encourage folks to set browing values that are not needed. The domain logons setting is already covered by the server role at the top of the file and logon script is not special enough to be in the default smb.conf. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* examples: Remove password server from example smb.confAndrew Bartlett2013-05-271-9/+1
| | | | | | | | This should discourage folks from setting it when they do not really need it. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* examples: Remove default printing form example smb.confAndrew Bartlett2013-05-271-17/+0
| | | | | | | | | These settings are all defaults, and just work for most systems. Users on other platforms can read man smb.conf, rather than cluttering up this file. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* examples: Move example smb.conf over to "server role"Andrew Bartlett2013-05-271-4/+10
| | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* swat: Remove swat.Kai Blin2013-05-181-122/+0
| | | | | | | | Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sat May 18 16:32:38 CEST 2013 on sn-devel-104
* examples/libsmbclient: Cast mode_t to unsigned int for GNU/Solaris buildAndrew Bartlett2013-03-151-2/+2
| | | | | | | Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Mar 15 20:22:08 CET 2013 on sn-devel-104
* s3: remove some dead code (for setdir command)Christian Ambach2013-03-121-1/+0
| | | | | | | | | | | set dir seems to have been a special SMB command used by Pathworks clients the supporting code for it was already removed in 2007, so just remove all remnants related to it (smb.conf parameter, documentation, ...) Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Mar 12 01:03:37 CET 2013 on sn-devel-104
* ntdb: switch between secrets.tdb and secrets.ntdb depending on 'use ntdb'Rusty Russell2013-02-201-4/+14
| | | | | | | | | | | Since we open with dbwrap, it auto-converts old tdbs (which it will rename to secrets.tdb.bak once it's done). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Wed Feb 20 07:09:19 CET 2013 on sn-devel-104
* ldap: Remove obsolete convertSambaAccount script.Andreas Schneider2013-01-231-233/+0
| | | | | | | We removed ldapsam_compat support which used sambaAccount already some time ago. See commit 02c239c6d35f47f13143c66baffbd303373b8028. Reviewed-by: Günther Deschner <gd@samba.org>
* s3-vfs: add copy_chunk vfs hooksDavid Disseldorp2013-01-162-0/+117
| | | | | | | | | | | | | | | | | | copy_chunk copies n bytes from a source file at a specific offset to a destination file at a given offset. This interface will be used in handling smb2 FSCTL_SRV_COPYCHUNK ioctl requests. Use a pread/pwrite loop in vfs_default, so that requests referring to the same src and dest file are possible. Provide send and receive hooks for copy chunk VFS interface, allowing asynchronous behaviour. Check whether the request source offset + length exceeds the current size. Return STATUS_INVALID_VIEW_SIZE under such a condition, matching Windows server behaviour. Reviewed by: Jeremy Allison <jra@samba.org>
* examples: fix build on AIX6Christian Ambach2012-11-202-0/+4
| | | | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Nov 20 16:06:59 CET 2012 on sn-devel-104
* packaging: Move smbprint to a comman location.Andreas Schneider2012-10-291-176/+0
| | | | | | | | | | | | This also removes all the duplicate smbprint scripts. This fixes bug #9301. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 29 14:08:37 CET 2012 on sn-devel-104
* examples: Re-indent and reformat skel VFS modulesAndrew Bartlett2012-10-112-348/+436
| | | | | | This avoids some of the poor style here from propogating to new VFS modules. Andrew Bartlett
* vfs: Remove type parameter from sys_acl_blob_get_{fd,file}Andrew Bartlett2012-10-112-3/+3
| | | | | | | | | This interface actually needs to match the get_nt_acl interface in that the system ACL implmenetation may not be posix ACLs, and the blob is not meant to be enforced to be of a particular system ACL structure. Andrew Bartlett
* smbd: Add mem_ctx to {f,}get_nt_acl VFS callAndrew Bartlett2012-10-112-6/+14
| | | | | | | | | | | This makes it clear which context the returned SD is allocated on, as a number of callers do not want it on talloc_tos(). As the ACL transformation allocates and then no longer needs a great deal of memory, a talloc_stackframe() call is used to contain the memory that is not returned further up the stack. Andrew Bartlett
* smbd: Add mem_ctx to sys_acl_init() and all callersAndrew Bartlett2012-10-112-6/+16
| | | | | | | | | | This changes from allocation on NULL to allocation on the supplied memory context. Currently that supplied context is talloc_tos() at the the final consumer of the ACL. Andrew Bartlett
* Remove the parameters:Jeremy Allison2012-10-041-4/+0
| | | | | | | | | security mask force security mode directory security mask force directory security mode and update the docs.
* smbd: Add extra VFS hooks to get the posix ACL as a blobAndrew Bartlett2012-09-122-0/+33
| | | | | | | | | | | This will allow us to hash this, rather than the NT ACL it maps to. This will in turn allow us to know if the NT ACL is valid even if we have to change the mapping code. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 12 07:06:01 CEST 2012 on sn-devel-104
* examples: Remove security=share and security=server from example smb.confAndrew Bartlett2012-08-281-1/+1
|
* 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
|