Stefan Metzmacher
facdc472c7
opendb: pass down open_disposition and break_to_none to odb_open_file()
...
metze
(This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)
2008-02-26 09:32:55 +01:00
Stefan Metzmacher
476c9d10bb
opendb_tdb: only file->delete_on_close == true should give DELETE_PENDING
...
metze
(This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)
2008-02-26 09:29:42 +01:00
Stefan Metzmacher
d1fb021300
opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()
...
metze
(This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)
2008-02-26 09:29:41 +01:00
Stefan Metzmacher
940e86132d
opendb_tdb: add force break to none logic
...
metze
(This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)
2008-02-26 09:29:41 +01:00
Stefan Metzmacher
c749b66ead
opendb_tdb: attribute only opens doesn't conflict with BATCH oplocks
...
metze
(This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)
2008-02-26 09:29:41 +01:00
Stefan Metzmacher
e5547201af
opendb_tdb: grant level2 oplocks
...
metze
(This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)
2008-02-26 09:29:40 +01:00
Stefan Metzmacher
f94008e45a
opendb: add odb_break_oplocks() function
...
This send breaks to none to all level2 holders
metze
(This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)
2008-02-26 09:29:40 +01:00
Stefan Metzmacher
71943b209b
opendb: add odb_update_oplock() call
...
metze
(This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
2008-02-25 11:51:17 +01:00
Stefan Metzmacher
6cb9c1c61d
opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK
...
metze
(This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
2008-02-25 11:50:39 +01:00
Stefan Metzmacher
27e322bb4d
opendb: add odb_get_key() function to get the key back from a struct odb_lock
...
metze
(This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
2008-02-25 11:50:30 +01:00
Jelmer Vernooij
2da3464080
r26670: Janitorial: Remove global_loadparm uses.
...
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
2008-01-05 09:42:02 -06:00
Jelmer Vernooij
7d5f0e0893
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
...
(This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
...
(This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
e31abef15f
r26440: Remove more uses of global_loadparm.
...
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
2007-12-21 05:50:08 +01:00
Jelmer Vernooij
61873ce94c
r26431: Require ndr_push creators to specify a iconv_convenience context.
...
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21 05:50:00 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
a72c5053c5
r26353: Remove use of global_loadparm.
...
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
51db4c3f3d
r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack.
...
(This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
2007-12-21 05:47:05 +01:00
Jelmer Vernooij
ca0b72a1fd
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
...
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21 05:45:40 +01:00
Stefan Metzmacher
529763a9aa
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
...
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/
metze
(This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
2151cde580
r25554: Convert last instances of BOOL, True and False to the standard types.
...
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
8d182d881d
r24816: Move the rest of the contents of core.h to more appropriate places.
...
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10 15:02:54 -05:00
Andrew Tridgell
fe5124e38d
r24642: prevent recursion with fetch_locked
...
add a note about server_id exists checking
(This used to be commit dd951b983c0cde2dd54c5370dc8d6440509b0559)
2007-10-10 15:02:29 -05:00
Andrew Tridgell
4792285282
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
(This used to be commit 912c014b7c131ab051ff6eb2db4e68cb6fbbeb14)
2007-10-10 15:01:36 -05:00
Andrew Tridgell
0479a2f1cb
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.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
0543c06d25
r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTED
...
metze
(This used to be commit 83a61a2892539b2bcfbdaac7ca169c99f2b4503a)
2007-10-10 14:52:25 -05:00
Andrew Tridgell
66156220eb
r22082: merged the ctdb changes from bzr
...
added opendb ctdb backend from ronnie
(This used to be commit b0da25cb79f860bfa14ba7a8419c7996d936292b)
2007-10-10 14:49:48 -05:00
Andrew Tridgell
676a04a056
r21807: modularise the opendb code, so different backends can be
...
implemented. This will allow for a ctdb opendb backend.
(This used to be commit 6b91ca0968209ad17489341c78d9610607cc8320)
2007-10-10 14:49:29 -05:00
Jelmer Vernooij
bedf53f9e0
r21669: Fix --enable-dso build
...
(This used to be commit 7cf9d07c88b0c81777bb9363d445ac657982a366)
2007-10-10 14:49:07 -05:00
Volker Lendecke
a80732cf00
r20983: Two no-mem error returns
...
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)
2007-10-10 14:44:17 -05:00
Volker Lendecke
67f494d72a
r20972: "private" -> "private_data"
...
(This used to be commit 8cbcd3d1cbb0661b1767bb7ace0804cf9a573e34)
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 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
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
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
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
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
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
Andrew Tridgell
971d30bb20
r15854: more talloc_set_destructor() typesafe fixes
...
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10 14:08:32 -05:00
Andrew Tridgell
225d6485eb
r15797: fixed a notify bug, where a notify_remove() is beyond the current max
...
depth
(This used to be commit 2ebcfcc6dadd4a420431c733bb12fe7719057fd6)
2007-10-10 14:08:21 -05:00
Stefan Metzmacher
9ef33f5f5c
r15734: This is a major change to the NTVFS subsystem:
...
- to use a struct ntvfs_handle instead of a uint16_t fnum.
(to make it independend from the frontend protocol)
- the allocation of handles now is provided by the frontend
(smbsrv_*) via callbacks and not by each backend module
- this also makes sure that file handles are only passed
to the ntvfs subsystem when the tcon and session matches,
so modules can rely on this and need to check this.
- this allows multiple modules in the ntvfs module chain
to allocate file handles. This can be used for virtual
files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"...
- also this will make SMB2 with 128 bit file handles possible
metze
(This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
5e6d1ea261
r15614: the byte range locking error handling caches the last failed lock
...
per file handle and not per tree connect
metze
(This used to be commit 5d825261c0b8341f0a7f0f6d96d83807352566f4)
2007-10-10 14:07:00 -05:00