summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Add missing dep on tdb_compatAndrew Bartlett2012-09-241-1/+1
|
* s4-ntvfs: Add TODO on ea_sizeAndrew Bartlett2012-08-201-1/+1
| | | | | | This is almost certainly un-important. Andrew Bartlett
* s4-ntvfs: Ensure we do not attempt to write EAs on streamsAndrew Bartlett2012-08-201-0/+6
|
* Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison2012-06-281-5/+6
| | | | | | Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
* lib/tdb_wrap: use tdb directly, not tdb_compat.Rusty Russell2012-06-191-2/+1
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s4:ntvfs: add '_fn' suffix to all ntvfs_ops function pointersStefan Metzmacher2012-06-1312-439/+439
| | | | | | | | | | | This hopefully fixes the build on systems where _LARGE_FILES triggers defines of syscalls e.g. '#define lseek lseek64' on AIX. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jun 13 11:03:15 CEST 2012 on sn-devel-104
* s4/pvfs: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on ↵Björn Jacke2012-06-101-1/+22
| | | | | | O_NOFOLLOW symlink open calls see also f75f1d62339f0accb4e574645b1d265c75a01b5b
* s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett2012-06-025-15/+12
|
* s4:ntvfs/ipc: fix protocol specific processing of pipe namesStefan Metzmacher2012-05-281-2/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 21:48:47 CEST 2012 on sn-devel-104
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-232-12/+14
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* s4:ntvfs/smb2: remove misleading comment regarding security=serverStefan Metzmacher2012-05-151-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 10:12:53 CEST 2012 on sn-devel-104
* s4:ntvfs/cifs: remove misleading comment regarding security=serverStefan Metzmacher2012-05-151-1/+0
| | | | metze
* move the dbwrap library to the top levelMichael Adam2012-05-141-3/+3
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104
* s4:ntvfs: add missing headers to vfs_ipcAlexander Bokovoy2012-05-041-0/+2
| | | | | | vfs_ipc.c had system/kerberos.h and system/filesys.h missing Signed-off-by: Simo Sorce <idra@samba.org>
* UTIL_TDB: lowercase name.Jelmer Vernooij2012-05-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 20:18:22 CEST 2012 on sn-devel-104
* s4:ntvfs/ipc: don't echo back the smb2 ioctl input_bufferStefan Metzmacher2012-04-271-1/+1
| | | | metze
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-251-1/+1
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* s4-python: Add python wrapper for xattr_tdb format xattr storageAndrew Bartlett2012-04-183-21/+185
| | | | | | | This uses the format used by the vfs_xattr_tdb module. The s4 posix:eadb format is kept, just in a new file and module. Andrew Bartlett
* rely on sys/inotify.h for inotifyAdrian Bunk2012-04-132-37/+3
| | | | | | | | | sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
* s4-ntvfs: Rename xattr_tdb.c to posix_eadb.c and make more generally usefulAndrew Bartlett2012-04-035-38/+100
| | | | | | | | | This is now a small library, to be called from ntvfs, python and vfs_posix_eadb. The rename makes it clear that this has a different DB format to that used by vfs_xattr_tdb, and matches the posix:eadb smb.conf parameter used to configure it. Andrew Bartlett
* tdb_wrap: Move to specific directory.Jelmer Vernooij2012-03-106-6/+6
| | | | | | | | | | It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104
* s3-waf: add dependency on talloc or it won't build if talloc.h is not in the ↵Matthieu Patou2012-02-101-1/+1
| | | | | | | | | | default include path The problem occurs only if talloc, tdb and ldb are used as system libraries and talloc is not installed in a default. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Feb 10 23:27:29 CET 2012 on sn-devel-104
* pyxattr_tdb: Remove pointless check for blob.length < 0.Jelmer Vernooij2012-02-071-1/+1
|
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-036-20/+20
| | | | | | | | | | | | | | | This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
* s4-ntvfs: added allow_override check based on use of NT ACLAndrew Tridgell2011-12-0110-41/+59
| | | | | | | | This disables the posix permission override if the calculated permissions did not come from a NT ACL. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 1 05:14:49 CET 2011 on sn-devel-104
* s4-ntvfs: fixed a unix ACL mapping bugAndrew Tridgell2011-12-011-21/+25
| | | | | the ACL mapping code was incorrectly allowing creation of directories in some situations where it should be denied by the unix permissions
* s4:libcli/raw: implement on top of smbXcli_conn/reqStefan Metzmacher2011-11-301-1/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 30 15:13:36 CET 2011 on sn-devel-104
* lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett2011-10-282-2/+2
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett2011-10-284-6/+6
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett2011-10-284-6/+6
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Split samba-modules library into public and private partsAndrew Bartlett2011-10-286-6/+6
| | | | | | | This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
* lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett2011-10-282-2/+2
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett2011-10-284-6/+6
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2011-10-284-6/+6
| | | | | | This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
* Include uid_wrapper correctly.Andreas Schneider2011-10-272-19/+1
|
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-193-3/+3
| | | | | | | Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-132-3/+6
| | | | | | | | This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-2/+2
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-066-2/+6
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett
* python-s4: use PyErr_SetNTSTATUS instead of PyErr_NTSTATUS_IS_ERR_RAISE as ↵Matthieu Patou2011-09-231-2/+4
| | | | | | | it use NT_STATUS_IS_ERROR which is not completely the same as NT_STATUS_IS_OK Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Sep 23 09:22:56 CEST 2011 on sn-devel-104
* pys4: really return an exception if the status if not correctMatthieu Patou2011-09-231-4/+2
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Sep 23 06:06:57 CEST 2011 on sn-devel-104
* s4:ntvfs common - remove two outdated function prototypesMatthias Dieter Wallnöfer2011-09-202-4/+0
| | | | | | | | | The two functions don't exist anymore. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Sep 20 20:16:29 CEST 2011 on sn-devel-104
* s4:ntvfs common - add "UTIL_TDB" and "tdb-wrap" as internal build dependencyMatthias Dieter Wallnöfer2011-09-201-0/+1
| | | | | | | These modules are required for both header and source code files (see bug #8468). Reviewed-by: Jelmer
* s4:ntvfs/common/brlock.c - remove unnecessary include "tdb_compat.h"Matthias Dieter Wallnöfer2011-09-191-1/+0
| | | | | | | | | | Attempt to fix bug #8468 (https://bugzilla.samba.org/show_bug.cgi?id=8468). Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Sep 19 18:03:24 CEST 2011 on sn-devel-104
* s4:ntvfs: s/!= PROTOCOL_SMB2/< PROTOCOL_SMB2_02/Stefan Metzmacher2011-09-054-8/+8
| | | | metze
* s4:ntvfs: s/== PROTOCOL_SMB2/>= PROTOCOL_SMB2_02/Stefan Metzmacher2011-09-058-9/+9
| | | | metze
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-182-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-181-2/+2
|
* s4:ntvfs: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-134-5/+5
|
* s4-auth Move conversion of security_token to unix_token to authAndrew Bartlett2011-07-292-54/+4
| | | | | | | | This allows us to honour the AUTH_SESSION_INFO_UNIX_TOKEN flag. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>