summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwinBjörn Jacke2012-07-051-1/+1
|
* s3:registry: untangle assignment from check in reg_enumkey()Michael Adam2012-07-051-1/+2
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jul 5 17:57:16 CEST 2012 on sn-devel-104
* s3:registry: untangle assignment from check in reg_enumvalue()Michael Adam2012-07-051-1/+2
|
* s3: if we know a file is immutable, report it to be readonlyBjörn Jacke2012-07-041-0/+6
| | | | on *BSD we get the immutable flag via st_flags, we should use that if possible.
* Add waf/configure tests for openat.Jeremy Allison2012-07-042-0/+23
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 4 02:37:59 CEST 2012 on sn-devel-104
* Move copy_unix_token() from locking/locking.c to lib/util.c.Jeremy Allison2012-07-033-29/+31
| | | | Make public.
* Add function set_thread_credentials_permanently(). Panic if fail.Jeremy Allison2012-07-032-0/+52
| | | | Not yet used.
* Allow init_aio_threadpool() to be setup for different threadpool handles ↵Jeremy Allison2012-07-031-10/+19
| | | | with different completion functions.
* s3-smbd: Remove deprecated 'share modes' option.Andreas Schneider2012-07-033-14/+0
|
* s3-passdb: Remove obsolte ldapsam_compat support.Andreas Schneider2012-07-037-187/+6
|
* s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider2012-07-034-64/+14
|
* s3-winbind: Remove obsolte idmap_adex.Andreas Schneider2012-07-0310-3795/+0
|
* s3: Fix Coverity ID 709217 Dereference after null checkVolker Lendecke2012-07-031-2/+10
| | | | | | | | | | A few lines before we did check for x != NULL. I think this might fix a potential remote crash. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jul 3 15:30:17 CEST 2012 on sn-devel-104
* s3: Fix Coverity ID 709218 Uninitialized pointer readVolker Lendecke2012-07-031-0/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:vfs: use smbXsrv_open instead of smbXsrv_open0 in files_structMichael Adam2012-07-031-1/+1
|
* s3:vfs: use smbXsrv_tcon instead of smbXsrv_tcon0 in connection_struct.Michael Adam2012-07-031-1/+1
|
* s3:smb: include "smbXsrv.h" before "vfs.h"Michael Adam2012-07-031-0/+6
| | | | | | This is still needed as long as smbXsrv_open/_tcon are referenced in files_struct and connection_struct respectively. Eventually, these structures should not have a backlink to the smb world any more.
* s3:smbd: Include smbXsrv.h before vfs.h (in smbd.h) so that the smbXsrv ↵Michael Adam2012-07-031-1/+1
| | | | | | | | structures are available This is currently needed for files_struct and connection_struct that contain backlinks to smbXsrv_open and smbXsrv_tcon, respectively. Finally, these backlinks to the smb level structures should be removed.
* s3:smbd:smb2: fix prototype of make_connection_smb2() to use smbXsrv_tconMichael Adam2012-07-031-2/+1
| | | | instead of internal smbXsrv_tcon0.
* s3:smbd: include smbXsrv.h before smbd/proto.h to have the smbXsrv_ structs ↵Michael Adam2012-07-031-0/+1
| | | | available
* s3:smbd:smb2: change smbXsrv_tcon0 to smbXsrv_tcon in ↵Michael Adam2012-07-031-1/+1
| | | | | | | smbd_smb2_request_check_tcon() smbXsrv_tcon0 is the internal name for the (current) version0 of the structure. Externally, only smbXsrv_tcon should be used.
* s3:smbd:smb2: change smbXsrv_session0 to smbXsrv_session in struct user_struct.Michael Adam2012-07-031-1/+1
| | | | | smbXsrv_session0 is the internal name of (current) version 0 of the structure. Externally, only smbXsrv_session should be used.
* Fix the waf/autoconf builds to detect correctly the 32-bit or 64-bit syscall ↵Jeremy Allison2012-07-032-34/+134
| | | | | | | ABI on Linux. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Jul 3 05:32:21 CEST 2012 on sn-devel-104
* auth: Remove .get_challenge (only used for security=server)Andrew Bartlett2012-07-036-140/+6
| | | | | | | | | | | | | With NTLMSSP, for NTLM2 we need to be able to set the effective challenge, so if we ever did use a module that needed this functionlity, we would downgrade to just NTLM. Now that security=server has been removed, we have no such module. This will make it easier to make the auth subsystem async, as we will not need to consider making .get_challenge async. Andrew Bartlett
* s3-libpidfile: fix check for running process.Björn Baumbach2012-07-021-1/+1
| | | | | | | | | | Call pidfile_pid() with process name instead of pid file name. pidfile_pid does create the pid file name by itself. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jul 2 19:19:21 CEST 2012 on sn-devel-104
* s3-libpidfile: some more debug outputBjörn Baumbach2012-07-021-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Disable selections of USE_LINUX_THREAD_CREDENTIALS until we have specificJeremy Allison2012-07-022-27/+35
| | | | | | | 32-bit and 64-bit versions. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 2 03:02:47 CEST 2012 on sn-devel-104
* Don't allow asynchronous creates to be canceled in SMB2.Jeremy Allison2012-06-303-3/+20
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 04:10:02 CEST 2012 on sn-devel-104
* Make schedule_deferred_open_message_smb() return an indication of success.Jeremy Allison2012-06-302-5/+6
|
* Make schedule_deferred_open_message_smb2() return an indication of success.Jeremy Allison2012-06-302-7/+9
|
* Allow for async opens.Jeremy Allison2012-06-301-4/+35
| | | | | If the SMB_VFS_OPEN() function returns -1, EINTR -> NT_STATUS_RETRY, then queue the open up to be completed when the async open completes.
* Add new bool field async_open to struct deferred_open_record. Not used yet.Jeremy Allison2012-06-301-0/+4
|
* Fix defer_open() fuction in the open code path to cope with a NULL lck ↵Jeremy Allison2012-06-301-11/+16
| | | | parameter.
* Add uint64_t mid field to the files_struct.Jeremy Allison2012-06-302-0/+2
| | | | Ensure it is initialized so we know what mid created this file.
* s3:waf add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke2012-06-301-2/+2
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Jun 30 02:22:21 CEST 2012 on sn-devel-104
* s3: add sendfile support for Tru64, which is the same as HP-UX'sBjörn Jacke2012-06-301-3/+3
|
* Try and fix the autoconf build on Solaris/Nexenta/etc.Jeremy Allison2012-06-303-4/+10
| | | | | | | | | Their AC_TRY_RUN doesn't include any current CPPFLAGS. Make the set[res]uid checks independent of this. Needs a small change to the waf build in order to code with the change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 00:32:36 CEST 2012 on sn-devel-104
* Fix typo in configure.in check for USE_LINUX_THREAD_CREDENTIALS.Jeremy Allison2012-06-291-1/+1
|
* s3:smbd: make use of smbXsrv_open for smb1/2/3Stefan Metzmacher2012-06-2910-141/+74
| | | | | | | | | | | | This makes sure we generate unique persistent file ids, which are stored in smbXsrv_open_global.tdb. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104
* s3:smbd: add smbXsrv_open* infrastructureStefan Metzmacher2012-06-295-0/+1102
| | | | | | Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smbXsrv.idl: add smbXsrv_open* structuresStefan Metzmacher2012-06-291-0/+71
| | | | | | | | | | | struct smbXsrv_open will represent a SMB 1 or SMB 2 open file handle, while 'files_struct' will be changed to handle just the protocol independent glue for the SMB_VFS layer. Note: the format is not stable yet, we need to add more things when we start to support durable handles. metze
* s3:configure: fix numerous compile warnings about implicit declaration of 'exit'Björn Jacke2012-06-291-27/+27
| | | | | | | | | use return instead of exit in configure tests to fix those warnings: warning: incompatible implicit declaration of built-in function 'exit' Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Jun 29 19:08:54 CEST 2012 on sn-devel-104
* s3: fix the logic in bsd_statvfsBjörn Jacke2012-06-291-1/+1
|
* s3:cclean avoid segfault in case of ctdb missbehaviourGregor Beck2012-06-291-3/+8
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 29 17:06:05 CEST 2012 on sn-devel-104
* s3:cclean: fix memory allocationGregor Beck2012-06-291-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3_dbrwap_ctdb: improve a comment in db_ctdb_can_use_local_record()Michael Adam2012-06-291-1/+3
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: fix a comment in db_ctdb_fetch()Michael Adam2012-06-291-2/+3
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: expand the comment for the db_ctdb_can_use_local_copy() functionMichael Adam2012-06-291-1/+4
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbwrap_ctdb: rename db_ctdb_own_record() -> db_ctdb_can_use_local_copy()Michael Adam2012-06-291-3/+3
| | | | | | | This matches the function's intention much closer, since it also tests whether we have a valid local read only copy. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:dbrwap_ctdb: remove commented out legacy codeMichael Adam2012-06-291-5/+1
|