summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison2010-11-202-3/+3
| | | | | | | | | | | | | module, change the signature of VFS_REALPATH to always return a malloc'ed string. Needed to make some privileges work I plan on doing shortly easier to code. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
* s3-libsmbclient-examples Add tests for debug behaviour.Andrew Bartlett2010-11-021-1/+16
|
* doc: patched bind9 is no longer neededAndrew Tridgell2010-09-021-0/+6
| | | | | bind9.7.2rc1 contains all the patches needed to work with Samba4 krb5 DNS updates with w2k8r2.
* s3-ldapsam: add samba.ldif LDAP schema.Günther Deschner2010-08-191-0/+185
| | | | | | | | This one is suiteable for cn=config setups and should be added via ldapadd. Thanks to Sumit Bose <sbose@redhat.com> for providing it. Guenther
* s3-auth: Remove obsolete 'update encrypted' option.Andreas Schneider2010-08-161-1/+0
|
* s3-perfcount: make it possible to compile the example perfcount daemon.Günther Deschner2010-07-161-0/+15
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-1/+1
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* examples: Fix typo in comment.Karolin Seeger2010-04-131-1/+1
| | | | Karolin
* Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison2010-03-052-0/+3
| | | | | | | | | | Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy.
* examples: add bind9 patches for TSIG-GSS supportAndrew Tridgell2010-02-176-0/+250
| | | | We will point at these from the Samba4 HOWTO
* update samba schema for IBM Directory ServerChristian Ambach2010-02-031-2/+2
| | | | | | | this increases the sambapasswordhistory field length to 64 and fixes a warning about a wrong booleanmatch setting Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* examples: Fix the build of the example VFS modules.Karolin Seeger2009-12-072-10/+13
| | | | Karolin
* adssearch: dump some more nttime timestamps.Günther Deschner2009-10-281-0/+2
| | | | Guenther
* AD-Bench: A first go at an Active Directory benchmark.Kai Blin2009-10-0710-0/+803
|
* s3: add perfcount idl and generated files.Günther Deschner2009-10-012-5/+5
| | | | Guenther
* Fix the opaque sample module for the new VFS interface.Jeremy Allison2009-09-251-216/+389
| | | | Jeremy.
* Update the advice for the new VFS system.Jeremy Allison2009-09-251-4/+3
| | | | Jeremy.
* Remove unused static fn.Jeremy Allison2009-09-251-5/+0
| | | | Jeremy.
* Rewrite vfs_transparent example for the new VFS changes.Jeremy Allison2009-09-251-131/+291
| | | | Jeremy.
* Fix vfs module sample for new interface.Jeremy Allison2009-09-251-6/+5
| | | | Jeremy.
* examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema.Michael Adam2009-09-142-6/+0
| | | | Michael
* s3:examples:ldap: allow substing search on more attributes in nds schema fileBjörn Jacke2009-09-091-2/+2
|
* s3:examples:ldap: fix some OIDs in various schema filesBjörn Jacke2009-09-094-13/+13
|
* s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner2009-08-061-1/+6
| | | | | | Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther
* VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2009-07-182-75/+282
|
* s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.Günther Deschner2009-07-161-0/+8
| | | | Guenther
* s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2009-07-062-4/+8
|
* s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2009-07-062-4/+6
|
* s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2009-07-062-4/+8
|
* s3-examples: make get_next_oid exectuable.Günther Deschner2009-06-251-0/+0
| | | | Guenther
* s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty2009-06-242-8/+8
| | | | | | | | | | | | | This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed.
* added some basic documentation for the idmap script optionAndrew Tridgell2009-06-191-0/+168
|
* added a sample script for the "idmap script" optionAndrew Tridgell2009-06-191-0/+119
|
* s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2009-06-181-5/+9
| | | | | | | | This corrects the issues reaised in bug #6129, and some others that were not originally identified. It also accounts for some code that was in the original bug report but appears to have since been made common between S3 and S4. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
* s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2009-06-172-4/+6
| | | | | | | | | | | | This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling.
* examples:s2→s3-ldif-convert-script: fix objectclass recognitionBjörn Jacke2009-06-121-2/+2
| | | | | | objectclasses are case insensitive. we used to convert only LDAP objects with the typical UpperLower case for sambaAccount and sambaGroupMapping and ignored any other case writings
* s3-examples: fix usage for eventlog example script.Günther Deschner2009-06-081-1/+1
| | | | Guenther
* s3-examples: make sure to match correct key name in adssearch.Günther Deschner2009-04-151-1/+1
| | | | Guenther
* s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner2009-04-061-1/+1
| | | | | | Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther
* Ensure parameter types match format stringDerrell Lipman2009-03-274-18/+38
|
* s3:example/VFS: fix the buildStefan Metzmacher2009-02-242-4/+8
| | | | metze
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-192-3/+3
| | | | | Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-142-2/+4
| | | | | | | - Revert Tim's changes for the moment. I need to see what the issue is and arrange to use "struct statvfs" if at all possible. Derrell
* s3 libsmbclient: Fix fstatvfs to be more portableTim Prouty2009-02-132-4/+2
| | | | | | | | | | | The statvfs struct isn't guaranteed to be portable across operating systems. Since libsmbclient isn't actually calling statvfs and just using the statvfs struct to store similar information, this patch adds a new portable smbc_statvfs struct. This fixes a few of the failures in the build farm introduced by: ae259575c447e61665c8e7070c476914161b953f Derrell, please check.
* [Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2009-02-123-0/+228
| | | | | | - port functionality from v3_3_test to master Derrell
* examples/VFS: fix the configure and make with the new directory layoutStefan Metzmacher2009-02-054-15/+17
| | | | metze