jelmer/samba4-debian.git
11 years agoRemove more global_loadparm uses.
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:23 +0000 (16:18 +0100)]
Remove more global_loadparm uses.

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Wed, 27 Feb 2008 18:37:45 +0000 (19:37 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

11 years agoClarify comments.
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:01 +0000 (16:18 +0100)]
Clarify comments.

11 years agoSet lp_ctx properly.
Jelmer Vernooij [Wed, 27 Feb 2008 16:36:49 +0000 (17:36 +0100)]
Set lp_ctx properly.

11 years agoRAW-OPLOCK: be more strict with share modes against windows and samba4
Stefan Metzmacher [Wed, 27 Feb 2008 15:23:57 +0000 (16:23 +0100)]
RAW-OPLOCK: be more strict with share modes against windows and samba4

But still allow samba3 behavior.

metze

11 years agoselftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yet
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:45 +0000 (16:22 +0100)]
selftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yet

metze

11 years agoRAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:04 +0000 (16:22 +0100)]
RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work

metze

11 years agoRAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()
Stefan Metzmacher [Wed, 27 Feb 2008 14:45:08 +0000 (15:45 +0100)]
RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()

metze

11 years agoRAW-OPLOCK: add BATCH19 test renaming via setpathinfo
Stefan Metzmacher [Wed, 27 Feb 2008 14:43:04 +0000 (15:43 +0100)]
RAW-OPLOCK: add BATCH19 test renaming via setpathinfo

This is really strange as, it seems to complete ignore
oplocks and share modes and doesn't match the behavior
of RENAME and NTRENAME.

metze

11 years agoRAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME
Stefan Metzmacher [Wed, 27 Feb 2008 10:07:53 +0000 (11:07 +0100)]
RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME

metze

11 years agoRAW-OPLOCK: add BATCH17 test rename on a file with oplock
Stefan Metzmacher [Wed, 27 Feb 2008 09:41:47 +0000 (10:41 +0100)]
RAW-OPLOCK: add BATCH17 test rename on a file with oplock

metze

11 years agoRAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplock
Stefan Metzmacher [Wed, 27 Feb 2008 09:40:19 +0000 (10:40 +0100)]
RAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplock

metze

11 years agoRAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IF
Stefan Metzmacher [Wed, 27 Feb 2008 09:02:52 +0000 (10:02 +0100)]
RAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IF

metze

11 years agoRAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IF
Stefan Metzmacher [Wed, 27 Feb 2008 08:41:44 +0000 (09:41 +0100)]
RAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IF

metze

11 years agopvfs_rename: we need a do a odb_rename() after pvfs_do_rename()
Stefan Metzmacher [Wed, 27 Feb 2008 10:25:33 +0000 (11:25 +0100)]
pvfs_rename: we need a do a odb_rename() after pvfs_do_rename()

metze

11 years agopvfs_rename: add retry logic after sharing violation or non granted oplock
Stefan Metzmacher [Wed, 27 Feb 2008 10:24:37 +0000 (11:24 +0100)]
pvfs_rename: add retry logic after sharing violation or non granted oplock

metze

11 years agoopendb_tdb: EXCLUSIVE oplock use the same matching logic
Stefan Metzmacher [Wed, 27 Feb 2008 08:40:49 +0000 (09:40 +0100)]
opendb_tdb: EXCLUSIVE oplock use the same matching logic

metze

11 years agoRAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive oplock
Stefan Metzmacher [Wed, 27 Feb 2008 07:51:25 +0000 (08:51 +0100)]
RAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive oplock

metze

11 years agoRAW-OPLOCK: add EXCLUSIVE3
Stefan Metzmacher [Tue, 26 Feb 2008 15:16:31 +0000 (16:16 +0100)]
RAW-OPLOCK: add EXCLUSIVE3

This tests that a setpathinfo EOF breaks
an exclusive oplock to none.

metze

11 years agoRAW-OPLOCK: add EXCLUSIVE2
Stefan Metzmacher [Tue, 26 Feb 2008 14:51:17 +0000 (15:51 +0100)]
RAW-OPLOCK: add EXCLUSIVE2

Exclusive oplocks break to LEVEL2

metze

11 years agoRAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)
Stefan Metzmacher [Tue, 26 Feb 2008 13:58:00 +0000 (14:58 +0100)]
RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)

metze

11 years agoFix cases, add version number. (#4935)
Matthias Dieter Wallnöfer [Wed, 27 Feb 2008 12:47:34 +0000 (13:47 +0100)]
Fix cases, add version number. (#4935)

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake-simple
Jelmer Vernooij [Wed, 27 Feb 2008 12:17:08 +0000 (13:17 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake-simple

11 years agolibreplace: standalone build: use -I$srcdir instead of -I.
Michael Adam [Wed, 27 Feb 2008 09:33:32 +0000 (10:33 +0100)]
libreplace: standalone build: use -I$srcdir instead of -I.

Michael

11 years agolibreplace: fix standalone build - add necessary libs.
Michael Adam [Wed, 27 Feb 2008 00:41:30 +0000 (01:41 +0100)]
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

11 years agolibreplace: fix standalone build on some systems.
Michael Adam [Wed, 27 Feb 2008 00:29:12 +0000 (01:29 +0100)]
libreplace: fix standalone build on some systems.

getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".

Michael

11 years agolibreplace: Add tests for connect and gethostbyname.
Michael Adam [Tue, 26 Feb 2008 12:24:54 +0000 (13:24 +0100)]
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

11 years agopidl: Remove superfluous semicolon in perl code.
Michael Adam [Tue, 26 Feb 2008 14:38:45 +0000 (15:38 +0100)]
pidl: Remove superfluous semicolon in perl code.

Michael

11 years agoRAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocks
Stefan Metzmacher [Tue, 26 Feb 2008 13:52:50 +0000 (14:52 +0100)]
RAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocks

metze

11 years agoRely on GNU make to build static libraries.
Jelmer Vernooij [Tue, 26 Feb 2008 13:20:31 +0000 (14:20 +0100)]
Rely on GNU make to build static libraries.

Conflicts:

source/build/smb_build/makefile.pm

11 years agoopendb_tdb: with break_to_none attribute only opens also break oplocks
Stefan Metzmacher [Tue, 26 Feb 2008 11:52:46 +0000 (12:52 +0100)]
opendb_tdb: with break_to_none attribute only opens also break oplocks

metze

11 years agopvfs_open: pass down an access mask to pvfs_can_update_file_size()
Stefan Metzmacher [Tue, 26 Feb 2008 09:26:33 +0000 (10:26 +0100)]
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

11 years agopvfs_qfileinfo: down discard the return value of pvfs_can_stat()
Stefan Metzmacher [Tue, 26 Feb 2008 09:29:07 +0000 (10:29 +0100)]
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

11 years agopvfs_open: pass down an access mask in pvfs_can_stat()
Stefan Metzmacher [Tue, 26 Feb 2008 09:28:07 +0000 (10:28 +0100)]
pvfs_open: pass down an access mask in pvfs_can_stat()

metze

11 years agopvfs_open: pass NTCREATEX_DISP_OPEN to odb_can_open()
Stefan Metzmacher [Tue, 26 Feb 2008 09:21:39 +0000 (10:21 +0100)]
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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoRAW-OPLOCK: remove unused var
Stefan Metzmacher [Sat, 23 Feb 2008 10:51:43 +0000 (11:51 +0100)]
RAW-OPLOCK: remove unused var

11 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

11 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

11 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

11 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 :-)

11 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)

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

metze

11 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

11 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)

11 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)

11 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)

11 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)

11 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)

11 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

11 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.

11 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.

11 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

11 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

11 years agoRemove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 14:45:32 +0000 (15:45 +0100)]
Remove more uses of global_loadparm.

11 years agoRemove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 14:38:35 +0000 (15:38 +0100)]
Remove more uses of global_loadparm.

11 years agoRemove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 14:21:45 +0000 (15:21 +0100)]
Remove more uses of global_loadparm.