kai/samba.git
20 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
(This used to be commit dd850b5bd8abc123f455b715fb62dd4d54297178)

20 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
(This used to be commit 37f55d8619b110d217ec826bcf2773849ed0f7f7)

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

20 years agodon't dereference null pointer
Herb Lewis [Fri, 15 Aug 2003 21:37:42 +0000 (21:37 +0000)]
don't dereference null pointer
(This used to be commit ba5d1cde98f9146ffc889ac89ec79331e2bfae18)

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

20 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
(This used to be commit 81c941ba8ae33567d79b4bb0bb5928f5f6077b76)

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

20 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!)
(This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)

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

20 years agowrong typecast
Herb Lewis [Fri, 15 Aug 2003 17:50:16 +0000 (17:50 +0000)]
wrong typecast
(This used to be commit de7674ebefe3a8b0f953afe983ce058e11f827c2)

20 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
(This used to be commit 19acf60fceda04482047cfff24ee728bb66f3971)

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

20 years agoIRIX already defines uint_t
Herb Lewis [Fri, 15 Aug 2003 17:19:26 +0000 (17:19 +0000)]
IRIX already defines uint_t
(This used to be commit a019e54a46539a9f76fc782fd5eb826c32afb318)

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

20 years agofix IRIX build
Herb Lewis [Fri, 15 Aug 2003 17:14:20 +0000 (17:14 +0000)]
fix IRIX build
(This used to be commit 85c504a837960bf74dc05391a4d0bb924f2f9a3a)

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

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

20 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
(This used to be commit 4059fbcf028e105c9377ec5a302623ae282e33f1)

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

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

20 years agofixed a comment typo
Andrew Tridgell [Fri, 15 Aug 2003 15:13:43 +0000 (15:13 +0000)]
fixed a comment typo
(This used to be commit 4cc8fef8ca278b19eb4601e7660fc1976594412e)

20 years agonicer formatting in getattre
Andrew Tridgell [Fri, 15 Aug 2003 15:13:24 +0000 (15:13 +0000)]
nicer formatting in getattre
(This used to be commit 52657c369b26710ed4d3a8cce81dd518547c583e)

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

20 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
(This used to be commit 9f395dd7686e257a4c622d79582725e47e929252)

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

20 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
(This used to be commit 9a724762012f55d21d44ea87add7daf21f7414d1)

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

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

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

20 years agoadded SMBopen to gentest
Andrew Tridgell [Thu, 14 Aug 2003 01:21:05 +0000 (01:21 +0000)]
added SMBopen to gentest
(This used to be commit b47737b00bd6a96d8dec53381872656997ec6ad2)

20 years agoadded seek to gentest
Andrew Tridgell [Thu, 14 Aug 2003 01:12:27 +0000 (01:12 +0000)]
added seek to gentest
(This used to be commit 401fce169ecceac803a4a72480ffdc1f54f9a292)

20 years agoadded read/write seek testing
Andrew Tridgell [Thu, 14 Aug 2003 01:03:56 +0000 (01:03 +0000)]
added read/write seek testing
(This used to be commit 66691dc9582d4752ff1ab04a1b53c1e3c8fe64a1)

20 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
(This used to be commit 37992b671915b59071ce89baff9bdee711821b5b)

20 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
(This used to be commit 74be55efdc77d4ba7e70d0554cbd72472522abff)

20 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
(This used to be commit 595be06a42bbf8b19feb1b7a7fc4389a6ad50ab8)

20 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!
(This used to be commit 163970bda6dba4a6c98943eee49d6610a156c070)

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

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

20 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
(This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)

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

20 years agoadded config.guess
Andrew Tridgell [Wed, 13 Aug 2003 02:05:48 +0000 (02:05 +0000)]
added config.guess
(This used to be commit 977f2708260f5d8d84b2e329c9a71ea842ac0c6a)

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

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

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

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

20 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
(This used to be commit 295cc63fb8d99d403c863a7b30cb30382070a6f9)

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

20 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

(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)

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

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

22 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
(This used to be commit 42a688ea1c012626e247820dec927456e3de9b79)

22 years agowchar_t is a scalar.
Tim Potter [Sun, 9 Dec 2001 06:12:51 +0000 (06:12 +0000)]
wchar_t is a scalar.
(This used to be commit 79e56e719cec28373c117efa33e8924470ffcdcf)

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

22 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!
(This used to be commit f6f5b8a7189b579eaf1fbf8db91c9ba11b96ac57)

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

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

22 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()
(This used to be commit 802c219babc94178099dbc898da1a788a2e8a593)

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

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

22 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!
(This used to be commit fbfe0795a9421a5c70dcbcaa74292b3fb4ae6974)

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

22 years agoStart generating code for unions.
Tim Potter [Mon, 26 Nov 2001 05:27:32 +0000 (05:27 +0000)]
Start generating code for unions.
(This used to be commit ac71046754b3a4bee53dab64ed73c176074482a0)

22 years agoIgnore *.pidl
Tim Potter [Mon, 26 Nov 2001 05:25:24 +0000 (05:25 +0000)]
Ignore *.pidl
(This used to be commit c2fa746c477c3fd57e34d52643ea483f958d1f1a)

22 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*
(This used to be commit 952b47dc23ee648daf065d08d35fab839e4afd04)

22 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!
(This used to be commit 84fe4a000cb31ca5cdd24d9b8e57a63b8c0e8838)

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

22 years agoforgot a file
Andrew Tridgell [Sat, 24 Nov 2001 11:29:42 +0000 (11:29 +0000)]
forgot a file
(This used to be commit 39e8894fb22da6c60cb8306d5ec4b1e868f0dd77)

23 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
(This used to be commit 24ec2f1f81a2f21573818695e7cb72979dcdef8b)

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

23 years agoadded header generation
Andrew Tridgell [Thu, 14 Dec 2000 04:41:56 +0000 (04:41 +0000)]
added header generation
(This used to be commit 406458b2fc2ff8b84da820a0465229075c27fb70)

23 years agofixed help
Andrew Tridgell [Thu, 14 Dec 2000 04:41:45 +0000 (04:41 +0000)]
fixed help
(This used to be commit 649e8ca0bb2af328db62942c146c5f8fc5e71e49)

23 years agoadded a comment
Andrew Tridgell [Thu, 14 Dec 2000 04:41:31 +0000 (04:41 +0000)]
added a comment
(This used to be commit 6831c000a37da76a3f8dc3361c86f97807bb25b7)

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

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

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

(This used to be commit 14135ed6bbff54d7b493f9be7748c2ad7440a97b)