1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-01 16:23:49 +03:00
Commit Graph

698 Commits

Author SHA1 Message Date
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Andrew Tridgell
066bcd8420 r24646: fixed the handling of case insensitive paths with wildcards 2007-10-10 15:02:31 -05:00
Andrew Tridgell
dd951b983c r24642: prevent recursion with fetch_locked
add a note about server_id exists checking
2007-10-10 15:02:29 -05:00
Andrew Tridgell
aa0a348964 r24641: fixed several memory leaks in the brlock code 2007-10-10 15:02:28 -05:00
Andrew Tridgell
912c014b7c r24284: change brlock_tdb.c to use the dbwrap API. This actually makes the
backend abstraction for brlock pointless, but I have left it in place
for now. It would be useful for other clustering systems that can't
map to dbwrap, and would also be useful if we wanted to keep the
remote function call capabilities in ctdb instead of the less
efficient fetch_locked() call in dbwrap
2007-10-10 15:01:36 -05:00
Andrew Bartlett
efaf91b9d5 r24075: As suggested by metze, match the behaviour of ntvfs_posix, and remove
the backend data (effectivly closing the handle) when we close an IPC
FD.

This should fix #4821.

Andrew Bartlett
2007-10-10 15:01:22 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
d49ce1d752 r23698: fixed notify:backend so it actually works again 2007-10-10 14:59:04 -05:00
Andrew Tridgell
701d06ac01 r23697: use the file perm options in the posix backend 2007-10-10 14:59:03 -05:00
Andrew Bartlett
cbdce358ae r23136: Set the event context onto the credentials in more places.
This helps ensure that the kerberos code uses the right event context.

Andrew Bartlett
2007-10-10 14:52:54 -05:00
Stefan Metzmacher
34ef07b1f5 r23067: use 'const union smb_search_data *file' also in the server code to get rid
of compiler warnings in the cifs backend

metze
2007-10-10 14:52:47 -05:00
Andrew Bartlett
607e8409f8 r23064: Clarify comment and indent 2007-10-10 14:52:46 -05:00
Andrew Tridgell
398c3724b4 r23017: fixed the warning we have been getting for a long time:
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
2007-10-10 14:52:39 -05:00
Stefan Metzmacher
3a7a30ab1c r22913: try to work arround the unaligned memory access bug on Tru64
metze
2007-10-10 14:52:30 -05:00
Andrew Bartlett
3947db3dcb r22882: It seems entirly reasonable to follow metze's suggestion and check for
a valid file handle first.

Andrew Bartlett
2007-10-10 14:52:28 -05:00
Andrew Bartlett
8f85fb3786 r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
This should help with Vista joins.

Andrew Bartlett
2007-10-10 14:52:27 -05:00
Stefan Metzmacher
8329fa6895 r22865: handle pending locks in smb2
metze
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
36384bb4a0 r22864: in SMB2 mode we need to cancel an existing lock with a conflicting lock
if they're on the same handle and the same range

metze
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
83a61a2892 r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTED
metze
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
fbbb144f8e r22849: map smb2 lock to the generic level
metze
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
e087772ec9 r22842: fix directory listing of SMB2 and include directories and hidden files
metze
2007-10-10 14:52:24 -05:00
Andrew Tridgell
419ef7393f r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify code 2007-10-10 14:52:21 -05:00
Stefan Metzmacher
7f07895cac r22406: this dependencies should also be private
metze
2007-10-10 14:51:15 -05:00
Stefan Metzmacher
cc71fa3496 r22399: fix major memory leak
metze
2007-10-10 14:51:14 -05:00
Stefan Metzmacher
26566222ec r22258: make ntvfs a library again
metze
2007-10-10 14:50:48 -05:00
Stefan Metzmacher
fda810ff12 r22200: make ntvfs a subsystem as linking ntvfs.so.1 uses
ca. 800 cmdline args to ld and that fails on some hosts
in the build-farm, lets see if they will be happier now

metze
2007-10-10 14:50:37 -05:00
Andrew Tridgell
b0da25cb79 r22082: merged the ctdb changes from bzr
added opendb ctdb backend from ronnie
2007-10-10 14:49:48 -05:00
Andrew Tridgell
b4ac085816 r22021: use the pid specified in the individual locks, not the request pid, in
locking requests.

This fixes a bug noticed by Ronnie Sahlberg (thanks!)
2007-10-10 14:49:41 -05:00
Andrew Tridgell
6b91ca0968 r21807: modularise the opendb code, so different backends can be
implemented. This will allow for a ctdb opendb backend.
2007-10-10 14:49:29 -05:00
Jelmer Vernooij
7cf9d07c88 r21669: Fix --enable-dso build 2007-10-10 14:49:07 -05:00
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