ira/wip.git
14 years agor18749: Disable automatic dependencies by default (use --enable-automatic-dependencie...
Jelmer Vernooij [Wed, 20 Sep 2006 23:19:37 +0000 (23:19 +0000)]
r18749: Disable automatic dependencies by default (use --enable-automatic-dependencies to reenable).

14 years agor18746: Fix the build.
Günther Deschner [Wed, 20 Sep 2006 22:31:04 +0000 (22:31 +0000)]
r18746: Fix the build.

Guenther

14 years agor18743: Mention share name in error output.
Günther Deschner [Wed, 20 Sep 2006 21:00:07 +0000 (21:00 +0000)]
r18743: Mention share name in error output.

Guenther

14 years agor18741: test dfs_Enum and dfs_EnumEx in the torture test.
Günther Deschner [Wed, 20 Sep 2006 20:40:45 +0000 (20:40 +0000)]
r18741: test dfs_Enum and dfs_EnumEx in the torture test.

Guenther

14 years agor18740: Some more work around srvsvc
Simo Sorce [Wed, 20 Sep 2006 20:32:36 +0000 (20:32 +0000)]
r18740: Some more work around srvsvc

14 years agor18738: Fill in dfs_VolumeState.
Günther Deschner [Wed, 20 Sep 2006 19:09:33 +0000 (19:09 +0000)]
r18738: Fill in dfs_VolumeState.

Hm, wondering if there is a better way to let that be composed out of
one dfs_VolumeFlavor flag and one dfs_VolumeState flag.

Guenther

14 years agor18737: Fill in the documented dfs_Target_PriorityClass.
Günther Deschner [Wed, 20 Sep 2006 19:06:52 +0000 (19:06 +0000)]
r18737: Fill in the documented dfs_Target_PriorityClass.

Guenther

14 years agor18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).
Günther Deschner [Wed, 20 Sep 2006 19:05:26 +0000 (19:05 +0000)]
r18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).

Guenther

14 years agor18735: Fill in dfs_StorageState.
Günther Deschner [Wed, 20 Sep 2006 19:02:44 +0000 (19:02 +0000)]
r18735: Fill in dfs_StorageState.

Guenther

14 years agor18734: Add flag to distinguish a standalone from a domain based DFS root.
Günther Deschner [Wed, 20 Sep 2006 19:00:15 +0000 (19:00 +0000)]
r18734: Add flag to distinguish a standalone from a domain based DFS root.

Guenther

14 years agor18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).
Günther Deschner [Wed, 20 Sep 2006 18:57:41 +0000 (18:57 +0000)]
r18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).

Guenther

14 years agor18723: Update list of provided macros/defines in README.
Jelmer Vernooij [Wed, 20 Sep 2006 17:29:34 +0000 (17:29 +0000)]
r18723: Update list of provided macros/defines in README.

14 years agor18721: Fix base and samba3sam EJS tests to work without installation.
Jelmer Vernooij [Wed, 20 Sep 2006 17:19:05 +0000 (17:19 +0000)]
r18721: Fix base and samba3sam EJS tests to work without installation.

14 years agor18720: Get rid of unused file.
Jelmer Vernooij [Wed, 20 Sep 2006 17:18:21 +0000 (17:18 +0000)]
r18720: Get rid of unused file.

14 years agor18716: put in a commented out useful hack for some RPC servers
Andrew Tridgell [Wed, 20 Sep 2006 16:35:05 +0000 (16:35 +0000)]
r18716: put in a commented out useful hack for some RPC servers

14 years agor18715: 0x8 style status returns should also fail here (thanks metze)
Andrew Tridgell [Wed, 20 Sep 2006 16:33:25 +0000 (16:33 +0000)]
r18715: 0x8 style status returns should also fail here (thanks metze)

14 years agor18708: much nicer fix
Stefan Metzmacher [Wed, 20 Sep 2006 02:09:14 +0000 (02:09 +0000)]
r18708: much nicer fix

metze

14 years agor18706: fix whitespaces
Stefan Metzmacher [Wed, 20 Sep 2006 01:56:57 +0000 (01:56 +0000)]
r18706: fix whitespaces

metze

14 years agor18704: readd BOOL define to fix the build
Stefan Metzmacher [Wed, 20 Sep 2006 00:23:26 +0000 (00:23 +0000)]
r18704: readd BOOL define to fix the build

but I think this is the wrong fix...

metze

14 years agor18696: Zero initialize ref ptrs.
Jelmer Vernooij [Tue, 19 Sep 2006 22:48:08 +0000 (22:48 +0000)]
r18696: Zero initialize ref ptrs.

14 years agor18693: Print debug info when DEBUGLEVEL >= 10 in the Samba3 code.
Jelmer Vernooij [Tue, 19 Sep 2006 22:39:49 +0000 (22:39 +0000)]
r18693: Print debug info when DEBUGLEVEL >= 10 in the Samba3 code.

14 years agor18691: Forgot to add copyright info.
Rafal Szczesniak [Tue, 19 Sep 2006 22:35:37 +0000 (22:35 +0000)]
r18691: Forgot to add copyright info.

rafal

14 years agor18689: Initialize r.out in the server side code, in case the handler function
Jelmer Vernooij [Tue, 19 Sep 2006 22:18:16 +0000 (22:18 +0000)]
r18689: Initialize r.out in the server side code, in case the handler function
doesn't touch them.

14 years agor18686: Fix typo protocl->protocol
Volker Lendecke [Tue, 19 Sep 2006 21:41:02 +0000 (21:41 +0000)]
r18686: Fix typo protocl->protocol

14 years agor18685: we don't need this here
Stefan Metzmacher [Tue, 19 Sep 2006 21:33:40 +0000 (21:33 +0000)]
r18685: we don't need this here

metze

14 years agor18683: NET-USERMOD test changed to be able to perform multiple simultaneous
Rafal Szczesniak [Tue, 19 Sep 2006 19:15:36 +0000 (19:15 +0000)]
r18683: NET-USERMOD test changed to be able to perform multiple simultaneous
changes.

Also, some common definitions for user mod tests have been put into
a separate file.

rafal

14 years agor18682: a bit of a change in setfield function.
Rafal Szczesniak [Tue, 19 Sep 2006 19:10:14 +0000 (19:10 +0000)]
r18682: a bit of a change in setfield function.
one more change to do...

rafal

14 years agor18676: Don't mix ShareInfo and ShareCtr definitions,
Simo Sorce [Tue, 19 Sep 2006 15:39:21 +0000 (15:39 +0000)]
r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file

14 years agor18675: merge from samba3:
Stefan Metzmacher [Tue, 19 Sep 2006 03:51:45 +0000 (03:51 +0000)]
r18675: merge from samba3:

we need to define the macros the indicate we have bool
even if we have not defining bool ourself

metze

14 years agor18674: merge from samba3,
Stefan Metzmacher [Tue, 19 Sep 2006 03:48:31 +0000 (03:48 +0000)]
r18674: merge from samba3,

PRINTF_ATTRIBUTE seems to not work with gcc 3.0

metze

14 years agor18668: fix ref pointer related bugs, we should watch the compiler warnings!
Stefan Metzmacher [Tue, 19 Sep 2006 01:34:53 +0000 (01:34 +0000)]
r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...

metze

14 years agor18661: C++ warnings
Volker Lendecke [Tue, 19 Sep 2006 00:55:40 +0000 (00:55 +0000)]
r18661: C++ warnings

14 years agor18658: make the test change fields sequentially each one in turn.
Rafal Szczesniak [Tue, 19 Sep 2006 00:27:49 +0000 (00:27 +0000)]
r18658: make the test change fields sequentially each one in turn.
now to multiple changes...

rafal

14 years agor18657: handle the case where rpc call went fine, but the result
Rafal Szczesniak [Tue, 19 Sep 2006 00:25:55 +0000 (00:25 +0000)]
r18657: handle the case where rpc call went fine, but the result
not necessariy did.

rafal

14 years agor18656: fix stupid mistake causing segfaults in torture test
Rafal Szczesniak [Tue, 19 Sep 2006 00:24:41 +0000 (00:24 +0000)]
r18656: fix stupid mistake causing segfaults in torture test
and also add one more field to be set.

rafal

14 years agor18655: add more fields and better handle the error case where fields
Rafal Szczesniak [Tue, 19 Sep 2006 00:23:55 +0000 (00:23 +0000)]
r18655: add more fields and better handle the error case where fields
setting routine don't know how to do that (and user info level
is invalid).

rafal

14 years agor18639: Get rid of the keepref support
Jelmer Vernooij [Mon, 18 Sep 2006 21:52:00 +0000 (21:52 +0000)]
r18639: Get rid of the keepref support

14 years agor18637: Fix the build. Sorry,
Günther Deschner [Mon, 18 Sep 2006 21:03:03 +0000 (21:03 +0000)]
r18637: Fix the build. Sorry,

Guenther

14 years agor18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
Günther Deschner [Mon, 18 Sep 2006 21:00:00 +0000 (21:00 +0000)]
r18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
reject reason code while password changing: SAMR_REJECT_IN_HISTORY which
is different from SAMR_REJECT_COMPLEXITY.

torture test to follow as well.

Guenther

14 years agor18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
Günther Deschner [Mon, 18 Sep 2006 20:56:54 +0000 (20:56 +0000)]
r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.

Guenther

14 years agor18634: Turn flags field into a bitmap.
Jelmer Vernooij [Mon, 18 Sep 2006 20:52:26 +0000 (20:52 +0000)]
r18634: Turn flags field into a bitmap.

14 years agor18633: Add a couple of new WERR codes encountered with dfs torture testing.
Günther Deschner [Mon, 18 Sep 2006 20:44:54 +0000 (20:44 +0000)]
r18633: Add a couple of new WERR codes encountered with dfs torture testing.

Guenther

14 years agor18631: correct unintentional commit.
Rafal Szczesniak [Mon, 18 Sep 2006 20:28:47 +0000 (20:28 +0000)]
r18631: correct unintentional commit.

rafal

14 years agor18630: Better way to display ref-pointers with [print]. Thanks to metze for
Günther Deschner [Mon, 18 Sep 2006 20:21:52 +0000 (20:21 +0000)]
r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.

Guenther

14 years agor18629: There is no such "unknown" pointer in dfs_Enum().
Günther Deschner [Mon, 18 Sep 2006 20:20:22 +0000 (20:20 +0000)]
r18629: There is no such "unknown" pointer in dfs_Enum().

Guenther

14 years agor18628: dfs_EnumEx() also takes a ref pointer.
Günther Deschner [Mon, 18 Sep 2006 20:19:43 +0000 (20:19 +0000)]
r18628: dfs_EnumEx() also takes a ref pointer.

Guenther

14 years agor18627: only cosmetic reformat, no functional changes.
Günther Deschner [Mon, 18 Sep 2006 20:18:50 +0000 (20:18 +0000)]
r18627: only cosmetic reformat, no functional changes.

Guenther

14 years agor18626: fix cleanup function to safely recover after interrupted test
Rafal Szczesniak [Mon, 18 Sep 2006 20:08:28 +0000 (20:08 +0000)]
r18626: fix cleanup function to safely recover after interrupted test
and add one requested field in to the function creating testing
set of changes for user modify routine.

rafal

14 years agor18625: dfs_GetManagerVersion() returns a version number, not just an exist
Günther Deschner [Mon, 18 Sep 2006 20:00:51 +0000 (20:00 +0000)]
r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.

Guenther

14 years agor18624: path is a ref pointer in dfs_GetInfo().
Günther Deschner [Mon, 18 Sep 2006 19:51:27 +0000 (19:51 +0000)]
r18624: path is a ref pointer in dfs_GetInfo().

torture test to follow.

Guenther

14 years agor18615: add more time fields and fix a silly mistake.
Rafal Szczesniak [Mon, 18 Sep 2006 17:33:23 +0000 (17:33 +0000)]
r18615: add more time fields and fix a silly mistake.

rafal

14 years agor18614: a bit of work done while on the plane.
Rafal Szczesniak [Mon, 18 Sep 2006 17:32:13 +0000 (17:32 +0000)]
r18614: a bit of work done while on the plane.

a new function converting NTTIME to struct timeval

rafal

14 years agor18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.
Günther Deschner [Mon, 18 Sep 2006 10:00:19 +0000 (10:00 +0000)]
r18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.

Guenther

14 years agor18610: Fix typo.
Günther Deschner [Mon, 18 Sep 2006 09:58:53 +0000 (09:58 +0000)]
r18610: Fix typo.

Guenther

14 years agor18609: error_string should not contain newlines.
Günther Deschner [Mon, 18 Sep 2006 09:54:44 +0000 (09:54 +0000)]
r18609: error_string should not contain newlines.

Guenther

14 years agor18607: remove unused structure element
Stefan Metzmacher [Mon, 18 Sep 2006 09:02:50 +0000 (09:02 +0000)]
r18607: remove unused structure element

rafal: is there a reason why we don't use libnet_AddShare() in the torture test?

metze

14 years agor18604: fixed shell syntax
Andrew Tridgell [Mon, 18 Sep 2006 04:19:13 +0000 (04:19 +0000)]
r18604: fixed shell syntax

14 years agor18602: updated web page for new ldb build method
Andrew Tridgell [Mon, 18 Sep 2006 01:54:12 +0000 (01:54 +0000)]
r18602: updated web page for new ldb build method

14 years agor18601: updated web page for new talloc build method
Andrew Tridgell [Mon, 18 Sep 2006 01:51:57 +0000 (01:51 +0000)]
r18601: updated web page for new talloc build method

14 years agor18600: - fix shell syntax in tests for libraries
Andrew Tridgell [Mon, 18 Sep 2006 01:31:57 +0000 (01:31 +0000)]
r18600: - fix shell syntax in tests for libraries

- add library test for libpopt

14 years agor18599: the netr_CryptPassword structure needs to use a uint8, as the data is
Andrew Tridgell [Mon, 18 Sep 2006 01:08:19 +0000 (01:08 +0000)]
r18599: the netr_CryptPassword structure needs to use a uint8, as the data is
passed to acrfour, and that assumes a byte buffer. This caused us to
fail big endian boxes (or more specifically, to be incompatible with
little endian boxes)

14 years agor18596: removed superfluous semicolon
Andrew Tridgell [Sun, 17 Sep 2006 20:01:56 +0000 (20:01 +0000)]
r18596: removed superfluous semicolon

14 years agor18595: try an experiment of adding a RPC test into the windows testing
Andrew Tridgell [Sun, 17 Sep 2006 20:01:15 +0000 (20:01 +0000)]
r18595: try an experiment of adding a RPC test into the windows testing
framework

Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh

14 years agor18594: fail the configure step if the required library is not found for tdb,
Andrew Tridgell [Sun, 17 Sep 2006 19:17:41 +0000 (19:17 +0000)]
r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace

14 years agor18593: try to get the same socket_wrapper file building in samba3 and samba4
Stefan Metzmacher [Sun, 17 Sep 2006 05:11:57 +0000 (05:11 +0000)]
r18593: try to get the same socket_wrapper file building in samba3 and samba4

this is preparation of adding libreplace to samba3 later.

metze

14 years agor18592: we don't need this twice
Stefan Metzmacher [Sun, 17 Sep 2006 05:10:00 +0000 (05:10 +0000)]
r18592: we don't need this twice

metze

14 years agor18591: Better defaults for share creation
Simo Sorce [Sun, 17 Sep 2006 03:00:05 +0000 (03:00 +0000)]
r18591: Better defaults for share creation

Fix logic error in paged_results

14 years agor18590: Some more work on the srvsvc pipe
Simo Sorce [Sun, 17 Sep 2006 00:15:13 +0000 (00:15 +0000)]
r18590: Some more work on the srvsvc pipe

14 years agor18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
Andrew Tridgell [Sat, 16 Sep 2006 20:52:57 +0000 (20:52 +0000)]
r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.

14 years agor18588: save one more character in the socket wrapper path - seems it still
Andrew Tridgell [Sat, 16 Sep 2006 19:27:51 +0000 (19:27 +0000)]
r18588: save one more character in the socket wrapper path - seems it still
was occasionally too long for IRIX 6.4

14 years agor18587: fixed a potential memory leak in libnet
Andrew Tridgell [Sat, 16 Sep 2006 17:59:33 +0000 (17:59 +0000)]
r18587: fixed a potential memory leak in libnet

14 years agor18586: fixed a potential fd and memory leak in the socket_wrapper code
Andrew Tridgell [Sat, 16 Sep 2006 17:57:50 +0000 (17:57 +0000)]
r18586: fixed a potential fd and memory leak in the socket_wrapper code

14 years agor18585: 50 open searches is still too many for some of the build farm hosts,
Andrew Tridgell [Sat, 16 Sep 2006 17:26:55 +0000 (17:26 +0000)]
r18585: 50 open searches is still too many for some of the build farm hosts,
which have a ulimit -n of 100. Drop the number of searches to 20.

That should limit the maximum total fd count to about 76, most of
which is all the listening sockets on the various interfaces

14 years agor18584: found one of the fd leaks. The registry backend was using a
Andrew Tridgell [Sat, 16 Sep 2006 16:59:37 +0000 (16:59 +0000)]
r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences

1) it was a massive memory leak, as all winreg operations leaked their
   entire context (including an open ldb database) every time

2) event_context_find() never found the exsting event context, so we
   used a new event context each time, which called epoll_create()
   each time, which caused a fd to be allocated

14 years agor18583: a nasty hack to allow me to monitor the number of open file
Andrew Tridgell [Sat, 16 Sep 2006 16:27:46 +0000 (16:27 +0000)]
r18583: a nasty hack to allow me to monitor the number of open file
descriptors in smbd on all build farm machines. I suspect we have a fd
leak somewhere, but its hard to track down.

I know part of the problem is the number of (fake) network interfaces
we define in the build farm tests, with each of them listening on a
whole bunch of different protocol ports. That chews up around 48 file
descriptors just to startup. I don't think thats the real problem
though, and I suspect something else is leaking file descriptors on
some hosts.

14 years agor18582: disable synchronous ldb in the build farm. Some hosts have very slow
Andrew Tridgell [Sat, 16 Sep 2006 15:51:41 +0000 (15:51 +0000)]
r18582: disable synchronous ldb in the build farm. Some hosts have very slow
filesystems and the tests are taking more than 1.5 hours. We will
still be testing the sync code paths, as the ldb tests still run
synchronous, but doing all of our other tests synchronously just costs
too much time.

14 years agor18581: also check for SEC_STD_DELETE, and split out the check into a separate
Andrew Tridgell [Sat, 16 Sep 2006 15:37:45 +0000 (15:37 +0000)]
r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function

14 years agor18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
Andrew Tridgell [Sat, 16 Sep 2006 15:31:53 +0000 (15:31 +0000)]
r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks

14 years agor18579: fixed boolean parameters on big endian hosts which have
Andrew Tridgell [Sat, 16 Sep 2006 14:58:51 +0000 (14:58 +0000)]
r18579: fixed boolean parameters on big endian hosts which have
sizeof(BOOL) != sizeof(int)

this broke with the conversion to a real BOOL type

14 years agor18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?
Andrew Tridgell [Sat, 16 Sep 2006 05:07:36 +0000 (05:07 +0000)]
r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?

14 years agor18577: reduce the number of tests run in 'make quicktest' again, so it
Andrew Tridgell [Sat, 16 Sep 2006 05:06:57 +0000 (05:06 +0000)]
r18577: reduce the number of tests run in 'make quicktest' again, so it
completes in a minute on my laptop (the benchmark I usually use).

Simo, I removed th ldb tests, as ldb is pretty well tested by lots of
the other tests, and its a pretty slow test. We could instead add a
"ldb-testquick.sh" which does only minimal testing. The full tests
will of course be run with 'make test' and in the build farm.

14 years agor18576: unfortunately our current build farm results are a bit too good!
Andrew Tridgell [Sat, 16 Sep 2006 04:54:15 +0000 (04:54 +0000)]
r18576: unfortunately our current build farm results are a bit too good!

when I changed the test output to be easier to read, I also broke it
so that it always gives a zero exit status. Fix now, and unfortunately
I expect to see some more red in the farm as a result :(

14 years agor18575: - use the right variable to teststatus
Andrew Tridgell [Fri, 15 Sep 2006 23:00:32 +0000 (23:00 +0000)]
r18575: - use the right variable to teststatus

- don't display the "(NN tests failed so far)" message unless a test
  has failed

14 years agor18574: re-enable the echo pipe in smbscript. I suspect disabling this was an
Andrew Tridgell [Fri, 15 Sep 2006 22:59:18 +0000 (22:59 +0000)]
r18574: re-enable the echo pipe in smbscript. I suspect disabling this was an
accidental part of commit in the recent echo.idl changes (in r18565)

14 years agor18573: disable the echo.js testing of echo_TestCall() for now.
Andrew Tridgell [Fri, 15 Sep 2006 22:56:45 +0000 (22:56 +0000)]
r18573: disable the echo.js testing of echo_TestCall() for now.

Jelmer, we need to fix pidl to be able to handle the double pointers
in the ejs generated code

14 years agor18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
Andrew Tridgell [Fri, 15 Sep 2006 22:39:30 +0000 (22:39 +0000)]
r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.

14 years agor18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny...
Steve French [Fri, 15 Sep 2006 21:39:38 +0000 (21:39 +0000)]
r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them

14 years agor18569: add really simple testing of the 'simple' ntvfs backend, so we know
Andrew Tridgell [Fri, 15 Sep 2006 21:05:03 +0000 (21:05 +0000)]
r18569: add really simple testing of the 'simple' ntvfs backend, so we know
when it breaks. It isn't much good as a template for developers to use
unless it works :-)

14 years agor18568: this warning is not needed now that it is the job of the unixuid ntvfs
Andrew Tridgell [Fri, 15 Sep 2006 20:57:29 +0000 (20:57 +0000)]
r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid

14 years agor18567: fixed the winreg js code for the new names of the fields in winreg.idl
Andrew Tridgell [Fri, 15 Sep 2006 20:55:43 +0000 (20:55 +0000)]
r18567: fixed the winreg js code for the new names of the fields in winreg.idl

When changing a field name in idl, please remember to check for use of
those functions in any js code as well.

14 years agor18566: fixed the winreg pipe and winreg tests
Andrew Tridgell [Fri, 15 Sep 2006 20:36:38 +0000 (20:36 +0000)]
r18566: fixed the winreg pipe and winreg tests

Jerry, there is a big difference on the wire between these two:

  [out] uint32 x;
and
  [out] uint32 *x;

if you change from

  [out] uint32 x;

then you need to change to:

  [out,ref] uint32 *x;

otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.

but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).

I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.

So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)

14 years agor18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
Jelmer Vernooij [Fri, 15 Sep 2006 20:07:55 +0000 (20:07 +0000)]
r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible

14 years agor18564: update for cifs unix/posix extensions stub version to build and beginnings...
Steve French [Fri, 15 Sep 2006 19:24:38 +0000 (19:24 +0000)]
r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it

14 years agor18563: - move more of the header checks into lib/replace/
Andrew Tridgell [Fri, 15 Sep 2006 19:14:36 +0000 (19:14 +0000)]
r18563: - move more of the header checks into lib/replace/

- change the test for net/if.h to do a full compile, not just an
  existance test. net/if.h is completely broken on hpux, and can never
  compile (it uses stuff before it defines it), so by using a
  AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should
  fix the build

14 years agor18561: Fix [out] pointers in winreg IDL
Gerald Carter [Fri, 15 Sep 2006 18:34:03 +0000 (18:34 +0000)]
r18561: Fix [out] pointers in winreg IDL

14 years agor18559: [string] always applies to the last pointer
Jelmer Vernooij [Fri, 15 Sep 2006 17:34:46 +0000 (17:34 +0000)]
r18559: [string] always applies to the last pointer

14 years agor18558: Fix ShareCheck which was assuming all paths are "C:\"
Simo Sorce [Fri, 15 Sep 2006 16:27:55 +0000 (16:27 +0000)]
r18558: Fix ShareCheck which was assuming all paths are "C:\"

Also cope with the fact that we define the FSTYPE as NTFS by default.
We never use this anywhere else, so we may just change it, but just
detect the fact and return DISK in share_classic for now.

14 years agor18555: use C:\ as default not C:
Stefan Metzmacher [Fri, 15 Sep 2006 14:42:24 +0000 (14:42 +0000)]
r18555: use C:\ as default not C:

metze

14 years agor18554: Fix warnings about [out] arguments.
Jelmer Vernooij [Fri, 15 Sep 2006 14:32:30 +0000 (14:32 +0000)]
r18554: Fix warnings about [out] arguments.

14 years agor18553: - confdefs.h is always included in configure checks no need to include them...
Stefan Metzmacher [Fri, 15 Sep 2006 14:30:23 +0000 (14:30 +0000)]
r18553: - confdefs.h is always included in configure checks no need to include them explicit
- undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test
  #define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64
  which means the AIX code compiles...

metze