bbaumbach/samba-autobuild/.git
11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Wed, 27 Feb 2008 15:03:00 +0000 (16:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)

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)
(This used to be commit d2eb404ba1711abf6bb2718f8bb1dbbd104e7d4d)

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
(This used to be commit a9fe1b785dd59acbfab4eb90256e7a0cb0f4da6e)

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
(This used to be commit ff311e613226e660998824b887cb9595ffbe0275)

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
(This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)

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
(This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)

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
(This used to be commit 900d17acb95f1becfc46656a12c107336c027ef7)

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
(This used to be commit 85f707c6abc48739c0c3b423ac0b196d2b75e40c)

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
(This used to be commit 4d17d44d3f418216a40c80f290f97a4dc29147b0)

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
(This used to be commit f34a17a92bcc9a27b629a6ec9ed9a818bd13acc0)

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
(This used to be commit c475353e34154eb13e35cc8b6cf553e3986f8677)

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
(This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)

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
(This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)

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
(This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)

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
(This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)

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
(This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)

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
(This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)

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
(This used to be commit 278eea57fa9f59908672c935187f942e7780f0aa)

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
(This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)

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
(This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)

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
(This used to be commit 746e89ce2e74dbd2cea8f5575c403e4c61f82cb8)

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
(This used to be commit 5abc57ddab558c13db3864d13afc2ad3b1641d1c)

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
(This used to be commit b258f9d8d4bf3606f4884d1bff548f16dadc08aa)

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
(This used to be commit b8c42a1ff8fd4131ef2a1ad92a7405a2e4d335d3)

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
(This used to be commit e0837238b6b09143970f03b6a78201c3fe55f3cd)

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
(This used to be commit 27ec7bfc8b7f46c97e6878caf5cd694c517ce053)

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
(This used to be commit dd56f55afdc0d114a0b0bceb0e4feb022919323a)

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
(This used to be commit b09a2b126723bd75afd245f549703a04e512e129)

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
(This used to be commit 56bd63a4236ebf360d3e805c8560df86759573f7)

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
(This used to be commit 904159327b3cb80fbec6aa5a4feaa141190a3f3a)

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
(This used to be commit e6b708a52b0eada3fd374b66292ded3b0f6ce217)

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
(This used to be commit 46500983fe2f63540a67e2e963ab264fa8a090d0)

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
(This used to be commit aaaa26ae5e810495f313dfada771a8de86cedbd4)

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
(This used to be commit 1ba0b9a8f1f84c7c949b3d184843462b87446707)

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
(This used to be commit 5b12157e0f0f1cf6ea90503a72b56ab2032cb6e5)

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
(This used to be commit 65cfe71b2617598f8e38d04537cfc9ce44a36680)

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
(This used to be commit fbfe953ba347a902297bd8eae900ca70efd2db01)

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
(This used to be commit 7872b05abe7532676c4cc25620b96ea5d59117d2)

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
(This used to be commit 57f1b9d11cfcac3b5fdee1ad9e4ba81d0859c8dc)

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
(This used to be commit bd3654500b14e4ed8d4a8bb25ff9da5035a16a8b)

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
(This used to be commit f68fc4582d446bbf48ebafcbd4a0e1862b1e9aae)

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
(This used to be commit 35f7f488d84e3ec3224f3b40ff5881e91c11764d)

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
(This used to be commit 98461d6053b9ad98a372ec59ded2c7eaade99640)

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
(This used to be commit bb1107118951aa37c69b053f5cae624706966f1e)

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
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)

11 years agoRemove uses of global_loadparm.
Jelmer Vernooij [Mon, 25 Feb 2008 11:51:55 +0000 (12:51 +0100)]
Remove uses of global_loadparm.
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)

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
(This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)

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
(This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)

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
(This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)

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
(This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)

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
(This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)

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
(This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)

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
(This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)

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
(This used to be commit 8301189e94be850494482e8c064b2400a5d11157)

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
(This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)

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
(This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)

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
(This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)

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
(This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)

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
(This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)

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
(This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)

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
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)

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
(This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)

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
(This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)

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
(This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)

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 :-)
(This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)

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)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)

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

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
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)

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)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)

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)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)

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)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)

11 years agoRemove another global_loadparm instance.
Jelmer Vernooij [Thu, 21 Feb 2008 17:43:02 +0000 (18:43 +0100)]
Remove another global_loadparm instance.
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)

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)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)

11 years agoIntroduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
Jelmer Vernooij [Thu, 21 Feb 2008 17:21:44 +0000 (18:21 +0100)]
Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
all EJS code.
(This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)

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)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)

11 years agoFix the build.
Jelmer Vernooij [Thu, 21 Feb 2008 17:11:44 +0000 (18:11 +0100)]
Fix the build.
(This used to be commit f4b31ad76771d674ec85cd155b023eed377e6eb4)

11 years agoRemove yet more global_loadparm instances.
Jelmer Vernooij [Thu, 21 Feb 2008 17:09:47 +0000 (18:09 +0100)]
Remove yet more global_loadparm instances.
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)

11 years agoRemove more global_loadparm instance.s
Jelmer Vernooij [Thu, 21 Feb 2008 16:54:24 +0000 (17:54 +0100)]
Remove more global_loadparm instance.s
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)

11 years agoRemove yet more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 16:17:37 +0000 (17:17 +0100)]
Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)

11 years agoCache iconv_convenience.
Jelmer Vernooij [Thu, 21 Feb 2008 15:41:38 +0000 (16:41 +0100)]
Cache iconv_convenience.
(This used to be commit efd577cb5035f1b83bb8cd8958dcecb0ac0d055b)

11 years agotorture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil...
Jelmer Vernooij [Thu, 21 Feb 2008 15:23:52 +0000 (16:23 +0100)]
torture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil testsuite.
(This used to be commit 639afe3a21ee71f6786fc559b99d9e21a9839ce2)

11 years agoMore share_init to more apprioriate place.
Jelmer Vernooij [Thu, 21 Feb 2008 15:21:32 +0000 (16:21 +0100)]
More share_init to more apprioriate place.
(This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)

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.
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)

11 years agoClarify comments.
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:01 +0000 (16:18 +0100)]
Clarify comments.
(This used to be commit 705d5c3282399a2c531aefecff6ca1df405476b6)

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
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)

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.
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)

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.
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)

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
(This used to be commit f5ff4a571cdf7d00d065f4a4996880020f1f459f)

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
(This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)

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.
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)

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.
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)

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.
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)

11 years agoRemove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 13:50:57 +0000 (14:50 +0100)]
Remove more uses of global_loadparm.
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)

11 years agoAvoid use of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 13:16:02 +0000 (14:16 +0100)]
Avoid use of global_loadparm.
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)

11 years agosrvsvc.idl: don't use STR_LEN4 anymore
Stefan Metzmacher [Tue, 19 Feb 2008 15:40:48 +0000 (16:40 +0100)]
srvsvc.idl: don't use STR_LEN4 anymore

metze
(This used to be commit 8c7509bd684ccdabcdb9ad9f75f3dd693ee9c416)

11 years agosamr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Stefan Metzmacher [Fri, 15 Feb 2008 13:56:35 +0000 (14:56 +0100)]
samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo

Tested with nt4 and w2k3.

metze
(This used to be commit 24ec069751ef8db1211c50e7ca1e527adaa6432c)

11 years agoidmap: Handle SID->gid
Kai Blin [Mon, 18 Feb 2008 22:47:30 +0000 (23:47 +0100)]
idmap: Handle SID->gid
(This used to be commit 78d22a28eca4dd89f629dbe75287e9ac3940606b)

11 years agoidmap: Handle SID->uid
Kai Blin [Mon, 18 Feb 2008 17:53:12 +0000 (18:53 +0100)]
idmap: Handle SID->uid
(This used to be commit 4037ca6b9cf14219b4a4475399a51db01c655da6)

11 years agoidmap: Handle gid->SID mapping
Kai Blin [Mon, 18 Feb 2008 13:30:17 +0000 (14:30 +0100)]
idmap: Handle gid->SID mapping
(This used to be commit 6f2d95030cd7b4b22d1b75d15b76881449eda697)

11 years agoidmap: Handle uid->SID mapping
Kai Blin [Mon, 18 Feb 2008 13:33:58 +0000 (14:33 +0100)]
idmap: Handle uid->SID mapping
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)