1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

663 Commits

Author SHA1 Message Date
Volker Lendecke
a80732cf00 r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1b)
2007-10-10 14:44:17 -05:00
Volker Lendecke
67f494d72a r20972: "private" -> "private_data"
(This used to be commit 8cbcd3d1cb)
2007-10-10 14:44:05 -05:00
Andrew Tridgell
87df5a6312 r20947: fixed a bug in the unlock logic in the brlock tdb backend
I'm very surprised this didn't show up earlier!
(This used to be commit 5d9b1acf4f)
2007-10-10 14:43:59 -05:00
Andrew Tridgell
2ad79af331 r20920: use cluster_tdb_tmp_open() in ntvfs backend code
(This used to be commit c9080c5487)
2007-10-10 14:43:52 -05:00
Stefan Metzmacher
c30b82c3ea r20899: fix the build and compiler warnings
metze
(This used to be commit eec93720ac)
2007-10-10 14:43:49 -05:00
Stefan Metzmacher
22bedb42ab r20898: make it work to include ntvfs/ntvfs.h multiple times
metze
(This used to be commit 6814f38f00)
2007-10-10 14:43:48 -05:00
Stefan Metzmacher
f40182cb12 r20897: fix compiler warnings
metze
(This used to be commit 5ac562e1e0)
2007-10-10 14:43:48 -05:00
Andrew Tridgell
72316674bf r20894: the new brlock.c is needed (seems a svn rename + new file didn't make
it in one commit)
(This used to be commit 3315e877ab)
2007-10-10 14:43:47 -05:00
Andrew Tridgell
be05a5ca25 r20891: enable multiple brlock backends. The tdb backend is the default. The
prototype ctdb backend is in cluster/ctdb/brlock_ctdb.c
(This used to be commit 84d0e53162)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
20b406ce23 r20890: spelling fix
(This used to be commit 507266b951)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
427fa23ca5 r20698: added AIO writing support
(This used to be commit dbf54c7b49)
2007-10-10 14:40:24 -05:00
Volker Lendecke
98ac70b6a3 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
(This used to be commit 47e80da39f)
2007-10-10 14:37:27 -05:00
Andrew Tridgell
1cd4339b9a 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.
(This used to be commit 2365abaa99)
2007-10-10 14:37:23 -05:00
Andrew Tridgell
e0e96ae80d r20624: added AIO read to pvfs backend
(This used to be commit d6e20d6d8c)
2007-10-10 14:37:16 -05:00
Jelmer Vernooij
c81f2930a2 r19676: Fix some more dependencies.
(This used to be commit 8768bec81f)
2007-10-10 14:25:29 -05:00
Jelmer Vernooij
273d5f8666 r19671: Fix remaining unresolved symbols in shared library build.
Fix starting tests in shared library build.
(This used to be commit 3b65a0d6e4)
2007-10-10 14:25:27 -05:00
Andrew Bartlett
13dbee3ffe 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
(This used to be commit 2b569c42e0)
2007-10-10 14:25:00 -05:00
Andrew Tridgell
d6c003083c r19508: fixed SMB2-SETINFO
the pvfs_acl_xattr backend was not being initialised
(This used to be commit 44c897764e)
2007-10-10 14:24:42 -05:00
Jelmer Vernooij
4fa24df98d r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067)
2007-10-10 14:24:41 -05:00
Andrew Tridgell
515c92a759 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
(This used to be commit b92553481b)
2007-10-10 14:21:32 -05:00
Andrew Tridgell
af870da619 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
(This used to be commit 979dd24f5e)
2007-10-10 14:21:30 -05:00
Andrew Tridgell
2338e97832 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
(This used to be commit 90f044e63b)
2007-10-10 14:20:52 -05:00
Andrew Tridgell
921f73c7e5 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs.
(This used to be commit 1e34e4d5a1)
2007-10-10 14:19:16 -05:00
Andrew Tridgell
c5e67b8555 r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function
(This used to be commit 024ca6a91c)
2007-10-10 14:18:51 -05:00
Andrew Tridgell
9c53e14602 r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks
(This used to be commit ceffc34f3e)
2007-10-10 14:18:51 -05:00
Steve French
1ce5df6c72 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them
(This used to be commit 64062d16a2)
2007-10-10 14:18:48 -05:00
Andrew Tridgell
ee1d645881 r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid
(This used to be commit 6784058923)
2007-10-10 14:18:48 -05:00
Steve French
db0fdcf6ce r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it
(This used to be commit 57f5695717)
2007-10-10 14:18:47 -05:00
Andrew Tridgell
c4aaa094e7 r18370: allow system inotify to be disabled
(This used to be commit 31bbf865a0)
2007-10-10 14:18:20 -05:00
Andrew Tridgell
3dc237eb28 r18342: a bit more explanation of these strange values
(This used to be commit e191f84f24)
2007-10-10 14:18:13 -05:00
Andrew Tridgell
06bc06cf08 r18341: ooh this gets subtle - this needed for xfs on linux
(This used to be commit 9d688eb9cb)
2007-10-10 14:18:12 -05:00
Andrew Tridgell
89efea81d9 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!
(This used to be commit 8cce9740ed)
2007-10-10 14:18:08 -05:00
Simo Sorce
b0f6a94d9a 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.
(This used to be commit 53463ca796)
2007-10-10 14:18:06 -05:00
Andrew Tridgell
30ee8beb93 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.
(This used to be commit eba6c84eff)
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
a46e12d0e0 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
(This used to be commit 135d096776)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
bbc78c9c14 r18137: more LIBREPLACE deps
(This used to be commit 2d813d1e6d)
2007-10-10 14:17:38 -05:00
Jelmer Vernooij
0329d755a7 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)
(This used to be commit f7afa1cb77)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
5987aace3b r17776: these macros are also defined in libcli/raw/trans2.h
metze
(This used to be commit 58e7fa0375)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
ec626a732c r17753: fix compiler warnings and make the code simpler
metze
(This used to be commit eda302ffa5)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
312ded39cc r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
(This used to be commit a4e19d6cc4)
2007-10-10 14:16:37 -05:00
Andrew Tridgell
b950a91fb2 r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
(This used to be commit 1775381afa)
2007-10-10 14:16:20 -05:00
Andrew Bartlett
8c291e67c5 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
(This used to be commit 73d6651f3c)
2007-10-10 14:15:32 -05:00
Stefan Metzmacher
529c5dae51 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
(This used to be commit c83501335f)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
7b52d77eb5 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
(This used to be commit 7cf6eae23b)
2007-10-10 14:15:18 -05:00
Simo Sorce
9c66f601f1 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
(This used to be commit a89cc346b9)
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
e1248154d6 r17088: add ntvfs mapping function for notify
metze
(This used to be commit 7daf432d58)
2007-10-10 14:10:12 -05:00
Stefan Metzmacher
bdf914a39d r17087: - make pvfs_notify_next_send static
- fix double free:
  a talloc_reference(a,b) when a is a child of b
  doesn't prevent talloc_free(b) from destroiying a and b.

metze
(This used to be commit 41acbc6645)
2007-10-10 14:10:12 -05:00
Stefan Metzmacher
4c499cb45f r17008: on SMB2 Create the delete_on_close flag isn't ignored for
existing opened files as it is for SMB.

metze
(This used to be commit bcf09a769e)
2007-10-10 14:10:07 -05:00
Stefan Metzmacher
a8958391e8 r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
- parse SMB2 Notify reponse

metze
(This used to be commit de50e0ccdd)
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
3b36a85798 r16950: remove the smb mid from the ntvfs layer and keep a list of pending
requests on the smbsrv_connection, to be able to match then on
ntcancel

metze
(This used to be commit 04f0d3d031)
2007-10-10 14:10:02 -05:00