ira/wip.git
19 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

19 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

19 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

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

19 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

19 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

19 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

19 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!)

19 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!)

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

19 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

19 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

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

19 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

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

19 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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

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

19 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

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

19 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

19 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

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

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

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

19 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

19 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

19 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

19 years ago- expanded the ntrename test
Andrew Tridgell [Wed, 13 Aug 2003 20:19:23 +0000 (20:19 +0000)]
- expanded the ntrename test

- expanded seek test - the position information is handle specific!

19 years agoprocess_model.h is not used at all - hangover from earlier design
Andrew Tridgell [Wed, 13 Aug 2003 18:09:36 +0000 (18:09 +0000)]
process_model.h is not used at all - hangover from earlier design

19 years agodisabled autoconf 2.53 requirement until we know exactly why it is
Andrew Tridgell [Wed, 13 Aug 2003 16:53:37 +0000 (16:53 +0000)]
disabled autoconf 2.53 requirement until we know exactly why it is
needed - for example I have tested autoconf 2.52 on suse 7.3 and it
works fine

19 years ago- added SMBntrename test suite
Andrew Tridgell [Wed, 13 Aug 2003 16:04:21 +0000 (16:04 +0000)]
- added SMBntrename test suite

- allow username of form DOMAIN\username or DOMAIN/username

- added ntrename to gentest

19 years agoput config.guess in the right place!
Andrew Tridgell [Wed, 13 Aug 2003 02:06:45 +0000 (02:06 +0000)]
put config.guess in the right place!

19 years agoadded config.guess
Andrew Tridgell [Wed, 13 Aug 2003 02:05:48 +0000 (02:05 +0000)]
added config.guess

19 years ago- cope with servers that don't properly implement SMBexit
Andrew Tridgell [Wed, 13 Aug 2003 02:04:44 +0000 (02:04 +0000)]
- cope with servers that don't properly implement SMBexit

- add the pidhigh test to the locking test

- expand the rename and unlink testing

- test a wider range of offsets in RAW-READ

19 years agomake sure we give the chosen workgroup in gentest
Andrew Tridgell [Wed, 13 Aug 2003 02:03:16 +0000 (02:03 +0000)]
make sure we give the chosen workgroup in gentest

19 years agocheck for an invalid TID in reply_exit()
Andrew Tridgell [Wed, 13 Aug 2003 02:02:54 +0000 (02:02 +0000)]
check for an invalid TID in reply_exit()

19 years agoadd support for 32 bit pid using the PIDHIGH field. This allows the
Andrew Tridgell [Wed, 13 Aug 2003 02:02:17 +0000 (02:02 +0000)]
add support for 32 bit pid using the PIDHIGH field. This allows the
test suite to see if it is supported. w2k3 doesn't seem to support it.

19 years agouse the \\server\share form of tconx to work with servers that don't
Andrew Tridgell [Wed, 13 Aug 2003 02:01:01 +0000 (02:01 +0000)]
use the \\server\share form of tconx to work with servers that don't
cope with the simpler form

19 years agoThis commit was generated by cvs2svn to compensate for changes in r30,
Andrew Tridgell [Wed, 13 Aug 2003 01:53:07 +0000 (01:53 +0000)]
This commit was generated by cvs2svn to compensate for changes in r30,
which included commits to RCS files with non-trunk default branches.

19 years agofirst public release of samba4 code
Andrew Tridgell [Wed, 13 Aug 2003 01:53:07 +0000 (01:53 +0000)]
first public release of samba4 code

21 years agoAdded "return offset;" to end of generated function.
Tim Potter [Mon, 10 Dec 2001 20:43:59 +0000 (20:43 +0000)]
Added "return offset;" to end of generated function.

We're getting really close now!  Ethereal can properly decode OpenPolicy
requests and responses using pidl generated code.  QueryInfoPolicy
is nearly working.

21 years agoFix for pointers to structures in function args.
Tim Potter [Mon, 10 Dec 2001 06:23:52 +0000 (06:23 +0000)]
Fix for pointers to structures in function args.

21 years agoMisc fixes:
Tim Potter [Sun, 9 Dec 2001 08:07:20 +0000 (08:07 +0000)]
Misc fixes:

 - pass correct args when doing arrays of scalar vs buffer types
 - add NULL data argument to all calls
 - get rid of unecessary curly brackets
 - typos

21 years agowchar_t is a scalar.
Tim Potter [Sun, 9 Dec 2001 06:12:51 +0000 (06:12 +0000)]
wchar_t is a scalar.

21 years agoConvert a bunch of "prs_foo()" to "offset = prs_foo()"
Tim Potter [Sat, 8 Dec 2001 22:40:36 +0000 (22:40 +0000)]
Convert a bunch of "prs_foo()" to "offset = prs_foo()"

Return offset from function request and response code.

21 years agoRemoved old commented-out code.
Tim Potter [Sat, 8 Dec 2001 22:04:16 +0000 (22:04 +0000)]
Removed old commented-out code.

Generate code for parsing arrays.

We're nearly ready to start generating real code!

21 years agoReinvented has_properties() function lost after HD crash. )-:
Tim Potter [Sat, 8 Dec 2001 21:43:22 +0000 (21:43 +0000)]
Reinvented has_properties() function lost after HD crash. )-:

Fixed up handling of pointer to scalar type.

21 years agoMade hyper a simple type.
Tim Potter [Sat, 8 Dec 2001 21:13:44 +0000 (21:13 +0000)]
Made hyper a simple type.

Changed dissect_ to prs_ to avoid name conflicts.

21 years agoMoved processing of function arguments and structure elements
Tim Potter [Thu, 6 Dec 2001 07:16:08 +0000 (07:16 +0000)]
Moved processing of function arguments and structure elements
back in to ParseElement()

is_simple_type() -> is_scalar_type()

Added more types to scalar type list.

Pass scalars/buffers flag down to ParseElement()

21 years agoDon't pass down drep (data representation) arg from top level fn.
Tim Potter [Thu, 6 Dec 2001 03:59:51 +0000 (03:59 +0000)]
Don't pass down drep (data representation) arg from top level fn.

Decided to use tridge's PARSE_SCALARS and PARSE_BUFFERS pattern for
generating code for structures and function calls.  For functions, dissect
sub-structures with PARSE_SCALARS|PARSE_BUFFERS.  For arrays and structures
in structures (?) use PARSE_SCALARS on each element of the structure then
PARSE_BUFFERS.

Determine whether a type is a "simple" type or a struct/union.

21 years agoDon't pass decorative name to policy handle or ntstatus dissectors.
Tim Potter [Wed, 28 Nov 2001 06:29:24 +0000 (06:29 +0000)]
Don't pass decorative name to policy handle or ntstatus dissectors.

Pass drep (data representation?) field down from dcerpc dissector.  This is
whether the packet is big or little endian.

21 years agoDecorate some of the parse functions with element names. This is starting
Tim Potter [Wed, 28 Nov 2001 06:05:26 +0000 (06:05 +0000)]
Decorate some of the parse functions with element names.  This is starting
to get closer to be compilable code!

21 years agoStart generating some ethereal code that may actually compile with
Tim Potter [Tue, 27 Nov 2001 00:35:50 +0000 (00:35 +0000)]
Start generating some ethereal code that may actually compile with
fewer tweaks.

21 years agoStart generating code for unions.
Tim Potter [Mon, 26 Nov 2001 05:27:32 +0000 (05:27 +0000)]
Start generating code for unions.

21 years agoIgnore *.pidl
Tim Potter [Mon, 26 Nov 2001 05:25:24 +0000 (05:25 +0000)]
Ignore *.pidl

21 years agoRenamed functions from Dump* to Parse*
Tim Potter [Sat, 24 Nov 2001 23:39:12 +0000 (23:39 +0000)]
Renamed functions from Dump* to Parse*

21 years agoInitial version of ethereal parser generator. Works with test.idl
Tim Potter [Sat, 24 Nov 2001 23:37:57 +0000 (23:37 +0000)]
Initial version of ethereal parser generator.  Works with test.idl
but not much else!

21 years agoAdded --eparser to call ethereal parser generator.
Tim Potter [Sat, 24 Nov 2001 23:35:58 +0000 (23:35 +0000)]
Added --eparser to call ethereal parser generator.

21 years agoforgot a file
Andrew Tridgell [Sat, 24 Nov 2001 11:29:42 +0000 (11:29 +0000)]
forgot a file

22 years agochanged auto-generated comment for headers
Andrew Tridgell [Thu, 14 Dec 2000 23:53:33 +0000 (23:53 +0000)]
changed auto-generated comment for headers

22 years agobeginnings of the C parser generator
Andrew Tridgell [Thu, 14 Dec 2000 23:53:19 +0000 (23:53 +0000)]
beginnings of the C parser generator

22 years agoadded header generation
Andrew Tridgell [Thu, 14 Dec 2000 04:41:56 +0000 (04:41 +0000)]
added header generation

22 years agofixed help
Andrew Tridgell [Thu, 14 Dec 2000 04:41:45 +0000 (04:41 +0000)]
fixed help

22 years agoadded a comment
Andrew Tridgell [Thu, 14 Dec 2000 04:41:31 +0000 (04:41 +0000)]
added a comment

22 years ago- fixed FlattenHash bug
Andrew Tridgell [Thu, 14 Dec 2000 04:16:57 +0000 (04:16 +0000)]
- fixed FlattenHash bug
- better handling of .. in filenames

22 years agoThis commit was generated by cvs2svn to compensate for changes in r2,
Andrew Tridgell [Thu, 14 Dec 2000 04:09:29 +0000 (04:09 +0000)]
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

22 years agofirst version
Andrew Tridgell [Thu, 14 Dec 2000 04:09:29 +0000 (04:09 +0000)]
first version