1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Commit Graph

668 Commits

Author SHA1 Message Date
Andrew Tridgell
6a2ba01f15 r21234: fixed a subtle bug with talloc reference counting and async ntvfs
requests.
2007-10-10 14:44:50 -05:00
Andrew Tridgell
f62b3c505f r21214: fixed a valgrind error that can be caused by a semi-async call inside
a nested ntvfs call. The req structure can go away while processing a
ntvfs request
2007-10-10 14:44:47 -05:00
Volker Lendecke
3548b1f683 r21104: Rename struct watch_context to struct inotify_watch_context 2007-10-10 14:44:30 -05:00
Volker Lendecke
eb83537a3b r21042: Fix typo 2007-10-10 14:44:24 -05:00
Volker Lendecke
57979d89c5 r21041: Change some "private" to "private_data", and change one (void **) function
parameter to (void *). void** in function parameters leads to type-punned
warnings.

Volker
2007-10-10 14:44:24 -05:00
Volker Lendecke
79a0cd3a1b r20983: Two no-mem error returns 2007-10-10 14:44:17 -05:00
Volker Lendecke
8cbcd3d1cb r20972: "private" -> "private_data" 2007-10-10 14:44:05 -05:00
Andrew Tridgell
5d9b1acf4f r20947: fixed a bug in the unlock logic in the brlock tdb backend
I'm very surprised this didn't show up earlier!
2007-10-10 14:43:59 -05:00
Andrew Tridgell
c9080c5487 r20920: use cluster_tdb_tmp_open() in ntvfs backend code 2007-10-10 14:43:52 -05:00
Stefan Metzmacher
eec93720ac r20899: fix the build and compiler warnings
metze
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
6814f38f00 r20898: make it work to include ntvfs/ntvfs.h multiple times
metze
2007-10-10 14:43:48 -05:00
Stefan Metzmacher
5ac562e1e0 r20897: fix compiler warnings
metze
2007-10-10 14:43:48 -05:00
Andrew Tridgell
3315e877ab r20894: the new brlock.c is needed (seems a svn rename + new file didn't make
it in one commit)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
84d0e53162 r20891: enable multiple brlock backends. The tdb backend is the default. The
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c
2007-10-10 14:43:46 -05:00
Andrew Tridgell
507266b951 r20890: spelling fix 2007-10-10 14:43:46 -05:00
Andrew Tridgell
dbf54c7b49 r20698: added AIO writing support 2007-10-10 14:40:24 -05:00
Volker Lendecke
47e80da39f r20653: If this is the wrong way to fix the build, I apologize. But these includes are
necessary in my environment to get through make.

Volker
2007-10-10 14:37:27 -05:00
Andrew Tridgell
2365abaa99 r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
2007-10-10 14:37:23 -05:00
Andrew Tridgell
d6e20d6d8c r20624: added AIO read to pvfs backend 2007-10-10 14:37:16 -05:00
Jelmer Vernooij
8768bec81f r19676: Fix some more dependencies. 2007-10-10 14:25:29 -05:00
Jelmer Vernooij
3b65a0d6e4 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
2007-10-10 14:25:27 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Andrew Tridgell
44c897764e r19508: fixed SMB2-SETINFO
the pvfs_acl_xattr backend was not being initialised
2007-10-10 14:24:42 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Andrew Tridgell
b92553481b r19441: work in progress support for NFS4 ACLs in Samba4 on Linux. Still work
to do, particularly with getting the detailed bit mappings right, and
on sid mapping. Does not pass RAW-ACLS yet
2007-10-10 14:21:32 -05:00
Andrew Tridgell
979dd24f5e r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
2007-10-10 14:21:30 -05:00
Andrew Tridgell
90f044e63b r19199: split out the xattr NTACL code into a separate part of the posix
backend, allowing other ACL backends to be added. The xattr backend is
still the default backend
2007-10-10 14:20:52 -05:00
Andrew Tridgell
1e34e4d5a1 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs. 2007-10-10 14:19:16 -05:00
Andrew Tridgell
024ca6a91c r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function
2007-10-10 14:18:51 -05:00
Andrew Tridgell
ceffc34f3e r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks
2007-10-10 14:18:51 -05:00
Steve French
64062d16a2 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them 2007-10-10 14:18:48 -05:00
Andrew Tridgell
6784058923 r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid
2007-10-10 14:18:48 -05:00
Steve French
57f5695717 r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it 2007-10-10 14:18:47 -05:00
Andrew Tridgell
31bbf865a0 r18370: allow system inotify to be disabled 2007-10-10 14:18:20 -05:00
Andrew Tridgell
e191f84f24 r18342: a bit more explanation of these strange values 2007-10-10 14:18:13 -05:00
Andrew Tridgell
9d688eb9cb r18341: ooh this gets subtle - this needed for xfs on linux 2007-10-10 14:18:12 -05:00
Andrew Tridgell
8cce9740ed r18319: fixed the directory search resume code on IRIX
The problem was twofold:

  1) irix returns 64 bit numbers in telldir(). The protocol uses a 32
     bit resume key. We now cope with this properly using the code in
     pvfs_list_seek_ofs().

  2) irix returns 0xFFFFFFFF from telldir() for the last entry in the
     directory. When added to DIR_OFFSET_BASE this became
     DIR_OFFSET_DOTDOT which meant an infinite loop!
2007-10-10 14:18:08 -05:00
Simo Sorce
53463ca796 r18314: Handle the case where a dir has the sticky bit set and the OS gives back
EPERM when trying to access user xattrs. Just pretend no attributes are set.

Simo.
2007-10-10 14:18:06 -05:00
Andrew Tridgell
eba6c84eff r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
2d813d1e6d r18137: more LIBREPLACE deps 2007-10-10 14:17:38 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
58e7fa0375 r17776: these macros are also defined in libcli/raw/trans2.h
metze
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
eda302ffa5 r17753: fix compiler warnings and make the code simpler
metze
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
a4e19d6cc4 r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
2007-10-10 14:16:37 -05:00
Andrew Tridgell
1775381afa r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
2007-10-10 14:16:20 -05:00
Andrew Bartlett
73d6651f3c r17520: If the blkid library fails, I don't see any reason to return more of
an error than if we don't have it.  We might not be on a volume that
can store/return such a GUID.

(Try to fix one of the build farm failures).

Andrew Bartlett
2007-10-10 14:15:32 -05:00
Stefan Metzmacher
c83501335f r17362: session_info and smbpid are available from the ntvfs_handle
so we don't need them on the pvfs_file struct.

also we don't need to check is the handle has the correct session
as this is job of the frontend server

metze
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
7cf6eae23b r17359: http://www.cs.wisc.edu/~cao/cs739/draft-leach-cifs-v1-spec-01.txt
says that with the 0xffff fid all files only for the given pid
should be flushed

Does samba3 handle this correct?

metze
2007-10-10 14:15:18 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00