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

18 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!

18 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

18 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

18 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

18 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!

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

18 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

18 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

18 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()

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

18 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

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

18 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

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

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

20 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

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

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

20 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!

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

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

20 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()

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

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

20 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!

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

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

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

20 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*

20 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!

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

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

21 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

21 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

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

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

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

21 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

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

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