summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix bug 8196 - Many (newer) header files don't have copyright / GPL ↵Karolin Seeger2011-06-072-44/+0
| | | | | | header comments." This reverts commit 6df3ff20620b3262ff232a478312c61a207ed4ff.
* Fix bug 8196 - Many (newer) header files don't have copyright / GPL header ↵Jeremy Allison2011-06-072-0/+44
| | | | | | comments. Add missing GPL headers and (C) statements.
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-166-6/+6
| | | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett (cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06)
* s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()Stefan Metzmacher2011-03-221-1/+1
| | | | | | | | | | | That's why we have the 'container' parameter to indicate the caller wants to create a directory. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 22 17:39:11 CET 2011 on sn-devel-104 (cherry picked from commit b8d0994627ef237fdc92bebd9c9a26f9d62764bc)
* s4:ntvfs/posix: grant SEC_STD_DELETE if the parent grants SEC_DIR_DELETE_CHILDStefan Metzmacher2011-03-211-10/+58
| | | | | metze (cherry picked from commit 3dc999e38ba2605b702e60ac0b9e91a14542f458)
* ntvfs: Add some missing dependencies on tevent/events.Jelmer Vernooij2011-02-282-4/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 21:57:16 CET 2011 on sn-devel-104
* Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij2011-02-286-6/+6
| | | | | | building against system tdb.
* Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2011-02-281-1/+1
|
* s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell2011-02-181-1/+1
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: Don't grant level II oplock to a file with byte-range locks.Pavel Shilovsky2011-02-154-2/+52
| | | | | | | | | Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104
* libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett2011-02-101-49/+7
| | | | | | | | | | | | | | | This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-auth Rework auth subsystem to remove struct auth_serversupplied_infoAndrew Bartlett2011-02-091-3/+11
| | | | | | | | | | | | | This changes auth_serversupplied_info into the IDL-defined struct auth_user_info_dc. This then in turn contains a struct auth_user_info, which is the only part of the structure that is mainted into the struct session_info. The idea here is to avoid keeping the incomplete results of the authentication (such as session keys, lists of SID memberships etc) in a namespace where it may be confused for the finalised results. Andrew Barltett
* s4: make pipes with underscore works alsoMatthieu Patou2011-01-091-1/+3
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 9 15:47:01 CET 2011 on sn-devel-104
* s4-server: move the creation of the IPC$ share into ntvfsAndrew Tridgell2010-11-111-0/+26
| | | | | | | | | | | | | | | the IPC$ share is only used by the ntvfs backends, and doesn't need to be created on every load of smb.conf. This fixes a problem with testparm showing the ipc$ share when it isn't defined in smb.conf. This also removes the admin$ share, which really shouldn't be on by default. The admin$ share is used for remote software installation, and normally exposes the c:\windows directory on a windows server. That makes no sense on Samba. If for some reason a admin$ share is needed, then the admin can create one as usual. Exposing /tmp via admin$ by default seems like a bad idea. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* credentials: Lowercase library name,Jelmer Vernooij2010-11-072-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
* samdb: Lowercase library name.Jelmer Vernooij2010-11-072-3/+3
|
* s4:waf - fix the build on Gentoo platformsPhilip M. White2010-11-031-4/+8
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell2010-11-014-19/+8
| | | | the waf build now generates the prototype declarations for us
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-318-308/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4-rpc: split the dcesrv reply code out of dcerpc_serverAndrew Tridgell2010-10-301-0/+1
| | | | | | | this allows us to remove a dependency on the dcerpc_server from code that uses rpc forwarding Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-2/+2
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename NSS_WRAPPER to nss_wrapper.Jelmer Vernooij2010-10-231-1/+1
| | | | | | | Only link to nss_wrapper when it is enabled. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 23:05:44 UTC 2010 on sn-devel-104
* s4: Rename UID_WRAPPER to uid_wrapper.Jelmer Vernooij2010-10-231-1/+1
| | | | Only link to uid_wrapper when it is enabled.
* s4: Rename WRAP_XATTR to wrap_xattr.Jelmer Vernooij2010-10-231-2/+2
|
* s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2010-10-231-1/+1
|
* s4-rpc_server: split out DCERPC_SHARE as a separate subsystemAndrew Tridgell2010-10-212-1/+2
| | | | | | this avoids a problem with -Wl,-no-undefined in the ntvfs layer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: removed the dependency loop between ntvfs and dcerpc_serverAndrew Tridgell2010-10-211-5/+7
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: don't depend directly on python modulesAndrew Tridgell2010-10-211-2/+2
| | | | | | | | build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: removed dependencies on missing subsystemsAndrew Tridgell2010-10-211-1/+1
| | | | these were left over from the old config.mk system
* s4-acl Merge sec_access_check() with se_access_check() from source3/Andrew Bartlett2010-10-141-1/+1
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ntvfs_ipc: add missing dependency on dcerpc_common.Jelmer Vernooij2010-10-111-1/+1
|
* heimdal: Fix library name of gssapi.Jelmer Vernooij2010-10-051-1/+1
|
* s4/pvfs: use monotonic time for this timeoutBjörn Jacke2010-09-102-4/+4
|
* s4:ntvfs/posix/pvfs_*.c - quiet Solaris warningsMatthias Dieter Wallnöfer2010-08-273-15/+13
| | | | Fix the function argument of "pvfs_xattr_ndr_load/save".
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-231-1/+1
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* s4:ntvfs Don't treat the user SID and primary group SID special for idmapAndrew Bartlett2010-08-181-12/+4
| | | | | | | This simply askes IDMAP about all the user SIDs, rather than the user and group sid, followed by all but the first two sids from the token. Andrew Bartlett
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-169-20/+20
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:ntvfs/ipc/vfs_ipc.c - remove unused codeMatthias Dieter Wallnöfer2010-06-291-4/+0
| | | | Spotted by the Solaris 10 compiler
* s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10Matthias Dieter Wallnöfer2010-06-291-3/+3
|
* s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer2010-05-281-2/+3
|
* s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer2010-05-281-2/+4
|
* s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett2010-05-243-53/+37
| | | | Andrew Bartlett
* s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett2010-05-243-3/+3
| | | | | | | | This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett
* s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warningsMatthias Dieter Wallnöfer2010-05-211-2/+2
|
* s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warningMatthias Dieter Wallnöfer2010-05-211-3/+5
| | | | | The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly or it is NULL if we ran out of memory.
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-1/+0
|
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-188-46/+30
|
* s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett2010-05-181-0/+4
| | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
* s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett2010-05-141-0/+4
| | | | | | | | I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett