summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
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
2010-12-02Move posix_fallocate into the VFS where it belongs.Jeremy Allison2-0/+16
Jeremy.
2010-12-02smbprinting: fix wrong == in shell testsBjörn Jacke1-2/+2
2010-11-20Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_defaultJeremy Allison2-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
2010-11-02s3-libsmbclient-examples Add tests for debug behaviour.Andrew Bartlett1-1/+16
2010-09-02doc: patched bind9 is no longer neededAndrew Tridgell1-0/+6
bind9.7.2rc1 contains all the patches needed to work with Samba4 krb5 DNS updates with w2k8r2.
2010-08-19s3-ldapsam: add samba.ldif LDAP schema.Günther Deschner1-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
2010-08-16s3-auth: Remove obsolete 'update encrypted' option.Andreas Schneider1-1/+0
2010-07-16s3-perfcount: make it possible to compile the example perfcount daemon.Günther Deschner1-0/+15
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-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>
2010-04-13examples: Fix typo in comment.Karolin Seeger1-1/+1
Karolin
2010-03-05Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison2-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.
2010-02-17examples: add bind9 patches for TSIG-GSS supportAndrew Tridgell6-0/+250
We will point at these from the Samba4 HOWTO
2010-02-03update samba schema for IBM Directory ServerChristian Ambach1-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>
2009-12-07examples: Fix the build of the example VFS modules.Karolin Seeger2-10/+13
Karolin
2009-10-28adssearch: dump some more nttime timestamps.Günther Deschner1-0/+2
Guenther
2009-10-07AD-Bench: A first go at an Active Directory benchmark.Kai Blin10-0/+803
2009-10-01s3: add perfcount idl and generated files.Günther Deschner2-5/+5
Guenther
2009-09-25Fix the opaque sample module for the new VFS interface.Jeremy Allison1-216/+389
Jeremy.
2009-09-25Update the advice for the new VFS system.Jeremy Allison1-4/+3
Jeremy.
2009-09-25Remove unused static fn.Jeremy Allison1-5/+0
Jeremy.
2009-09-25Rewrite vfs_transparent example for the new VFS changes.Jeremy Allison1-131/+291
Jeremy.
2009-09-25Fix vfs module sample for new interface.Jeremy Allison1-6/+5
Jeremy.
2009-09-14examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema.Michael Adam2-6/+0
Michael
2009-09-09s3:examples:ldap: allow substing search on more attributes in nds schema fileBjörn Jacke1-2/+2
2009-09-09s3:examples:ldap: fix some OIDs in various schema filesBjörn Jacke4-13/+13
2009-08-06s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner1-1/+6
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther
2009-07-18VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2-75/+282
2009-07-16s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.Günther Deschner1-0/+8
Guenther
2009-07-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2-4/+8
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2-4/+6
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2-4/+8
2009-06-25s3-examples: make get_next_oid exectuable.Günther Deschner1-0/+0
Guenther
2009-06-24s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty2-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.
2009-06-19added some basic documentation for the idmap script optionAndrew Tridgell1-0/+168
2009-06-19added a sample script for the "idmap script" optionAndrew Tridgell1-0/+119
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-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.
2009-06-17s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2-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.
2009-06-12examples:s2→s3-ldif-convert-script: fix objectclass recognitionBjörn Jacke1-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