1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

20839 Commits

Author SHA1 Message Date
Tim Potter
8d87d7ede5 Cli level code for initial dcerpc client support.
(This used to be commit 94686a3f94)
2003-10-28 10:25:12 +00:00
Tim Potter
476adf5725 Initial version of raw dcerpc client support.
(This used to be commit 34a2cc1099)
2003-10-28 10:24:13 +00:00
Tim Potter
06d58f8086 Add data structures for initial dcerpc support.
(This used to be commit 35ee9fdeab)
2003-10-28 10:21:36 +00:00
Tim Potter
931dc55390 Implement raw SMBtrans by backending the SMBtrans2 send code. Receive is
the same for trans and trans2.
(This used to be commit 7d21af3fdf)
2003-10-28 10:17:05 +00:00
Andrew Tridgell
4e73a3c0fe 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
(This used to be commit 89f7261ba5)
2003-10-10 05:40:32 +00:00
Jelmer Vernooij
b382acea72 Update MySQL configuration scripts, add module macros
(This used to be commit 42dbb8e2eb)
2003-09-29 22:16:06 +00:00
Jelmer Vernooij
7699f3834f Remove obsolete file
(This used to be commit ac05e976f2)
2003-09-29 21:59:18 +00:00
Andrew Tridgell
bd1ca87733 better child synchronisation at startup in NBENCH
(This used to be commit 4559208c80)
2003-09-29 06:04:23 +00:00
Andrew Tridgell
8205817eec - use deltree to setup base directory
(This used to be commit 19eab118c1)
2003-09-29 06:02:25 +00:00
Tim Potter
af780b0f01 Quieten a compiler warning.
(This used to be commit 9edf634569)
2003-09-18 01:34:59 +00:00
Andrew Tridgell
0becf4d683 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
(This used to be commit b69f54eb02)
2003-09-02 04:37:33 +00:00
Andrew Tridgell
11c5869a45 I think I've finally got the ascii/unicode issues right in trans2 find
first

Also expanded the rename test a little
(This used to be commit 723af7f097)
2003-08-31 03:16:52 +00:00
Andrew Tridgell
a8a5ac2bd2 expanded the RAW-READ test to make it clearer that all locks conflict
in SMBlockread, not just other peoples locks (error in spec)
(This used to be commit a56f6896bf)
2003-08-29 04:35:35 +00:00
Andrew Tridgell
133c7a9055 fix a segv when server doesn't support ATTRIBUTE_TAG_INFORMATION
(This used to be commit 19abdace95)
2003-08-23 18:53:46 +00:00
Jelmer Vernooij
489b369431 Remove some obsolete files (like in samba3)
(This used to be commit b85539336e)
2003-08-17 07:02:36 +00:00
Jelmer Vernooij
1d471e8a74 Sync autogen.sh from samba3
(This used to be commit 7bc56792dc)
2003-08-17 06:47:52 +00:00
Jelmer Vernooij
d55de7a159 Add script that reports unused macros/defines
(This used to be commit dd850b5bd8)
2003-08-16 05:20:22 +00:00
Jelmer Vernooij
d9aa5b15d3 Add script that detects useless AC_DEFINE()'s in configure.in
(This used to be commit 37f55d8619)
2003-08-16 02:24:33 +00:00
Herb Lewis
4809559c64 don't leak memory if cli->tree is NULL
(This used to be commit b034c4b86e)
2003-08-15 23:57:05 +00:00
Herb Lewis
a59229614e don't dereference null pointer
(This used to be commit ba5d1cde98)
2003-08-15 21:37:42 +00:00
Andrew Tridgell
649f712f07 ascii/unicode fixes in ascii mode found by smbtorture
(This used to be commit cdf2626a6d)
2003-08-15 21:11:13 +00:00
Andrew Tridgell
039e9dc5e6 - 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 81c941ba8a)
2003-08-15 20:19:30 +00:00
Andrew Tridgell
dbe7b0c402 fix handling of parametric smb.conf parms with embedded spaces
(This used to be commit dad7d285ab)
2003-08-15 19:09:52 +00:00
Andrew Tridgell
de10237719 more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 02d068ba7d)
2003-08-15 18:54:44 +00:00
Andrew Tridgell
8e4ab747b0 more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b72)
2003-08-15 18:33:43 +00:00
Herb Lewis
efacfb37fc wrong typecast
(This used to be commit de7674ebef)
2003-08-15 17:50:16 +00:00
Andrew Tridgell
1c849248d4 fixed an enumerated type error found on irix
(This used to be commit 19acf60fce)
2003-08-15 17:34:49 +00:00
Herb Lewis
00743e97f8 cast to get rid of warnings
(This used to be commit cb7a9aef02)
2003-08-15 17:29:04 +00:00
Herb Lewis
dcc8fcf9c0 IRIX already defines uint_t
(This used to be commit a019e54a46)
2003-08-15 17:19:26 +00:00
Herb Lewis
3ae6d32e5e signed bitfields cannot be 1 bit long
(This used to be commit 5fce80e757)
2003-08-15 17:15:05 +00:00
Herb Lewis
e2c1250076 fix IRIX build
(This used to be commit 85c504a837)
2003-08-15 17:14:20 +00:00
Herb Lewis
f24c298f43 rename mutex_t to smb_mutex_t to prevent name collision
(This used to be commit d32f149592)
2003-08-15 17:13:41 +00:00
Andrew Tridgell
cc38992e3f fixed some places where we don't brace (flags & STR_UNICODE)
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6)
2003-08-15 16:19:48 +00:00
Andrew Tridgell
fe31953678 a few build fixes to try to get irix building
(This used to be commit 4059fbcf02)
2003-08-15 15:16:34 +00:00
Andrew Tridgell
03ecf9b2aa try to cope with servers that return a blank alt_name field
(This used to be commit 0a1cda392a)
2003-08-15 15:14:49 +00:00
Andrew Tridgell
d3bc355533 some servers don't return a fs_type and dev_type
(This used to be commit eaec1bdaad)
2003-08-15 15:14:14 +00:00
Andrew Tridgell
0efd81efec fixed a comment typo
(This used to be commit 4cc8fef8ca)
2003-08-15 15:13:43 +00:00
Andrew Tridgell
9e96467d36 nicer formatting in getattre
(This used to be commit 52657c369b)
2003-08-15 15:13:24 +00:00
Andrew Tridgell
d0a91f4ef2 don't give detailed errors for levels that fail
(This used to be commit 04b60864a6)
2003-08-15 15:12:30 +00:00
Andrew Tridgell
33f413a6bf test resume by name before resume by flags
(This used to be commit 9f395dd768)
2003-08-15 15:11:34 +00:00
Jeremy Allison
0cb8ef099f Print out position info, ensure NT_RENAME info level only works
in a directory.
Jeremy.
(This used to be commit d623a51da0)
2003-08-15 03:54:45 +00:00
Herb Lewis
2efe201fa4 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 9a72476201)
2003-08-14 21:56:26 +00:00
Jeremy Allison
a19e269c2c Extended seek tests to check position information.
Jeremy.
(This used to be commit c4cc40c5c8)
2003-08-14 21:11:06 +00:00
Andrew Tridgell
e08eee4db0 fixed allinfo bug reported by metze
(This used to be commit 0b7e5d6353)
2003-08-14 04:14:49 +00:00
Andrew Tridgell
89f55d36f3 added the ancient SMBcreate operation to the testsuite and client lib
(This used to be commit 3eef35e581)
2003-08-14 01:31:31 +00:00
Andrew Tridgell
9af22cd883 added SMBopen to gentest
(This used to be commit b47737b00b)
2003-08-14 01:21:05 +00:00
Andrew Tridgell
ae6453269d added seek to gentest
(This used to be commit 401fce169e)
2003-08-14 01:12:27 +00:00
Andrew Tridgell
b34df4fa86 added read/write seek testing
(This used to be commit 66691dc958)
2003-08-14 01:03:56 +00:00
Jelmer Vernooij
11d32f259f File is part of the HOWTO Collection
(This used to be commit 37992b6719)
2003-08-14 00:08:21 +00:00
Andrew Tridgell
4b3d329ca2 - added a raw smb scanner
- its not a root_fid in ntrename
(This used to be commit 74be55efdc)
2003-08-13 22:23:18 +00:00
Andrew Tridgell
a33f570776 - added test for position_information via paths
(This used to be commit 595be06a42)
2003-08-13 20:22:37 +00:00
Andrew Tridgell
0908c05b5c - expanded the ntrename test
- expanded seek test - the position information is handle specific!
(This used to be commit 163970bda6)
2003-08-13 20:19:23 +00:00
Andrew Tridgell
786d9dfe55 process_model.h is not used at all - hangover from earlier design
(This used to be commit 6b49bc41d4)
2003-08-13 18:09:36 +00:00
Andrew Tridgell
424ecf038c 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 cdaf99139d)
2003-08-13 16:53:37 +00:00
Andrew Tridgell
75c0125fb7 - added SMBntrename test suite
- allow username of form DOMAIN\username or DOMAIN/username

- added ntrename to gentest
(This used to be commit 2b464472c1)
2003-08-13 16:04:21 +00:00
Andrew Tridgell
a3b86fe170 put config.guess in the right place!
(This used to be commit 5bb8733fd6)
2003-08-13 02:06:45 +00:00
Andrew Tridgell
d2b5b80c95 - 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 ef819249ec)
2003-08-13 02:04:44 +00:00
Andrew Tridgell
9665caf832 make sure we give the chosen workgroup in gentest
(This used to be commit b8aa4a9a8f)
2003-08-13 02:03:16 +00:00
Andrew Tridgell
a027153046 check for an invalid TID in reply_exit()
(This used to be commit fca5a1e89d)
2003-08-13 02:02:54 +00:00
Andrew Tridgell
b05a2aad54 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 c946be06a4)
2003-08-13 02:02:17 +00:00
Andrew Tridgell
e063ea70ad use the \\server\share form of tconx to work with servers that don't
cope with the simpler form
(This used to be commit 295cc63fb8)
2003-08-13 02:01:01 +00:00
Andrew Tridgell
cc3a6ea992 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 3a69cffb06)
2003-08-13 01:53:07 +00:00
Andrew Tridgell
ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00
Tim Potter
4d1f9d1def 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 23a9812987)
2001-12-10 20:43:59 +00:00
Tim Potter
7ab4731cd9 Fix for pointers to structures in function args.
(This used to be commit e35c62267f)
2001-12-10 06:23:52 +00:00
Tim Potter
7fd9b2ae1c 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 42a688ea1c)
2001-12-09 08:07:20 +00:00
Tim Potter
3c3fb798fd wchar_t is a scalar.
(This used to be commit 79e56e719c)
2001-12-09 06:12:51 +00:00
Tim Potter
ae02ee94e9 Convert a bunch of "prs_foo()" to "offset = prs_foo()"
Return offset from function request and response code.
(This used to be commit 83ada5447b)
2001-12-08 22:40:36 +00:00
Tim Potter
ae87ee3ccd Removed old commented-out code.
Generate code for parsing arrays.

We're nearly ready to start generating real code!
(This used to be commit f6f5b8a718)
2001-12-08 22:04:16 +00:00
Tim Potter
6ec1278d16 Reinvented has_properties() function lost after HD crash. )-:
Fixed up handling of pointer to scalar type.
(This used to be commit eb3dbe113f)
2001-12-08 21:43:22 +00:00
Tim Potter
d99084e3ec Made hyper a simple type.
Changed dissect_ to prs_ to avoid name conflicts.
(This used to be commit 2670f1f8e1)
2001-12-08 21:13:44 +00:00
Tim Potter
4201dba52e 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 802c219bab)
2001-12-06 07:16:08 +00:00
Tim Potter
71f99b2a1e 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 bb5bab5817)
2001-12-06 03:59:51 +00:00
Tim Potter
100655416e 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 e5ca478614)
2001-11-28 06:29:24 +00:00
Tim Potter
b056579969 Decorate some of the parse functions with element names. This is starting
to get closer to be compilable code!
(This used to be commit fbfe0795a9)
2001-11-28 06:05:26 +00:00
Tim Potter
b23b2ae0fd Start generating some ethereal code that may actually compile with
fewer tweaks.
(This used to be commit b045bbec59)
2001-11-27 00:35:50 +00:00
Tim Potter
07aed4b599 Start generating code for unions.
(This used to be commit ac71046754)
2001-11-26 05:27:32 +00:00
Tim Potter
a402ea46ab Ignore *.pidl
(This used to be commit c2fa746c47)
2001-11-26 05:25:24 +00:00
Tim Potter
de5f7da321 Renamed functions from Dump* to Parse*
(This used to be commit 952b47dc23)
2001-11-24 23:39:12 +00:00
Tim Potter
e581569a87 Initial version of ethereal parser generator. Works with test.idl
but not much else!
(This used to be commit 84fe4a000c)
2001-11-24 23:37:57 +00:00
Tim Potter
92ba6fc79e Added --eparser to call ethereal parser generator.
(This used to be commit e1f191a9dc)
2001-11-24 23:35:58 +00:00
Andrew Tridgell
95baaba31c forgot a file
(This used to be commit 39e8894fb2)
2001-11-24 11:29:42 +00:00
Andrew Tridgell
a1cd69698f changed auto-generated comment for headers
(This used to be commit 24ec2f1f81)
2000-12-14 23:53:33 +00:00
Andrew Tridgell
e42a8b3db9 beginnings of the C parser generator
(This used to be commit a9b1e03b33)
2000-12-14 23:53:19 +00:00
Andrew Tridgell
4bad800aa1 added header generation
(This used to be commit 406458b2fc)
2000-12-14 04:41:56 +00:00
Andrew Tridgell
dac34e4b70 fixed help
(This used to be commit 649e8ca0bb)
2000-12-14 04:41:45 +00:00
Andrew Tridgell
bdb96b0e94 added a comment
(This used to be commit 6831c000a3)
2000-12-14 04:41:31 +00:00
Andrew Tridgell
5bd7a4a832 - fixed FlattenHash bug
- better handling of .. in filenames
(This used to be commit 4a9953f55b)
2000-12-14 04:16:57 +00:00
Andrew Tridgell
ce74988dc8 first version
(This used to be commit 14135ed6bb)
2000-12-14 04:09:29 +00:00