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

15598 Commits

Author SHA1 Message Date
Michael Adam
b6f8132e92 libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.

Michael
(This used to be commit e7c1d6513b)
2008-02-27 01:41:30 +01:00
Michael Adam
3a90bed29f libreplace: fix standalone build on some systems.
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".

Michael
(This used to be commit cd95c702ed)
2008-02-27 01:29:12 +01:00
Jelmer Vernooij
b3d2a56df2 Fix module aliases.
(This used to be commit 584a69acc5)
2008-02-26 17:56:07 +01:00
Jelmer Vernooij
c5d77a1c24 Move public header accumulation out of the perl code.
(This used to be commit 89f7c74924)
2008-02-26 17:17:52 +01:00
Jelmer Vernooij
e8c62dc6da Ignore autogenerated file.
(This used to be commit a611ff9101)
2008-02-26 16:55:08 +01:00
Jelmer Vernooij
2ca7dfe20c Fix pydoctor.
(This used to be commit 023025e4de)
2008-02-26 16:51:50 +01:00
Michael Adam
2846417917 libreplace: Add tests for connect and gethostbyname.
Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.

One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.

Michael
(This used to be commit 900d17acb9)
2008-02-26 16:41:09 +01:00
Michael Adam
bcca7d43c8 pidl: Remove superfluous semicolon in perl code.
Michael
(This used to be commit 85f707c6ab)
2008-02-26 16:41:09 +01:00
Jelmer Vernooij
5874c53eba Support building .so versions of the modules.
(This used to be commit 673fb9c185)
2008-02-26 16:36:24 +01:00
Jelmer Vernooij
ef15b28d24 use make macro for python.
(This used to be commit b0408abb08)
2008-02-26 16:02:51 +01:00
Jelmer Vernooij
bfc99f15a1 Fix manpage paths.
(This used to be commit f7d0f0582e)
2008-02-26 15:19:45 +01:00
Jelmer Vernooij
c8af9559dc Move manpage management out of the perl build system.
(This used to be commit a660ab262e)
2008-02-26 15:11:47 +01:00
Jelmer Vernooij
ceb2bb16b5 Fix include.
(This used to be commit 1448639ec7)
2008-02-26 14:54:31 +01:00
Stefan Metzmacher
9d6ce7efaa RAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocks
metze
(This used to be commit 4d17d44d3f)
2008-02-26 14:52:50 +01:00
Jelmer Vernooij
0493c5a500 Move common rules code to separate directory.
(This used to be commit 803ebd6479)
2008-02-26 14:48:11 +01:00
Jelmer Vernooij
39eb630391 Rely on GNU make to build static libraries.
Conflicts:

	source/build/smb_build/makefile.pm
(This used to be commit f34a17a92b)
2008-02-26 14:20:31 +01:00
Stefan Metzmacher
2b94ffe5e7 opendb_tdb: with break_to_none attribute only opens also break oplocks
metze
(This used to be commit c475353e34)
2008-02-26 13:53:33 +01:00
Stefan Metzmacher
55377f0352 pvfs_open: pass down an access mask to pvfs_can_update_file_size()
You just need SEC_FILE_WRITE_ATTRIBUTE to change
the filesize...

metze
(This used to be commit 27e39063a0)
2008-02-26 13:53:15 +01:00
Stefan Metzmacher
c62faaa75e pvfs_qfileinfo: down discard the return value of pvfs_can_stat()
The odb_can_open() code returns DELETE_PENDING if
a delete is really pending.

metze
(This used to be commit 066ba3c7cf)
2008-02-26 13:52:34 +01:00
Stefan Metzmacher
b40be554e7 pvfs_open: pass down an access mask in pvfs_can_stat()
metze
(This used to be commit 6c34c7bc68)
2008-02-26 13:52:34 +01:00
Stefan Metzmacher
9f8fc29ea4 pvfs_open: pass NTCREATEX_DISP_OPEN to odb_can_open()
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here.

metze
(This used to be commit 10c42e3d4a)
2008-02-26 13:52:33 +01:00
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