1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

15415 Commits

Author SHA1 Message Date
Jelmer Vernooij
a999a1fc99 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit 4dab354b62)
2008-02-26 13:07:55 +01:00
Michael Adam
901addd4a1 Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael
(This used to be commit 8a26a6e8f1)
2008-02-26 12:01:39 +01:00
Stefan Metzmacher
db2a2382d1 BASE-DEFER_OPEN: be less strict with to late responses
The server might be just busy.

metze
(This used to be commit 16c60cd347)
2008-02-26 10:31:37 +01:00
Stefan Metzmacher
9ddbdfa02c selftest: Samba4 passes all oplocks tests now
The support for oplocks is not completely finished
I believe we will not pass some non existing test.
But it's a good start.

metze
(This used to be commit 278eea57fa)
2008-02-26 09:33:01 +01:00
Stefan Metzmacher
fa2e4ba03c pvfs_setpathinfo: retry setpathinfo after oplock not granted on on setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO
metze
(This used to be commit 4e27ac8c52)
2008-02-26 09:33:00 +01:00
Stefan Metzmacher
4eb0fcc517 pvfs_open: add pvfs_can_update_file_size()
TODO: this is not complete, we need more tests to trigger this

metze
(This used to be commit 66ad1081f2)
2008-02-26 09:33:00 +01:00
Stefan Metzmacher
61e17794c3 pvfs_unlink: retry unlink after oplock not granted
metze
(This used to be commit 746e89ce2e)
2008-02-26 09:32:59 +01:00
Stefan Metzmacher
c0d1543a6a pvfs: add posix:oplocktimeout=30 option
metze
(This used to be commit 5abc57ddab)
2008-02-26 09:32:59 +01:00
Stefan Metzmacher
ee81b7a85e pvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and END_OF_FILE_INFO
metze
(This used to be commit b258f9d8d4)
2008-02-26 09:32:59 +01:00
Stefan Metzmacher
4344ac6209 pvfs: send oplock breaks to none to level2 holders on write/lock requests
metze
(This used to be commit b8c42a1ff8)
2008-02-26 09:32:58 +01:00
Stefan Metzmacher
348439e930 pvfs_oplocks: add pvfs_break_level2_oplocks()
metze
(This used to be commit e0837238b6)
2008-02-26 09:32:58 +01:00
Stefan Metzmacher
4ee328d7d2 pvfs: handle oplock releases in its own function pvfs_oplock_release()
metze
(This used to be commit 27ec7bfc8b)
2008-02-26 09:32:57 +01:00
Stefan Metzmacher
be1ba5b631 pvfs_open: call pvfs_setup_oplock() if an oplock was granted
This is needed to receive oplock breaks from other "processes"

metze
(This used to be commit dd56f55afd)
2008-02-26 09:32:57 +01:00
Stefan Metzmacher
95fafa694c pvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the client
metze
(This used to be commit b09a2b1267)
2008-02-26 09:32:57 +01:00
Stefan Metzmacher
d7ea52e9a3 pvfs_open: make the retry logic indepdendent from open and sharing violations
metze
(This used to be commit 56bd63a423)
2008-02-26 09:32:56 +01:00
Stefan Metzmacher
c93cf42d9f pvfs_open: fix odb_can_open() callers after prototype change
metze
(This used to be commit 904159327b)
2008-02-26 09:32:56 +01:00
Stefan Metzmacher
7264a8b7ca opendb: unify the parameters of odb_open_file() and odb_can_open()
metze
(This used to be commit e6b708a52b)
2008-02-26 09:32:56 +01:00
Stefan Metzmacher
9852e0d315 pvfs_open: pass down open_disposition and break_to_none to odb_open_file()
metze
(This used to be commit 46500983fe)
2008-02-26 09:32:55 +01:00
Stefan Metzmacher
facdc472c7 opendb: pass down open_disposition and break_to_none to odb_open_file()
metze
(This used to be commit aaaa26ae5e)
2008-02-26 09:32:55 +01:00
Stefan Metzmacher
69631a215b pvfs_setfileinfo_rename: map DELETE_PENDING to ACCESS_DENIED
This is needed as odb_can_open/pvfs_can_delete changed the return value.

metze
(This used to be commit 1ba0b9a8f1)
2008-02-26 09:31:20 +01:00
Stefan Metzmacher
476c9d10bb opendb_tdb: only file->delete_on_close == true should give DELETE_PENDING
metze
(This used to be commit 5b12157e0f)
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 65cfe71b26)
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 fbfe953ba3)
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 7872b05abe)
2008-02-26 09:29:41 +01:00
Stefan Metzmacher
e5547201af opendb_tdb: grant level2 oplocks
metze
(This used to be commit 57f1b9d11c)
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 bd3654500b)
2008-02-26 09:29:40 +01:00
Andrew Bartlett
3526d1d48c Remove more cruft about smbscript.
Andrew Bartlett
(This used to be commit f68fc4582d)
2008-02-26 16:24:09 +11:00
Andrew Bartlett
864328e656 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 35f7f488d8)
2008-02-26 16:19:57 +11:00
Andrew Bartlett
2c8415f767 Make use of smbpython clear.
Andrew Bartlett
(This used to be commit 98461d6053)
2008-02-26 16:19:42 +11:00
Kai Blin
1e5ced3793 howto: We need bin/smbpython to run python provisioning
(This used to be commit bb11071189)
2008-02-26 06:17:04 +01:00
Jelmer Vernooij
227df641f6 Revert cflags hack.
(This used to be commit c01c841cf9)
2008-02-26 03:28:44 +01:00
Jelmer Vernooij
42176ab7ef Use make to generate fragments rather than the perl code.
(This used to be commit 4e2ba19d52)
2008-02-26 02:54:34 +01:00
Jelmer Vernooij
895a0a3238 Move more code out of perl.
(This used to be commit ad258e8635)
2008-02-26 02:45:12 +01:00
Jelmer Vernooij
22ef67dd13 Fix the build (again).
(This used to be commit ef00f6b581)
2008-02-26 01:20:55 +01:00
Jelmer Vernooij
6fece9358b Fix the build.
(This used to be commit 59bf804ef6)
2008-02-26 00:40:40 +01:00
Jelmer Vernooij
5b0670ea53 Remove legacy code for public prototype headers.
(This used to be commit b5695abdc6)
2008-02-25 23:16:24 +01:00
Jelmer Vernooij
f112578843 Remove public prototype headers. Generating both public and private prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them.
(This used to be commit dee1cb6b08)
2008-02-25 23:09:56 +01:00
Jelmer Vernooij
be68e484c3 Remove binaries:: in favor of SBIN_PROGS, BIN_PROGS.
(This used to be commit a924c9cf6b)
2008-02-25 22:58:14 +01:00
Jelmer Vernooij
d15fd2c94f Use more make constructions for shared library bits.
(This used to be commit b2cd934d4d)
2008-02-25 22:10:59 +01:00
Jelmer Vernooij
16502898b6 Use make's $(call) feature.
(This used to be commit 4046ec8be0)
2008-02-25 21:34:13 +01:00
Jelmer Vernooij
b5bd663690 Fix use of realpath, fix init functions for ldb.
(This used to be commit ca510136d2)
2008-02-25 20:40:37 +01:00
Jelmer Vernooij
a17f0ab3e0 Update smb_build README.
(This used to be commit e8bfca15a3)
2008-02-25 20:39:29 +01:00
Jelmer Vernooij
d7b1bf7718 Remove obsolete comment.
(This used to be commit 5dda8b1eba)
2008-02-25 20:39:16 +01:00
Simo Sorce
0a8b1fd092 Update homepages for talloc, tdb and ldb subprojects
(This used to be commit 8cb07814bc)
2008-02-25 14:03:07 -05:00
Jelmer Vernooij
f5be3c3184 Merge env.pm into makefile.pm.
(This used to be commit 01a0d3e744)
2008-02-25 19:11:04 +01:00
Jelmer Vernooij
3f6a915f2b Move configure output details out of perl code.
(This used to be commit 7fe2d6666e)
2008-02-25 18:51:39 +01:00
Jelmer Vernooij
8e42aee98e Remove workaround for some non-GNU makes.
(This used to be commit d817bcdc29)
2008-02-25 18:44:52 +01:00
Jelmer Vernooij
6c3ff9acd1 Include CFLAGS overrides in make file.
(This used to be commit f05d5f839e)
2008-02-25 18:29:04 +01:00
Jelmer Vernooij
ab88018a6e Remove more unnecessary generated code.
(This used to be commit 7398bc1a9f)
2008-02-25 18:19:01 +01:00
Jelmer Vernooij
aab0ef161c Use more GNU-make specific variables.
(This used to be commit 1e710575c4)
2008-02-25 18:14:03 +01:00