ira/wip.git
16 years agoFix pydoctor.
Jelmer Vernooij [Tue, 26 Feb 2008 15:51:50 +0000 (16:51 +0100)]
Fix pydoctor.
(This used to be commit 023025e4de119aa234f885aa6e5594660bd8f358)

16 years agoSupport building .so versions of the modules.
Jelmer Vernooij [Tue, 26 Feb 2008 15:36:24 +0000 (16:36 +0100)]
Support building .so versions of the modules.
(This used to be commit 673fb9c1855f9d61d4d311bcd5e3fea0210fe6ed)

16 years agouse make macro for python.
Jelmer Vernooij [Tue, 26 Feb 2008 15:02:51 +0000 (16:02 +0100)]
use make macro for python.
(This used to be commit b0408abb08648c0155d8f5da5fb299b1acbc09b6)

16 years agoFix manpage paths.
Jelmer Vernooij [Tue, 26 Feb 2008 14:19:45 +0000 (15:19 +0100)]
Fix manpage paths.
(This used to be commit f7d0f0582e8712fd8d005906803de8fe041e875f)

16 years agoMove manpage management out of the perl build system.
Jelmer Vernooij [Tue, 26 Feb 2008 14:11:47 +0000 (15:11 +0100)]
Move manpage management out of the perl build system.
(This used to be commit a660ab262e7202baccf16cb8b2bc47cb8efacc34)

16 years agoFix include.
Jelmer Vernooij [Tue, 26 Feb 2008 13:54:31 +0000 (14:54 +0100)]
Fix include.
(This used to be commit 1448639ec7cc7f4512a0fd07b4c2e0df51e781e3)

16 years agoMove common rules code to separate directory.
Jelmer Vernooij [Tue, 26 Feb 2008 13:48:11 +0000 (14:48 +0100)]
Move common rules code to separate directory.
(This used to be commit 803ebd6479ae388ae65de8de7fb88600452d47df)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Tue, 26 Feb 2008 12:07:55 +0000 (13:07 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit 4dab354b626a02e9a5f5cac0d374d18e22718e18)

16 years agoFix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael Adam [Tue, 26 Feb 2008 10:18:51 +0000 (11:18 +0100)]
Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.

Michael
(This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)

16 years agoBASE-DEFER_OPEN: be less strict with to late responses
Stefan Metzmacher [Tue, 26 Feb 2008 09:31:37 +0000 (10:31 +0100)]
BASE-DEFER_OPEN: be less strict with to late responses

The server might be just busy.

metze
(This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)

16 years agoselftest: Samba4 passes all oplocks tests now
Stefan Metzmacher [Sat, 23 Feb 2008 10:54:01 +0000 (11:54 +0100)]
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 278eea57fa9f59908672c935187f942e7780f0aa)

16 years agopvfs_setpathinfo: retry setpathinfo after oplock not granted on on setpathinfo ALLOCA...
Stefan Metzmacher [Sat, 23 Feb 2008 10:50:19 +0000 (11:50 +0100)]
pvfs_setpathinfo: retry setpathinfo after oplock not granted on on setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO

metze
(This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)

16 years agopvfs_open: add pvfs_can_update_file_size()
Stefan Metzmacher [Sat, 23 Feb 2008 10:49:39 +0000 (11:49 +0100)]
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 66ad1081f2be8a0caa16fb0d614b857a5bde751c)

16 years agopvfs_unlink: retry unlink after oplock not granted
Stefan Metzmacher [Fri, 22 Feb 2008 10:52:17 +0000 (11:52 +0100)]
pvfs_unlink: retry unlink after oplock not granted

metze
(This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)

16 years agopvfs: add posix:oplocktimeout=30 option
Stefan Metzmacher [Mon, 25 Feb 2008 18:17:45 +0000 (19:17 +0100)]
pvfs: add posix:oplocktimeout=30 option

metze
(This used to be commit 5abc57ddab558c13db3864d13afc2ad3b1641d1c)

16 years agopvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and END_OF_FI...
Stefan Metzmacher [Sat, 23 Feb 2008 10:46:43 +0000 (11:46 +0100)]
pvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and END_OF_FILE_INFO

metze
(This used to be commit b258f9d8d4bf3606f4884d1bff548f16dadc08aa)

16 years agopvfs: send oplock breaks to none to level2 holders on write/lock requests
Stefan Metzmacher [Fri, 22 Feb 2008 15:34:50 +0000 (16:34 +0100)]
pvfs: send oplock breaks to none to level2 holders on write/lock requests

metze
(This used to be commit b8c42a1ff8fd4131ef2a1ad92a7405a2e4d335d3)

16 years agopvfs_oplocks: add pvfs_break_level2_oplocks()
Stefan Metzmacher [Fri, 22 Feb 2008 15:34:50 +0000 (16:34 +0100)]
pvfs_oplocks: add pvfs_break_level2_oplocks()

metze
(This used to be commit e0837238b6b09143970f03b6a78201c3fe55f3cd)

16 years agopvfs: handle oplock releases in its own function pvfs_oplock_release()
Stefan Metzmacher [Mon, 25 Feb 2008 08:51:58 +0000 (09:51 +0100)]
pvfs: handle oplock releases in its own function pvfs_oplock_release()

metze
(This used to be commit 27ec7bfc8b7f46c97e6878caf5cd694c517ce053)

16 years agopvfs_open: call pvfs_setup_oplock() if an oplock was granted
Stefan Metzmacher [Mon, 25 Feb 2008 07:39:13 +0000 (08:39 +0100)]
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 dd56f55afdc0d114a0b0bceb0e4feb022919323a)

16 years agopvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the client
Stefan Metzmacher [Mon, 25 Feb 2008 07:32:35 +0000 (08:32 +0100)]
pvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the client

metze
(This used to be commit b09a2b126723bd75afd245f549703a04e512e129)

16 years agopvfs_open: make the retry logic indepdendent from open and sharing violations
Stefan Metzmacher [Thu, 21 Feb 2008 16:48:13 +0000 (17:48 +0100)]
pvfs_open: make the retry logic indepdendent from open and sharing violations

metze
(This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)

16 years agopvfs_open: fix odb_can_open() callers after prototype change
Stefan Metzmacher [Mon, 25 Feb 2008 16:50:22 +0000 (17:50 +0100)]
pvfs_open: fix odb_can_open() callers after prototype change

metze
(This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)

16 years agoopendb: unify the parameters of odb_open_file() and odb_can_open()
Stefan Metzmacher [Mon, 25 Feb 2008 16:48:13 +0000 (17:48 +0100)]
opendb: unify the parameters of odb_open_file() and odb_can_open()

metze
(This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)

16 years agopvfs_open: pass down open_disposition and break_to_none to odb_open_file()
Stefan Metzmacher [Mon, 25 Feb 2008 15:49:40 +0000 (16:49 +0100)]
pvfs_open: pass down open_disposition and break_to_none to odb_open_file()

metze
(This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)

16 years agoopendb: pass down open_disposition and break_to_none to odb_open_file()
Stefan Metzmacher [Mon, 25 Feb 2008 15:47:48 +0000 (16:47 +0100)]
opendb: pass down open_disposition and break_to_none to odb_open_file()

metze
(This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)

16 years agopvfs_setfileinfo_rename: map DELETE_PENDING to ACCESS_DENIED
Stefan Metzmacher [Tue, 26 Feb 2008 08:14:54 +0000 (09:14 +0100)]
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 1ba0b9a8f1f84c7c949b3d184843462b87446707)

16 years agoopendb_tdb: only file->delete_on_close == true should give DELETE_PENDING
Stefan Metzmacher [Mon, 25 Feb 2008 19:20:35 +0000 (20:20 +0100)]
opendb_tdb: only file->delete_on_close == true should give DELETE_PENDING

metze
(This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)

16 years agoopendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()
Stefan Metzmacher [Mon, 25 Feb 2008 15:26:04 +0000 (16:26 +0100)]
opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()

metze
(This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)

16 years agoopendb_tdb: add force break to none logic
Stefan Metzmacher [Mon, 25 Feb 2008 15:14:23 +0000 (16:14 +0100)]
opendb_tdb: add force break to none logic

metze
(This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)

16 years agoopendb_tdb: attribute only opens doesn't conflict with BATCH oplocks
Stefan Metzmacher [Fri, 22 Feb 2008 16:26:40 +0000 (17:26 +0100)]
opendb_tdb: attribute only opens doesn't conflict with BATCH oplocks

metze
(This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)

16 years agoopendb_tdb: grant level2 oplocks
Stefan Metzmacher [Fri, 22 Feb 2008 16:26:40 +0000 (17:26 +0100)]
opendb_tdb: grant level2 oplocks

metze
(This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)

16 years agoopendb: add odb_break_oplocks() function
Stefan Metzmacher [Fri, 22 Feb 2008 15:30:13 +0000 (16:30 +0100)]
opendb: add odb_break_oplocks() function

This send breaks to none to all level2 holders

metze
(This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)

16 years agoRemove more cruft about smbscript.
Andrew Bartlett [Tue, 26 Feb 2008 05:24:09 +0000 (16:24 +1100)]
Remove more cruft about smbscript.

Andrew Bartlett
(This used to be commit f68fc4582d446bbf48ebafcbd4a0e1862b1e9aae)

16 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Tue, 26 Feb 2008 05:19:57 +0000 (16:19 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 35f7f488d84e3ec3224f3b40ff5881e91c11764d)

16 years agoMake use of smbpython clear.
Andrew Bartlett [Tue, 26 Feb 2008 05:19:42 +0000 (16:19 +1100)]
Make use of smbpython clear.

Andrew Bartlett
(This used to be commit 98461d6053b9ad98a372ec59ded2c7eaade99640)

16 years agohowto: We need bin/smbpython to run python provisioning
Kai Blin [Tue, 26 Feb 2008 05:17:04 +0000 (06:17 +0100)]
howto: We need bin/smbpython to run python provisioning
(This used to be commit bb1107118951aa37c69b053f5cae624706966f1e)

16 years agoRevert cflags hack.
Jelmer Vernooij [Tue, 26 Feb 2008 02:28:44 +0000 (03:28 +0100)]
Revert cflags hack.
(This used to be commit c01c841cf953550b21a6a84b0cb036bdfd436e13)

16 years agoUse make to generate fragments rather than the perl code.
Jelmer Vernooij [Tue, 26 Feb 2008 01:54:34 +0000 (02:54 +0100)]
Use make to generate fragments rather than the perl code.
(This used to be commit 4e2ba19d525da53592890380ae3570fc5bb0bfb9)

16 years agoMove more code out of perl.
Jelmer Vernooij [Tue, 26 Feb 2008 01:45:12 +0000 (02:45 +0100)]
Move more code out of perl.
(This used to be commit ad258e86353250fd447d461c94649c1541b37844)

16 years agoFix the build (again).
Jelmer Vernooij [Tue, 26 Feb 2008 00:20:55 +0000 (01:20 +0100)]
Fix the build (again).
(This used to be commit ef00f6b5817107738dc44367838095896af4e77d)

16 years agoFix the build.
Jelmer Vernooij [Mon, 25 Feb 2008 23:40:40 +0000 (00:40 +0100)]
Fix the build.
(This used to be commit 59bf804ef64d87fa76fe41063f91c35cf805a779)

16 years agoRemove legacy code for public prototype headers.
Jelmer Vernooij [Mon, 25 Feb 2008 22:16:24 +0000 (23:16 +0100)]
Remove legacy code for public prototype headers.
(This used to be commit b5695abdc6fe90c8a348ac8510a1bad6f6bbdede)

16 years agoRemove public prototype headers. Generating both public and private prototype headers...
Jelmer Vernooij [Mon, 25 Feb 2008 22:09:56 +0000 (23:09 +0100)]
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 dee1cb6b08aa0a3e24372e052729121c11280971)

16 years agoRemove binaries:: in favor of SBIN_PROGS, BIN_PROGS.
Jelmer Vernooij [Mon, 25 Feb 2008 21:58:14 +0000 (22:58 +0100)]
Remove binaries:: in favor of SBIN_PROGS, BIN_PROGS.
(This used to be commit a924c9cf6b4f52ff6b403c683d32b7826e72c3d7)

16 years agoUse more make constructions for shared library bits.
Jelmer Vernooij [Mon, 25 Feb 2008 21:10:59 +0000 (22:10 +0100)]
Use more make constructions for shared library bits.
(This used to be commit b2cd934d4d37516fe65a3b9c44d7c92622fecf99)

16 years agoUse make's $(call) feature.
Jelmer Vernooij [Mon, 25 Feb 2008 20:34:13 +0000 (21:34 +0100)]
Use make's $(call) feature.
(This used to be commit 4046ec8be08bb940ec60390c4f2e1719e14b858d)

16 years agoFix use of realpath, fix init functions for ldb.
Jelmer Vernooij [Mon, 25 Feb 2008 19:40:37 +0000 (20:40 +0100)]
Fix use of realpath, fix init functions for ldb.
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)

16 years agoUpdate smb_build README.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:29 +0000 (20:39 +0100)]
Update smb_build README.
(This used to be commit e8bfca15a33365e9bfbdd8422f0aa7353e16446e)

16 years agoRemove obsolete comment.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:16 +0000 (20:39 +0100)]
Remove obsolete comment.
(This used to be commit 5dda8b1eba628c40f0ddad93b73c0a749ac3e908)

16 years agoUpdate homepages for talloc, tdb and ldb subprojects
Simo Sorce [Mon, 25 Feb 2008 19:03:07 +0000 (14:03 -0500)]
Update homepages for talloc, tdb and ldb subprojects
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)

16 years agoMerge env.pm into makefile.pm.
Jelmer Vernooij [Mon, 25 Feb 2008 18:11:04 +0000 (19:11 +0100)]
Merge env.pm into makefile.pm.
(This used to be commit 01a0d3e74404d382c3cb74dbe385a4e9115b9b74)

16 years agoMove configure output details out of perl code.
Jelmer Vernooij [Mon, 25 Feb 2008 17:51:39 +0000 (18:51 +0100)]
Move configure output details out of perl code.
(This used to be commit 7fe2d6666e6a1ae6a9453ccbe9a0a9136f028e55)

16 years agoRemove workaround for some non-GNU makes.
Jelmer Vernooij [Mon, 25 Feb 2008 17:44:52 +0000 (18:44 +0100)]
Remove workaround for some non-GNU makes.
(This used to be commit d817bcdc290cb03a16f10a11250ae35c1d36c848)

16 years agoInclude CFLAGS overrides in make file.
Jelmer Vernooij [Mon, 25 Feb 2008 17:29:04 +0000 (18:29 +0100)]
Include CFLAGS overrides in make file.
(This used to be commit f05d5f839e18e078a59ccd262fbffaa2eb4e3672)

16 years agoRemove more unnecessary generated code.
Jelmer Vernooij [Mon, 25 Feb 2008 17:19:01 +0000 (18:19 +0100)]
Remove more unnecessary generated code.
(This used to be commit 7398bc1a9f0d3cf30db3187a3849dbea6b846bb2)

16 years agoUse more GNU-make specific variables.
Jelmer Vernooij [Mon, 25 Feb 2008 17:14:03 +0000 (18:14 +0100)]
Use more GNU-make specific variables.
(This used to be commit 1e710575c408ca57b52d0548f2fa4ea713ded03c)

16 years agoMove automatic dependencies code out of perl code.
Jelmer Vernooij [Mon, 25 Feb 2008 17:05:47 +0000 (18:05 +0100)]
Move automatic dependencies code out of perl code.
(This used to be commit 9e9d98d75d52846bca88ec7d12b91b140b069868)

16 years agoFix standalone ldb build modules.
Jelmer Vernooij [Mon, 25 Feb 2008 16:33:28 +0000 (17:33 +0100)]
Fix standalone ldb build modules.
(This used to be commit 0b133a30a23757cf463ff22dff6372ae5e11d4c7)

16 years agoAllow absolute paths to be specified to mkproto.pl.
Jelmer Vernooij [Mon, 25 Feb 2008 16:20:33 +0000 (17:20 +0100)]
Allow absolute paths to be specified to mkproto.pl.
(This used to be commit 6d9fa75a9273d2622642bfe93b2fa470aa95949a)

16 years agoUse $@ where possible.
Jelmer Vernooij [Mon, 25 Feb 2008 14:59:34 +0000 (15:59 +0100)]
Use $@ where possible.
(This used to be commit 1353e3e46a699b77f04fb0e69900bec9b15e0d48)

16 years agoUse realpath for now to work around .. tricks.
Jelmer Vernooij [Mon, 25 Feb 2008 14:53:38 +0000 (15:53 +0100)]
Use realpath for now to work around .. tricks.
(This used to be commit c43b0d43cde11991723eff53fefdc38ca036a67e)

16 years agoRemove unused include.
Jelmer Vernooij [Mon, 25 Feb 2008 14:48:35 +0000 (15:48 +0100)]
Remove unused include.
(This used to be commit 778e37480fb83c750ef76a625a5df74df276c65d)

16 years agoRemove the now unused cflags script.
Jelmer Vernooij [Mon, 25 Feb 2008 14:39:46 +0000 (15:39 +0100)]
Remove the now unused cflags script.
(This used to be commit c8b00610428208266d3cad69d70f01c8f4d3a85b)

16 years agoUse addprefix where possible rather than perl expansion of files.
Jelmer Vernooij [Mon, 25 Feb 2008 14:28:55 +0000 (15:28 +0100)]
Use addprefix where possible rather than perl expansion of files.
(This used to be commit b136ee5d344b1f1b2de697afd6815b8c3cb770ba)

16 years agoFix the build.
Jelmer Vernooij [Mon, 25 Feb 2008 14:06:51 +0000 (15:06 +0100)]
Fix the build.
(This used to be commit 40476bce2e9b4ac6363fe27f1409eee1a3ed4157)

16 years agoIntegrate asn1 compilation into asn1 compiler.
Jelmer Vernooij [Mon, 25 Feb 2008 13:02:40 +0000 (14:02 +0100)]
Integrate asn1 compilation into asn1 compiler.
(This used to be commit ca8e347baf67a2f5cdffd7ea1677dab75687b037)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Mon, 25 Feb 2008 11:58:09 +0000 (12:58 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3

Conflicts:

source/build/smb_build/header.pm
source/build/smb_build/makefile.pm
source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)

16 years agoopendb: add odb_update_oplock() call
Stefan Metzmacher [Thu, 21 Feb 2008 15:12:27 +0000 (16:12 +0100)]
opendb: add odb_update_oplock() call

metze
(This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)

16 years agoopendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK
Stefan Metzmacher [Thu, 21 Feb 2008 11:20:31 +0000 (12:20 +0100)]
opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK

metze
(This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)

16 years agoopendb: add odb_get_key() function to get the key back from a struct odb_lock
Stefan Metzmacher [Fri, 22 Feb 2008 09:18:13 +0000 (10:18 +0100)]
opendb: add odb_get_key() function to get the key back from a struct odb_lock

metze
(This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)

16 years agopvfs_unlink: move stream logic into pvfs_unlink_one()
Stefan Metzmacher [Fri, 22 Feb 2008 08:41:41 +0000 (09:41 +0100)]
pvfs_unlink: move stream logic into pvfs_unlink_one()

metze
(This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)

16 years agopvfs_unlink: splitup the logic into generic and file specific functions
Stefan Metzmacher [Fri, 22 Feb 2008 08:37:22 +0000 (09:37 +0100)]
pvfs_unlink: splitup the logic into generic and file specific functions

metze
(This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)

16 years agopvfs_unlink: add a fast path for the non wildcard case
Stefan Metzmacher [Fri, 22 Feb 2008 08:30:51 +0000 (09:30 +0100)]
pvfs_unlink: add a fast path for the non wildcard case

metze
(This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)

16 years agopvfs_unlink: move !name->stream_exists into the caller
Stefan Metzmacher [Fri, 22 Feb 2008 08:28:51 +0000 (09:28 +0100)]
pvfs_unlink: move !name->stream_exists into the caller

metze
(This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)

16 years agopvfs_unlink: pass down union smb_unlink completely to sub functions
Stefan Metzmacher [Fri, 22 Feb 2008 08:23:53 +0000 (09:23 +0100)]
pvfs_unlink: pass down union smb_unlink completely to sub functions

metze
(This used to be commit 8301189e94be850494482e8c064b2400a5d11157)

16 years agopvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()
Stefan Metzmacher [Thu, 21 Feb 2008 19:12:46 +0000 (20:12 +0100)]
pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()

metze
(This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)

16 years agopvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()
Stefan Metzmacher [Thu, 21 Feb 2008 18:56:36 +0000 (19:56 +0100)]
pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()

And also handle NULL for lckp in the error path
without crashing.

metze
(This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)

16 years agopvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()
Stefan Metzmacher [Thu, 21 Feb 2008 19:01:25 +0000 (20:01 +0100)]
pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()

If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.

metze
(This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)

16 years agopvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the caller
Stefan Metzmacher [Thu, 21 Feb 2008 18:59:13 +0000 (19:59 +0100)]
pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the caller

metze
(This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)

16 years agopvfs_wait: use struct pvfs_wait * instead of void *
Stefan Metzmacher [Thu, 21 Feb 2008 08:02:17 +0000 (09:02 +0100)]
pvfs_wait: use struct pvfs_wait * instead of void *

metze
(This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)

16 years agopvfs_wait: 'private' -> 'private_data' and use talloc_get_type()
Stefan Metzmacher [Thu, 21 Feb 2008 07:59:21 +0000 (08:59 +0100)]
pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()

metze
(This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)

16 years agoRAW-OPLOCK: remove unused var
Stefan Metzmacher [Sat, 23 Feb 2008 10:51:43 +0000 (11:51 +0100)]
RAW-OPLOCK: remove unused var
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)

16 years agoRAW-OPLOCK: fix typo (send oplock releases on the correct connection)
Stefan Metzmacher [Sat, 23 Feb 2008 10:51:23 +0000 (11:51 +0100)]
RAW-OPLOCK: fix typo (send oplock releases on the correct connection)

metze
(This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)

16 years agoselftest: we pass the BASE-DEFER_OPEN test
Stefan Metzmacher [Mon, 25 Feb 2008 06:42:38 +0000 (07:42 +0100)]
selftest: we pass the BASE-DEFER_OPEN test

We just need to pass the same sharedelay time
to smbtorture as we use for smbd.

metze
(This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)

16 years agoBASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
Stefan Metzmacher [Sat, 23 Feb 2008 23:13:36 +0000 (00:13 +0100)]
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster

metze
(This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)

16 years agoRespect the return value of asprintf
Volker Lendecke [Sat, 23 Feb 2008 09:26:52 +0000 (10:26 +0100)]
Respect the return value of asprintf

This removes tons of warnings

warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

for me. Lots of that kind left though :-)
(This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)

16 years agolibreplace: don't use socketwrapper for getifaddrs() implementations.
Michael Adam [Fri, 22 Feb 2008 12:53:05 +0000 (13:53 +0100)]
libreplace: don't use socketwrapper for getifaddrs() implementations.

Michael
(cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)

16 years agoHappy New Year 2008! :-)
Stefan Metzmacher [Fri, 22 Feb 2008 13:08:13 +0000 (14:08 +0100)]
Happy New Year 2008! :-)

metze
(This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)

16 years agolibreplace: Fix comment originating from old samba source.
Michael Adam [Fri, 22 Feb 2008 09:42:22 +0000 (10:42 +0100)]
libreplace: Fix comment originating from old samba source.

Michael
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)

16 years agolibreplace: fix creation of conftest files for getifaddrs tests.
Michael Adam [Thu, 21 Feb 2008 23:34:41 +0000 (00:34 +0100)]
libreplace: fix creation of conftest files for getifaddrs tests.

Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.

Michael
(cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)

16 years agoFix linked list of ifaddrs in implementations of rep_getifaddrs.
Michael Adam [Thu, 21 Feb 2008 23:27:00 +0000 (00:27 +0100)]
Fix linked list of ifaddrs in implementations of rep_getifaddrs.

Produce proper list instead of one-node-loop.

Michael
(cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)

16 years agoAdd missing initalizations of lastif in rep_getifaddr implementations.
Michael Adam [Thu, 21 Feb 2008 23:24:11 +0000 (00:24 +0100)]
Add missing initalizations of lastif in rep_getifaddr implementations.

Michael
(cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)

16 years agolibreplace: fix compile errors in getifaddrs.c
Michael Adam [Thu, 21 Feb 2008 17:16:10 +0000 (18:16 +0100)]
libreplace: fix compile errors in getifaddrs.c

Michael
(cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)

16 years agoTry and fix getifaddrs check on irix: dont't try to include config.h
Michael Adam [Thu, 21 Feb 2008 16:56:33 +0000 (17:56 +0100)]
Try and fix getifaddrs check on irix: dont't try to include config.h

The missing header file is judged "catastrophic" on irix.

Michael
(cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Thu, 21 Feb 2008 15:11:13 +0000 (16:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)

16 years agoRemove extra whitespace, use public variable in IDL.
Jelmer Vernooij [Thu, 21 Feb 2008 15:10:07 +0000 (16:10 +0100)]
Remove extra whitespace, use public variable in IDL.
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)

16 years agoRemove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 15:01:19 +0000 (16:01 +0100)]
Remove more uses of global_loadparm.
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)

16 years agoselftest: fix --socket-wrapper-pcap
Stefan Metzmacher [Thu, 21 Feb 2008 14:54:31 +0000 (15:54 +0100)]
selftest: fix --socket-wrapper-pcap

metze
(This used to be commit f5ff4a571cdf7d00d065f4a4996880020f1f459f)

16 years agoldb_sqlite: fix the build
Stefan Metzmacher [Thu, 21 Feb 2008 14:51:40 +0000 (15:51 +0100)]
ldb_sqlite: fix the build

metze
(This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)