Jelmer Vernooij
dd0da89e84
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
2008-04-17 13:05:25 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17 12:23:44 +02:00
Andrew Tridgell
30b9c37420
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
Conflicts:
source/ntvfs/ntvfs_generic.c
(This used to be commit a626a9c69cb2c07c8de69dcfe45361f86d6de58d)
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
baad7a7e56
ntvfs_generic: map SMB2 oplock levels to the generic ones
...
metze
(This used to be commit 9013748273378f88bfc66d3583814f0fee67c40f)
2008-04-17 03:54:26 +02:00
Jelmer Vernooij
14023e502b
Require explicit event context rather than looking if it is not specified.
...
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
c15ffa27cb
Explicitly require event context to be specified.
...
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
a195cd9d8f
Use readily available event context.
...
(This used to be commit 2823fca23a4cacc996c808f22cba50b4482b5921)
2008-04-16 22:52:07 +02:00
Andrew Tridgell
b967afca64
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e891157b4ec7b2f845fb20c4106d80bf169f2072)
2008-04-15 09:54:41 +02:00
Andrew Tridgell
79af7ff2f7
fixed a valgrind error in id mapping
...
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit 2ebd7b80998775168959d511fbc987f8b5b7bd34)
2008-04-14 18:59:40 +02:00
Andrew Tridgell
292ed5d04f
fixed an unitialised write warning in valgrind
...
the 'reserved' field was not being initialised before being pushed to
the wire
(This used to be commit dfe4b5009885c4eeca24569f35b9fc85bfe6346b)
2008-04-14 18:44:43 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
7cf29ac84e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 9d3d64e1387e9f20383c255bba27128cf4b9519e)
2008-04-14 11:55:19 +02:00
Jelmer Vernooij
f78bc8c489
Remove prototypes from build.h in preparation of removing build.h
...
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-14 11:54:50 +02:00
Andrew Tridgell
275f32ae2d
fill in unknown fields in SMB2 READ call
...
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
2008-04-14 11:31:17 +02:00
Jelmer Vernooij
b5d84a74d1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/makefile.pm
source/heimdal_build/config.mk
source/lib/events/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/registry/config.mk
source/lib/socket_wrapper/config.mk
source/lib/tdb/config.mk
source/lib/tls/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/scripting/ejs/config.mk
source/smbd/process_model.mk
(This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-08 03:45:06 +02:00
Kai Blin
4133bd85e9
ntvfs: Use wbclient for pvfs_acl and pvfs_acl_nfs4
...
(This used to be commit ac5e5fee1db2999053dee82d1fcf97ca8799c9b5)
2008-04-02 23:07:27 +02:00
Kai Blin
a71f36e2b8
ntvfs: Use wbclient in vsf_unixuid, not sidmap
...
(This used to be commit 2908a77fa5c32e92665775a5785345f704202f0a)
2008-04-02 23:07:17 +02:00
Jelmer Vernooij
236fc02913
Reduce the number of installed headers.
...
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-04-02 13:41:10 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
90f76ae99b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit 4e0b94d648e955b950c50d2ac19e17b06ee1f818)
2008-03-28 00:59:54 +01:00
Jelmer Vernooij
18d80bdf1f
Merge v4.0-test
...
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-28 00:44:14 +01:00
Andrew Bartlett
7f2927528c
Fix references to ntvfs share config
...
Andrew Bartlett
(This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
2008-03-27 20:40:40 +11:00
Andrew Bartlett
4fc27c9969
Make oplocks a per-share option.
...
This even goes via the share options system (a very odd layer of indirection).
Andrew Bartlett
(This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
2008-03-27 20:32:02 +11:00
Stefan Metzmacher
71e2f7d260
opendb_tdb: enable oplocks per default
...
metze
(This used to be commit 225a9852eeee66f22a4135a660f18b70666c1c5f)
2008-03-27 10:11:48 +01:00
Stefan Metzmacher
e76c8aa097
pvfs_open: set h->have_opendb_entry directly after odb_open_file()
...
Otherwise we may not clean up in the destructor.
metze
(This used to be commit 218ec98a1694080748d1ac12baa90ffcda364833)
2008-03-15 12:36:20 +01:00
Stefan Metzmacher
74d940ca57
pvfs_open: the pvfs_odb_retry structs need to be children of the request
...
Otherwise they're not cleaned up when the request is finished.
metze
(This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a)
2008-03-15 12:35:04 +01:00
Stefan Metzmacher
1f65ddb336
pvfs_unlink: disable async retries for wildcard deletes
...
We would setup multiple retries per client request.
metze
(This used to be commit 951764e28407a53ea4dd39d34388fab1b2259785)
2008-03-15 12:22:36 +01:00
Stefan Metzmacher
50243cdbbd
pvfs_open: retry pvfs_open() after an EGAIN or EWOULDBLOCK from open()
...
In case a unix application as an oplock or share mode on
a file we need to retry periodicly as there's no way
to get a notification from the kernel when the oplock
is released.
metze
(This used to be commit 4d40f3a02643b4cdacee31f0b7bc9fc77cc9869a)
2008-03-12 17:35:07 +01:00
Stefan Metzmacher
454e9bed04
pvfs_open: pass O_NONBLOCK to open() so that we'll not block with kernel oplocks
...
metze
(This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
2008-03-12 17:35:06 +01:00
Stefan Metzmacher
49c86b73bf
opendb_tdb: use sys_lease to setup kernel oplocks
...
metze
(This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12 17:35:06 +01:00
Stefan Metzmacher
d93f2f2e80
ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASE
...
metze
(This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
2008-03-12 17:35:06 +01:00
Stefan Metzmacher
c3643d0ec8
ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocks
...
metze
(This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
2008-03-12 17:35:05 +01:00
Stefan Metzmacher
7ba236d78e
pvfs_open: pass down &f->handle->fd to odb_open_file()
...
metze
(This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
2008-03-12 17:35:04 +01:00
Stefan Metzmacher
59917521e9
opendb: pass down a pointer to the fd in odb_open_file()
...
This prepares kernel oplock support.
metze
(This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-12 17:35:04 +01:00
Stefan Metzmacher
7cdf28ebac
ntvfs/cifs: fix the fnum on RAW_RENAME_NTTRANS
...
metze
(This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
2008-03-12 17:35:03 +01:00
Stefan Metzmacher
f533d6d8a2
pvfs_rename: implement RAW_RENAME_NTTRANS as noop as w2k3
...
metze
(This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
2008-03-12 17:14:44 +01:00
Stefan Metzmacher
8e70dc7e9a
pvfs: return NT_STATUS_NOT_IMPLEMENTED on RAW_RENAME_NTTRANS
...
metze
(This used to be commit 6dc280731d071681b635a2f091be2b153a902080)
2008-03-11 20:16:52 +01:00
Jelmer Vernooij
fb6fdfce37
Fix the build.
...
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08 17:02:40 +01:00
Jelmer Vernooij
2bf39edc9d
Push SOVERSION and VERSION out of perl code.
...
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
0c6de7c959
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit cffaf5f6030b5d9b6d4d802b557fd8ea7afd043d)
2008-03-08 15:27:32 +01:00
Stefan Metzmacher
db06d932c8
opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lock
...
That means we only have to parse the record once
and as the tdb record is locked the in memory copy
is always the same as the one in the tdb.
metze
(This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
2008-03-08 09:28:17 +01:00
Stefan Metzmacher
11fb55e8a4
opendb_tdb: correctly initialize modified to false
...
Otherwise this variable would never change its value...
metze
(This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
2008-03-08 09:28:17 +01:00
Jelmer Vernooij
87abb775ce
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit ac27a1451dfe5c0c957e93fdc84602c3c1c7deac)
2008-03-07 23:02:36 +01:00
Stefan Metzmacher
db669e1eb1
pvfs_open: fix the odb_open_file() callers
...
metze
(This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
2008-03-07 19:35:17 +01:00
Stefan Metzmacher
e5e799aeb6
opendb: force odb_can_open() before odb_open_file()
...
Now there's only odb_can_open() which handles the
share_access rules.
And odb_open_file() only adds the new opendb_entry into the
database and calculates the granted oplock level.
metze
(This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
2008-03-07 19:35:12 +01:00
Stefan Metzmacher
75a412a469
pvfs_open: always call odb_can_open() before odb_open_file()
...
odb_open_file() will later change to not redo the logic of
odb_can_open().
metze
(This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
2008-03-07 19:15:27 +01:00
Stefan Metzmacher
6c27daeeca
opendb_tdb: pass down struct messaging_context directly to odb_oplock_break_send()
...
metze
(This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
2008-03-07 19:15:21 +01:00
Stefan Metzmacher
b655468cf6
vfs_cifs: disable level2 oplocks if the frontend client doesn't support them
...
metze
(This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)
2008-03-07 19:15:19 +01:00
Jelmer Vernooij
fc2cd5ed63
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
2008-03-07 18:03:54 +01:00