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 5d9b1acf4f35d11c4730cbc9cadedb33c6ec08e8)
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 c9080c54872f107d1e42e77261df50a5d55d294f)
2007-10-10 14:43:52 -05:00
Stefan Metzmacher
c30b82c3ea
r20899: fix the build and compiler warnings
...
metze
(This used to be commit eec93720aced2b4cdad9f6f5a4f6e23587128357)
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 6814f38f000e9d44bdf25ca5bc1d69fd82522614)
2007-10-10 14:43:48 -05:00
Stefan Metzmacher
f40182cb12
r20897: fix compiler warnings
...
metze
(This used to be commit 5ac562e1e0e8de03c8bcd083a1822b31667c5e21)
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 3315e877ab6504569e2869b52d989fc821982a3b)
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 84d0e5316299931dc26f2a7b86962d2fffcc4b71)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
20b406ce23
r20890: spelling fix
...
(This used to be commit 507266b951272534f0a0bad5fd5e2450438dcdf1)
2007-10-10 14:43:46 -05:00
Andrew Tridgell
427fa23ca5
r20698: added AIO writing support
...
(This used to be commit dbf54c7b49d427af8112414760369cd21c8b5941)
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 47e80da39f27a7e7aa6f85d6333f2d1772292ec9)
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 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10 14:37:23 -05:00
Andrew Tridgell
e0e96ae80d
r20624: added AIO read to pvfs backend
...
(This used to be commit d6e20d6d8c5c207e7f04b0d0523224437b209917)
2007-10-10 14:37:16 -05:00
Jelmer Vernooij
c81f2930a2
r19676: Fix some more dependencies.
...
(This used to be commit 8768bec81f57131a0c9754e8121b345c0be4a5d0)
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 3b65a0d6e491a57ed216dc0cd9c31d46e0cb6a35)
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 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
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 44c897764e6e2b9cfc4398fd3df52dc3eda6b341)
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 7a01235067a4800b07b8919a6a475954bfb0b04c)
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 b92553481b534d0ef5277dbfe8c0d64a03f819eb)
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 979dd24f5e44605fc1603b690913b8c31be7478f)
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 90f044e63b12d32228310c7529382198bd7e6dfe)
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 1e34e4d5a1fd3d74080424140e4ab276b6042d12)
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 024ca6a91cdf2c0f8999c220b4459a72c45bfd32)
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 ceffc34f3e9f47a8a44dad52054688f9855eeb37)
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 64062d16a2cc215af320eb30827887eb2531e3b0)
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 6784058923ef532da882830296f9bb5f58cddb43)
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 57f56957176ca04f3abb579b557aade71f8d361d)
2007-10-10 14:18:47 -05:00
Andrew Tridgell
c4aaa094e7
r18370: allow system inotify to be disabled
...
(This used to be commit 31bbf865a069f902dc979f469aec896d3d34422c)
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 e191f84f24e017d90c49d779a04a5306d96848a5)
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 9d688eb9cbaed484ccb75d601c2331760bd59fab)
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 8cce9740ed0da9f08d6821beb4acaa9d28d149c2)
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 53463ca7969e76f9fb2bc7c5a023d23732e422f5)
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 eba6c84efff735bb0ca941ac4b755ce2b0591667)
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 135d096776b53ae09ffc2b4f767dfbd18139570f)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
bbc78c9c14
r18137: more LIBREPLACE deps
...
(This used to be commit 2d813d1e6deb99b06e43462885be848a5399b9a8)
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 f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
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 58e7fa037571a3a9fab46945e6158687fff54a17)
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 eda302ffa5458a34f78d733cd0a46e79a74e81d7)
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 a4e19d6cc4cce611241c502de485dbd2496be0d3)
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 1775381afad8a97777a45b6e98802dda8b389ecb)
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 73d6651f3c06d0d3bbfd9fe1a9d0f76fe19ba4af)
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 c83501335f245ac73b9d53c12efee3d46b8c5b05)
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 7cf6eae23bf5b944ce6e419105d6cf195b368319)
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 a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
e1248154d6
r17088: add ntvfs mapping function for notify
...
metze
(This used to be commit 7daf432d58ecebd10a28acd3ddbded9cb16536d0)
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 41acbc6645cc22d7f5f061dc5eda9b938ca018ba)
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 bcf09a769e241de36abed17f22aa0534d87cf4ff)
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 de50e0ccddfad16ad7b254770f4c52c1abe707b9)
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 04f0d3d03179b6060fd013b867d13caa92ec6460)
2007-10-10 14:10:02 -05:00
Stefan Metzmacher
5468516f9a
r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
...
the operation doesn't need a valid file handle in that case
metze
(This used to be commit d41a83d55945b07020349339888f3a34ac4eff4e)
2007-10-10 14:10:00 -05:00
Stefan Metzmacher
810df68c23
r16890: implement DCERPC over SMB2 in the IPC backend
...
metze
(This used to be commit 5338699d0cff5da9fe7f9cd622764ea5a6b0d96b)
2007-10-10 14:09:57 -05:00