ira/wip.git
18 years agoRemove check for SAM, which has already been removed
Jelmer Vernooij [Sun, 9 Nov 2003 16:08:14 +0000 (16:08 +0000)]
Remove check for SAM, which has already been removed

18 years agoAdd iconv test utility
Jelmer Vernooij [Sun, 9 Nov 2003 15:52:01 +0000 (15:52 +0000)]
Add iconv test utility

18 years agoAdd check for precompiled headers
Jelmer Vernooij [Sun, 9 Nov 2003 13:16:52 +0000 (13:16 +0000)]
Add check for precompiled headers

18 years ago- fixed lsa_EnumTrustDom
Andrew Tridgell [Sun, 9 Nov 2003 11:01:39 +0000 (11:01 +0000)]
- fixed lsa_EnumTrustDom

- added lsa_OpenAccount

- handle STATUS_SOME_UNMAPPED

18 years agoadded lsa_EnumTrustDom
Andrew Tridgell [Sun, 9 Nov 2003 10:01:24 +0000 (10:01 +0000)]
added lsa_EnumTrustDom

18 years agoadded lsa_EnumPrivs idl and test code
Andrew Tridgell [Sun, 9 Nov 2003 09:44:06 +0000 (09:44 +0000)]
added lsa_EnumPrivs idl and test code

18 years agoadded a test for lsa_Close()
Andrew Tridgell [Sun, 9 Nov 2003 09:04:28 +0000 (09:04 +0000)]
added a test for lsa_Close()

18 years agoi forgot to commit the rpcecho idl file
Andrew Tridgell [Sun, 9 Nov 2003 08:31:36 +0000 (08:31 +0000)]
i forgot to commit the rpcecho idl file

18 years ago- added the rest of the LSA calls as stubs
Andrew Tridgell [Sun, 9 Nov 2003 08:30:29 +0000 (08:30 +0000)]
- added the rest of the LSA calls as stubs

- auto-generate the client calls with 'make idl'

18 years agoadded a module for auto-generating the client calls. We can now go
Andrew Tridgell [Sun, 9 Nov 2003 08:28:47 +0000 (08:28 +0000)]
added a module for auto-generating the client calls. We can now go
from IDL file to working Samba4 RPC client library in a completely
automated fashion.

18 years agoconverted the rpcecho pipe to use IDL
Andrew Tridgell [Sun, 9 Nov 2003 07:24:06 +0000 (07:24 +0000)]
converted the rpcecho pipe to use IDL

18 years ago- handle void functions
Andrew Tridgell [Sun, 9 Nov 2003 07:22:48 +0000 (07:22 +0000)]
- handle void functions

- bettenicer handling of PROPERTIES

- handle size_is() on an out variable that refers to an in variable

18 years agouse a more consistent style for the client stubs
Andrew Tridgell [Sun, 9 Nov 2003 04:40:50 +0000 (04:40 +0000)]
use a more consistent style for the client stubs

18 years agoget rid of some prototypes that aren't needed any more
Andrew Tridgell [Sun, 9 Nov 2003 02:25:03 +0000 (02:25 +0000)]
get rid of some prototypes that aren't needed any more

18 years agolsa_LookupNames now works
Andrew Tridgell [Sun, 9 Nov 2003 02:21:24 +0000 (02:21 +0000)]
lsa_LookupNames now works

18 years agoadded support for arrays as function arguments and for unistr_noterm
Andrew Tridgell [Sun, 9 Nov 2003 02:20:26 +0000 (02:20 +0000)]
added support for arrays as function arguments and for unistr_noterm

18 years agocheck for pidl.pl in path, not $HOME/pidl/
Andrew Tridgell [Sun, 9 Nov 2003 01:18:59 +0000 (01:18 +0000)]
check for pidl.pl in path, not $HOME/pidl/

18 years agoadded idl, generated code and test code for lsa_LookupSids
Andrew Tridgell [Sun, 9 Nov 2003 00:58:40 +0000 (00:58 +0000)]
added idl, generated code and test code for lsa_LookupSids

18 years agoadded fixes for the pushing of arrays and handling non-ref pointers in
Andrew Tridgell [Sun, 9 Nov 2003 00:57:27 +0000 (00:57 +0000)]
added fixes for the pushing of arrays and handling non-ref pointers in
function arguments

18 years ago- include includes.h
Andrew Tridgell [Sat, 8 Nov 2003 13:24:14 +0000 (13:24 +0000)]
- include includes.h

- fix ref ptrs in push

- add NTSTATUS return

18 years ago- more generation fixes
Andrew Tridgell [Sat, 8 Nov 2003 13:23:20 +0000 (13:23 +0000)]
- more generation fixes

- added auto-generation from the Makefile. Only called when you run "make idl"

18 years ago- corrected some lsa idl
Andrew Tridgell [Sat, 8 Nov 2003 11:21:57 +0000 (11:21 +0000)]
- corrected some lsa idl

- updated lsa parse code from pidl

18 years ago- generate both the pull and push side
Andrew Tridgell [Sat, 8 Nov 2003 11:19:39 +0000 (11:19 +0000)]
- generate both the pull and push side

- fixed lots of bugs

18 years agoa bit of a tidy up before I add the ndr_pull_*() side of things
Andrew Tridgell [Thu, 6 Nov 2003 12:42:37 +0000 (12:42 +0000)]
a bit of a tidy up before I add the ndr_pull_*() side of things

18 years agoanother major bit of restructuring of rpc in Samba4. Mostly moving
Andrew Tridgell [Thu, 6 Nov 2003 12:34:04 +0000 (12:34 +0000)]
another major bit of restructuring of rpc in Samba4. Mostly moving
files around, but also added the first bits of auto-generated code for
the lsa pipe.

I haven't updated the Makefile to call pidl yet, so for now the code
was cut-and-pasted into librpc/ndr/ndr_lsa.c manually

18 years agoupdated pidl to auto-generate the ndr_push_*() functions for the
Andrew Tridgell [Thu, 6 Nov 2003 12:29:23 +0000 (12:29 +0000)]
updated pidl to auto-generate the ndr_push_*() functions for the
Samba4 rpc framework

not complete, but sufficient for a number of lsa functions

18 years agoallow qfsinfo to continue with just 10 levels supported in the server
Andrew Tridgell [Thu, 6 Nov 2003 05:51:58 +0000 (05:51 +0000)]
allow qfsinfo to continue with just 10 levels supported in the server

18 years agofinished off the ndr_sec.c module
Andrew Tridgell [Wed, 5 Nov 2003 00:49:42 +0000 (00:49 +0000)]
finished off the ndr_sec.c module

18 years agofixed another error found by valgrind
Andrew Tridgell [Tue, 4 Nov 2003 23:12:44 +0000 (23:12 +0000)]
fixed another error found by valgrind

18 years agofixed some error found by valgrind
Andrew Tridgell [Tue, 4 Nov 2003 22:42:00 +0000 (22:42 +0000)]
fixed some error found by valgrind

18 years agolsa_EnumSids() now works
Andrew Tridgell [Tue, 4 Nov 2003 11:16:07 +0000 (11:16 +0000)]
lsa_EnumSids() now works

18 years agolsa_OpenPolicy2 now works
Andrew Tridgell [Tue, 4 Nov 2003 09:48:33 +0000 (09:48 +0000)]
lsa_OpenPolicy2 now works

18 years agoyipee! we can now do lsaOpenPolicy() via the new interfaces, without
Andrew Tridgell [Tue, 4 Nov 2003 09:10:31 +0000 (09:10 +0000)]
yipee! we can now do lsaOpenPolicy() via the new interfaces, without
using any of the old lsa code

18 years agoadded support for fragmented sends
Andrew Tridgell [Tue, 4 Nov 2003 03:38:46 +0000 (03:38 +0000)]
added support for fragmented sends

18 years agoadded fragmentation support on receive for dcerpc packets. I have
Andrew Tridgell [Tue, 4 Nov 2003 02:28:08 +0000 (02:28 +0000)]
added fragmentation support on receive for dcerpc packets. I have
successfully used SourceData with 200M of data in rpcecho

18 years agoadded SinkData and SourceData tests for rpcecho
Andrew Tridgell [Mon, 3 Nov 2003 10:01:20 +0000 (10:01 +0000)]
added SinkData and SourceData tests for rpcecho

18 years agoadded rpcecho EchoData test
Andrew Tridgell [Mon, 3 Nov 2003 09:18:38 +0000 (09:18 +0000)]
added rpcecho EchoData test

18 years agoactually use the passed parameters!
Andrew Tridgell [Mon, 3 Nov 2003 08:39:37 +0000 (08:39 +0000)]
actually use the passed parameters!

18 years agoadded a helper function to make building rpc functions a bit easier
Andrew Tridgell [Mon, 3 Nov 2003 08:37:48 +0000 (08:37 +0000)]
added a helper function to make building rpc functions a bit easier

18 years agostarted adding RPC-ECHO torture cases
Andrew Tridgell [Mon, 3 Nov 2003 07:26:30 +0000 (07:26 +0000)]
started adding RPC-ECHO torture cases

18 years agowe only want the per-call stub data
Andrew Tridgell [Mon, 3 Nov 2003 06:30:33 +0000 (06:30 +0000)]
we only want the per-call stub data

18 years agoa major revamp of the low level dcerpc code in samba4, We can now do a
Andrew Tridgell [Mon, 3 Nov 2003 06:22:45 +0000 (06:22 +0000)]
a major revamp of the low level dcerpc code in samba4, We can now do a
successful LSA OpenPolicy using smbtorture

18 years ago- a few portability fixes from Jim Myers
Andrew Tridgell [Thu, 30 Oct 2003 08:32:26 +0000 (08:32 +0000)]
- a few portability fixes from Jim Myers

- added SMBD_LISTEN_BACKLOG in local.h

- added the beginnings of a ndr/rpc parsing framework for Samba4. It
  currently correctly parses security descriptors for the nttrans
  QUERY_SECDESC call, but I hope it will become a reasonable framework
  that an idl based generator can work to

18 years agomuch better synchronised startup in smbtorture - this allows us to run
Andrew Tridgell [Wed, 29 Oct 2003 04:21:58 +0000 (04:21 +0000)]
much better synchronised startup in smbtorture - this allows us to run
massive NBENCH runs without killing the client

18 years agoAdd RPC-OPEN test as an example for using the new dcerpc client code.
Tim Potter [Tue, 28 Oct 2003 11:00:54 +0000 (11:00 +0000)]
Add RPC-OPEN test as an example for using the new dcerpc client code.
It's a bit icky so I suspect it won't last long.  (-:

18 years agoA fix for making transfer syntax a pointer instead of an array of pointers
Tim Potter [Tue, 28 Oct 2003 10:59:19 +0000 (10:59 +0000)]
A fix for making transfer syntax a pointer instead of an array of pointers
in struct p_ctx_list.

18 years agoAdd raw and cli dcerpc code to LIBRAW_OBJ and LIBSMB_OBJ, respectively.
Tim Potter [Tue, 28 Oct 2003 10:30:16 +0000 (10:30 +0000)]
Add raw and cli dcerpc code to LIBRAW_OBJ and LIBSMB_OBJ, respectively.

18 years agoCli level code for initial dcerpc client support.
Tim Potter [Tue, 28 Oct 2003 10:25:12 +0000 (10:25 +0000)]
Cli level code for initial dcerpc client support.

18 years agoInitial version of raw dcerpc client support.
Tim Potter [Tue, 28 Oct 2003 10:24:13 +0000 (10:24 +0000)]
Initial version of raw dcerpc client support.

18 years agoAdd data structures for initial dcerpc support.
Tim Potter [Tue, 28 Oct 2003 10:21:36 +0000 (10:21 +0000)]
Add data structures for initial dcerpc support.

18 years agoImplement raw SMBtrans by backending the SMBtrans2 send code. Receive is
Tim Potter [Tue, 28 Oct 2003 10:17:05 +0000 (10:17 +0000)]
Implement raw SMBtrans by backending the SMBtrans2 send code.  Receive is
the same for trans and trans2.

18 years agoadded some NTVFS info, and started the process model section
Andrew Tridgell [Tue, 28 Oct 2003 04:31:42 +0000 (04:31 +0000)]
added some NTVFS info, and started the process model section

18 years agothe beginnings of a samba4 programming guide
Andrew Tridgell [Mon, 27 Oct 2003 11:23:35 +0000 (11:23 +0000)]
the beginnings of a samba4 programming guide

18 years agofixed snprintf.c for systems that have only some of the *printf() family of functions
Andrew Tridgell [Fri, 10 Oct 2003 05:40:32 +0000 (05:40 +0000)]
fixed snprintf.c for systems that have only some of the *printf() family of functions

cope with servers that return bogus (too large) values in max_xmit

cope with a couple more error conditions in RAW-SFILEINFO

better startup time heuristics in NBENCH

18 years agoUpdate MySQL configuration scripts, add module macros
Jelmer Vernooij [Mon, 29 Sep 2003 22:16:06 +0000 (22:16 +0000)]
Update MySQL configuration scripts, add module macros

18 years agoRemove obsolete file
Jelmer Vernooij [Mon, 29 Sep 2003 21:59:18 +0000 (21:59 +0000)]
Remove obsolete file

18 years agobetter child synchronisation at startup in NBENCH
Andrew Tridgell [Mon, 29 Sep 2003 06:04:23 +0000 (06:04 +0000)]
better child synchronisation at startup in NBENCH

18 years ago- use deltree to setup base directory
Andrew Tridgell [Mon, 29 Sep 2003 06:02:25 +0000 (06:02 +0000)]
- use deltree to setup base directory

18 years agoQuieten a compiler warning.
Tim Potter [Thu, 18 Sep 2003 01:34:59 +0000 (01:34 +0000)]
Quieten a compiler warning.

18 years agothanks to ntfsd and some google searches I worked out what the unknown
Andrew Tridgell [Tue, 2 Sep 2003 04:37:33 +0000 (04:37 +0000)]
thanks to ntfsd and some google searches I worked out what the unknown
fields in level 261 and level 262 of directory search are, plus the
names of the levels

the unknown fields are a 64bit unique file id, and match the 64 bit
number from the internal_information qfileinfo level

18 years agoI think I've finally got the ascii/unicode issues right in trans2 find
Andrew Tridgell [Sun, 31 Aug 2003 03:16:52 +0000 (03:16 +0000)]
I think I've finally got the ascii/unicode issues right in trans2 find
first

Also expanded the rename test a little

18 years agoexpanded the RAW-READ test to make it clearer that all locks conflict
Andrew Tridgell [Fri, 29 Aug 2003 04:35:35 +0000 (04:35 +0000)]
expanded the RAW-READ test to make it clearer that all locks conflict
in SMBlockread, not just other peoples locks (error in spec)

18 years agofix a segv when server doesn't support ATTRIBUTE_TAG_INFORMATION
Andrew Tridgell [Sat, 23 Aug 2003 18:53:46 +0000 (18:53 +0000)]
fix a segv when server doesn't support ATTRIBUTE_TAG_INFORMATION

18 years agoRemove some obsolete files (like in samba3)
Jelmer Vernooij [Sun, 17 Aug 2003 07:02:36 +0000 (07:02 +0000)]
Remove some obsolete files (like in samba3)

18 years agoSync autogen.sh from samba3
Jelmer Vernooij [Sun, 17 Aug 2003 06:47:52 +0000 (06:47 +0000)]
Sync autogen.sh from samba3

18 years agoAdd script that reports unused macros/defines
Jelmer Vernooij [Sat, 16 Aug 2003 05:20:22 +0000 (05:20 +0000)]
Add script that reports unused macros/defines

18 years agoAdd script that detects useless AC_DEFINE()'s in configure.in
Jelmer Vernooij [Sat, 16 Aug 2003 02:24:33 +0000 (02:24 +0000)]
Add script that detects useless AC_DEFINE()'s in configure.in

18 years agodon't leak memory if cli->tree is NULL
Herb Lewis [Fri, 15 Aug 2003 23:57:05 +0000 (23:57 +0000)]
don't leak memory if cli->tree is NULL

18 years agodon't dereference null pointer
Herb Lewis [Fri, 15 Aug 2003 21:37:42 +0000 (21:37 +0000)]
don't dereference null pointer

18 years agoascii/unicode fixes in ascii mode found by smbtorture
Andrew Tridgell [Fri, 15 Aug 2003 21:11:13 +0000 (21:11 +0000)]
ascii/unicode fixes in ascii mode found by smbtorture

18 years ago- patch to fix a memory leak from metze
Andrew Tridgell [Fri, 15 Aug 2003 20:19:30 +0000 (20:19 +0000)]
- patch to fix a memory leak from metze

- fix a couple of unicode string errors for ascii clients found by
  RAW- tests

18 years agofix handling of parametric smb.conf parms with embedded spaces
Andrew Tridgell [Fri, 15 Aug 2003 19:09:52 +0000 (19:09 +0000)]
fix handling of parametric smb.conf parms with embedded spaces

18 years agomore fixes from the IRIX compiler (thanks herb!)
Andrew Tridgell [Fri, 15 Aug 2003 18:54:44 +0000 (18:54 +0000)]
more fixes from the IRIX compiler (thanks herb!)

18 years agomore fixes from the IRIX compiler (thanks herb!)
Andrew Tridgell [Fri, 15 Aug 2003 18:33:43 +0000 (18:33 +0000)]
more fixes from the IRIX compiler (thanks herb!)

18 years agowrong typecast
Herb Lewis [Fri, 15 Aug 2003 17:50:16 +0000 (17:50 +0000)]
wrong typecast

18 years agofixed an enumerated type error found on irix
Andrew Tridgell [Fri, 15 Aug 2003 17:34:49 +0000 (17:34 +0000)]
fixed an enumerated type error found on irix

18 years agocast to get rid of warnings
Herb Lewis [Fri, 15 Aug 2003 17:29:04 +0000 (17:29 +0000)]
cast to get rid of warnings

18 years agoIRIX already defines uint_t
Herb Lewis [Fri, 15 Aug 2003 17:19:26 +0000 (17:19 +0000)]
IRIX already defines uint_t

18 years agosigned bitfields cannot be 1 bit long
Herb Lewis [Fri, 15 Aug 2003 17:15:05 +0000 (17:15 +0000)]
signed bitfields cannot be 1 bit long

18 years agofix IRIX build
Herb Lewis [Fri, 15 Aug 2003 17:14:20 +0000 (17:14 +0000)]
fix IRIX build

18 years agorename mutex_t to smb_mutex_t to prevent name collision
Herb Lewis [Fri, 15 Aug 2003 17:13:41 +0000 (17:13 +0000)]
rename mutex_t to smb_mutex_t to prevent name collision

18 years agofixed some places where we don't brace (flags & STR_UNICODE)
Andrew Tridgell [Fri, 15 Aug 2003 16:19:48 +0000 (16:19 +0000)]
fixed some places where we don't brace (flags & STR_UNICODE)

this fixes the samba4 server with ascii clients

18 years agoa few build fixes to try to get irix building
Andrew Tridgell [Fri, 15 Aug 2003 15:16:34 +0000 (15:16 +0000)]
a few build fixes to try to get irix building

18 years agotry to cope with servers that return a blank alt_name field
Andrew Tridgell [Fri, 15 Aug 2003 15:14:49 +0000 (15:14 +0000)]
try to cope with servers that return a blank alt_name field

18 years agosome servers don't return a fs_type and dev_type
Andrew Tridgell [Fri, 15 Aug 2003 15:14:14 +0000 (15:14 +0000)]
some servers don't return a fs_type and dev_type

18 years agofixed a comment typo
Andrew Tridgell [Fri, 15 Aug 2003 15:13:43 +0000 (15:13 +0000)]
fixed a comment typo

18 years agonicer formatting in getattre
Andrew Tridgell [Fri, 15 Aug 2003 15:13:24 +0000 (15:13 +0000)]
nicer formatting in getattre

18 years agodon't give detailed errors for levels that fail
Andrew Tridgell [Fri, 15 Aug 2003 15:12:30 +0000 (15:12 +0000)]
don't give detailed errors for levels that fail

18 years agotest resume by name before resume by flags
Andrew Tridgell [Fri, 15 Aug 2003 15:11:34 +0000 (15:11 +0000)]
test resume by name before resume by flags

18 years agoPrint out position info, ensure NT_RENAME info level only works
Jeremy Allison [Fri, 15 Aug 2003 03:54:45 +0000 (03:54 +0000)]
Print out position info, ensure NT_RENAME info level only works
in a directory.
Jeremy.

18 years agoclient/client.c - cannot initialize struct with non-const values
Herb Lewis [Thu, 14 Aug 2003 21:56:26 +0000 (21:56 +0000)]
client/client.c - cannot initialize struct with non-const values
include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE
include/smb_interfaces.h - remove empty structure
source/lib/debug.c - void functions cannot return value
libcli/clifile.c - cannot assign *struct to struct

18 years agoExtended seek tests to check position information.
Jeremy Allison [Thu, 14 Aug 2003 21:11:06 +0000 (21:11 +0000)]
Extended seek tests to check position information.
Jeremy.

18 years agofixed allinfo bug reported by metze
Andrew Tridgell [Thu, 14 Aug 2003 04:14:49 +0000 (04:14 +0000)]
fixed allinfo bug reported by metze

18 years agoadded the ancient SMBcreate operation to the testsuite and client lib
Andrew Tridgell [Thu, 14 Aug 2003 01:31:31 +0000 (01:31 +0000)]
added the ancient SMBcreate operation to the testsuite and client lib

18 years agoadded SMBopen to gentest
Andrew Tridgell [Thu, 14 Aug 2003 01:21:05 +0000 (01:21 +0000)]
added SMBopen to gentest

18 years agoadded seek to gentest
Andrew Tridgell [Thu, 14 Aug 2003 01:12:27 +0000 (01:12 +0000)]
added seek to gentest

18 years agoadded read/write seek testing
Andrew Tridgell [Thu, 14 Aug 2003 01:03:56 +0000 (01:03 +0000)]
added read/write seek testing

18 years agoFile is part of the HOWTO Collection
Jelmer Vernooij [Thu, 14 Aug 2003 00:08:21 +0000 (00:08 +0000)]
File is part of the HOWTO Collection

18 years ago- added a raw smb scanner
Andrew Tridgell [Wed, 13 Aug 2003 22:23:18 +0000 (22:23 +0000)]
- added a raw smb scanner

- its not a root_fid in ntrename

18 years ago- added test for position_information via paths
Andrew Tridgell [Wed, 13 Aug 2003 20:22:37 +0000 (20:22 +0000)]
- added test for position_information via paths