1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

286 Commits

Author SHA1 Message Date
Stefan Metzmacher
f547d2c4c3 r1909: nicer format
metze
(This used to be commit e9e5fb2cb0b428de11d8e91da8b44394b6221a43)
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
8dfd1daf30 r1905: add -Werror-implicit-function-declaration with --enable-developer
metze
(This used to be commit 11495a42b97b62b1f54cfb98909e937d370fdd4a)
2007-10-10 12:58:10 -05:00
Volker Lendecke
664f50e81c r1894: Convert // to /* */
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10 12:58:09 -05:00
Stefan Metzmacher
70f457bd1a r1872: revert -r 1845 because the caling function should look at the fault_code
when it gets NT_STATUS_NET_WRITE_FAULT

metze
(This used to be commit 084845c1ab5e8acdb91f1d93b87d3f58e5de1bfd)
2007-10-10 12:58:06 -05:00
Jelmer Vernooij
84da00004b r1867: Add README file in build/pidl/
(This used to be commit 189ed098408b52965ccdf652d78ec678bbe0462e)
2007-10-10 12:58:04 -05:00
Stefan Metzmacher
6311e8955e r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILURE
metze
(This used to be commit 0cf0c3646038574e73c77a0b7adbdf6d04fe7207)
2007-10-10 12:58:01 -05:00
Jelmer Vernooij
d3e8a74551 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
(This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10 12:58:00 -05:00
Tim Potter
644200235a r1826: Implement some stub functions: ndr_pull_{save,restore,set_offset}()
Implement ndr_pull_relative()

Call ndr_pull_uintX() for ndr_pull_intX()

Generate warnings for unimplemented functions pulling NTTIME and HYPER_T.

Implement ndr_pull_dom_sid2()

We now dissect a lot more of the samr torture test without errors.
(This used to be commit 197fb3a264536ee84d4b02a8a349c6b21e91b1f5)
2007-10-10 12:58:00 -05:00
Tim Potter
b9bc12619d r1815: Update parser for recent changes to perl parser.
(This used to be commit 1d0bde1c77f511a3de5815c2d0e5319c74daf18a)
2007-10-10 12:57:59 -05:00
Jelmer Vernooij
daa7c98409 r1786: Add support for the 'helpstring' attribute on interfaces
(This used to be commit 85fb26a05d57e58795b0c0ffa93dc9e0fa902431)
2007-10-10 12:57:56 -05:00
Tim Potter
9130e707c1 r1767: Checkin of workarea. Sorry Jelmer but this overwrites some of your changes
which I will have to merge in later on.

This latest version of eparser tries to stick more closely to the original
parser.pm.
(This used to be commit 456a4d1d72807da037417073f346451421638c2f)
2007-10-10 12:57:55 -05:00
Andrew Tridgell
e2357c67f5 r1757: much simpler (and smaller, faster etc) way of doing relative pointers
in pidl. This mechanism should be much easier to extend to the
"retrospective subcontexts" that jelmer needs.

also produced more standards complient full-pointer offsets. This
keeps ethereal happy with decoding our epmapper frames.
(This used to be commit ecb7378bbcd86727aedfa04a9e302e06b0a2ccd9)
2007-10-10 12:57:54 -05:00
Jelmer Vernooij
1d3b81e6c0 r1736: - Pidl updates:
- Support for "object oriented" interfaces in pidl
 - Support for inherited interfaces in pidl
 - Simplification of the support for properties on an interface
- Start on dcom rpc torture tests
(This used to be commit 45c3d0036b8510102816f9cdff9210098259cc5f)
2007-10-10 12:57:51 -05:00
Jelmer Vernooij
fb4c7e8a16 r1714: Initial docs on DCOM stuff and build utilities
(This used to be commit 6491e76f6ad8ccfc1ef333bcce5251aa519c52ce)
2007-10-10 12:57:50 -05:00
Jelmer Vernooij
1f0ea81ae9 r1703: - Lots of RPC updates, adding new pipes and protocols.
- More updates/fixes to the ethereal parser generator
(This used to be commit 547f860285b117e291bf3dbaca0707dc268b214e)
2007-10-10 12:57:49 -05:00
Jelmer Vernooij
2c7c48017b r1701: Bugfixes to Tim's ethereal parser generator
(This used to be commit 8cd33b6cce6aaf8e819001d52bc77659b4116be9)
2007-10-10 12:57:49 -05:00
Jelmer Vernooij
e079b4fce1 r1700: make version default to 0.0 (same as midl)
(This used to be commit b380324c938d0c5069dce02e468c92e24363a36b)
2007-10-10 12:57:49 -05:00
Andrew Tridgell
15dddf7b1e r1671: make [relative] pointers in idl much more generic, treating them just
like normal pointers in most cases. This means we can now support
relative pointers to unions, builtin types etc, whereas we could only
previously support relative pointers to structures.

metze needs this for the PAC decoding.
(This used to be commit 0d063725e12f51375b7d0be55a19072a9a54e7e6)
2007-10-10 12:57:48 -05:00
Tim Potter
2768216e62 r1611: Put a brace on a new line.
(This used to be commit d9b4e45f46cd738b196f8d167cea264b3ce0d364)
2007-10-10 12:57:44 -05:00
Tim Potter
cf507bf2ae r1595: Always use a loop variable named $e when iterating over lists of
elements.
(This used to be commit daf2aea67cbfa2cda1fb3da8862b152c66d9573f)
2007-10-10 12:57:43 -05:00
Tim Potter
c5cc59b1b3 r1594: Remove some array checks that we can't do because we don't store state
between scalar and buffer passes.

Fix array handling - most of the samr queryuserinfo calls now parse
properly!
(This used to be commit 10e3ba03df500ecbb24a70fb9a59c80ac64608da)
2007-10-10 12:57:43 -05:00
Tim Potter
ccbad22865 r1593: Fix bug in get_subtree() where we were always looking at the head of
the list of subtrees.
(This used to be commit 7fab5c4ecb429057c627396bdee5dc36245fb441)
2007-10-10 12:57:43 -05:00
Tim Potter
42304f6a8f r1592: Fix up subtrees for non-scalar types instead of hardcoding module subtree.
Arrays currently broken though.  )-:
(This used to be commit 8fad205c51d270cdf7f84a8cec6ebea7ccf4cead)
2007-10-10 12:57:43 -05:00
Tim Potter
8ded5420e3 r1586: Finally, a technique for putting buffers in scalars in the same
protocol tree that actually works.  Instead of trying really hard
to do this in code, just remember a list of strings and subtrees
for every tree.  (This does require the addition of a void *user_data
field to ethereal's proto_node structure).
(This used to be commit 5bc61162602f84c8a3a0b22c74c69318b92e087a)
2007-10-10 12:57:42 -05:00
Tim Potter
ce0f008a69 r1540: - Remove return statements when a parse error is detected as ethereal
will do this for us.

- Fix a format string error

- Use subtrees for scalar and buffer elements

- Add subtree support for function request/responses

- Formatting fixups
(This used to be commit 0f7b473b4aa5845c12b387d9be8bc6501cc10136)
2007-10-10 12:57:40 -05:00
Tim Potter
013b689f91 r1535: Create a subtree for each array element.
(This used to be commit 4099e10d435436c092ca0e512fd4ddafdf4ae6a5)
2007-10-10 12:57:40 -05:00
Tim Potter
63771f7378 r1534: Alternate method of grouping togethers buffers and scalars which actually
seems to work.  We create a subtree one level higher instead of in the
parse function.
(This used to be commit 3f5c087c40c2df8c54feab1b416bc479fb739561)
2007-10-10 12:57:40 -05:00
Stefan Metzmacher
9b4ac4d81e r1483: build dynconfig.c also with PICFLAGS
metze
(This used to be commit fef597a76c0b0796ca834a31550cf279babe96fc)
2007-10-10 12:57:34 -05:00
Andrew Tridgell
fd7ac5ad4c r1464: the recent build changes completely lost the speed advantage of using
PCH (in fact, it meant that PCH was a slowdown, not a speedup). To
gain speed with PCH you must ensure that the .gch file is compiled
with _exactly_ the same options as the normal object files.

this fixes the .gch build options
(This used to be commit 910ca1748648a58daaea6a04d5c96e6c62f79c40)
2007-10-10 12:57:32 -05:00
Andrew Bartlett
196860f948 r1458: Add a new configure option, to make it possible to both find errors,
and compile with gtk.

The --enable-developer option was just too noisy with buggy GTK headers.

Andrew Bartlett
(This used to be commit 54c3d98baf3d4f4b6fe40201b50922caf7364285)
2007-10-10 12:56:58 -05:00
Stefan Metzmacher
cfc4350e05 r1377: add examples for config.mk sections
so you want/need to use the new build system
just look at the top of build/smb_build/public.m4

and look at the examples in the rest of the tree

metze
(This used to be commit afe2efd1437a7951d2ed6fcf7b4e06fdd4b95beb)
2007-10-10 12:56:54 -05:00
Stefan Metzmacher
93a5cd8efc r1323: allow '-' in IDENTIFIERS
accept '--' comments

implement the
<name> DEFINITIONS ::=

BEGIN
...
END

syntax

metze
(This used to be commit 4422547711b9d653999433f36d48dccebc006bce)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
df06b3bb49 r1321: find the '::=' directly by th lexer
metze
(This used to be commit 52674db28203b3a7f35c36379670813f9297b5ed)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
091ad86315 r1310: one more #line statement
metze
(This used to be commit d752eb660fd974fe3a14ed04974e54b3c385527c)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
b84f9dd5fd r1309: use #line 1 "filename.pl"
(for better bug tracking)

when generating config.smb_build.pl

metze
(This used to be commit 390c03b9297f2105c0c5277fca049fe653e8b012)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
1cec0de927 r1308: move smb_panic() to lib/fault.c
merge the backtrace stuff from 3.0

metze
(This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
adf0d519a5 r1307: remove unused stuff from pasn1
metze
(This used to be commit 1727ef2bb9377ace00700f3c3e32ea6a4d267f60)
2007-10-10 12:56:50 -05:00
Stefan Metzmacher
8991c6cd96 r1306: commit the first steps of my ASN.1 compiler
called 'pasn1', it works like 'pidl'

and we may can autogenerate ASN.1 code out of it.
(NOTE: the complete LDAP ASN.1 definition is in the RFC 2251,
 and maybe some others too :-)

I'm not completly shure if we'll use it in future,
but I commit it so that it won't be lost...

metze
(This used to be commit ddcaf7b63a0bc49ef1fc2d85d0ba81d67db48790)
2007-10-10 12:56:49 -05:00
Tim Potter
37fcf22364 r1268: varient -> variant
(This used to be commit de5984c95602ca67e8ac3139c3aa4330b74266e0)
2007-10-10 12:56:46 -05:00
Tim Potter
1d93403a91 r1174: Remove $var_prefix parameter for all functions. We don't need it for
ethereal.
(This used to be commit bf8e255d2e53fe50c2d37065aac8c6582712f0b0)
2007-10-10 12:56:43 -05:00
Tim Potter
9517834e64 r1167: Misc cleanups:
- shorten COL_INFO message
  - make parser error messages prettier
  - separate variable declarations from function body with newline
  - only generate variables for requests/responses when they have the
    in/out property
(This used to be commit 53313775a872d5c2f78f214573fd5933af5c205c)
2007-10-10 12:56:43 -05:00
Tim Potter
5da5297efa r1166: Convert (commented out) ndr_pull_error() calls into proto_tree_add_text()
calls so egregious parse errors are displayed in the ethereal gui.
(This used to be commit 904de85c88f8a122cee67bfa175c5e45e7d9c62f)
2007-10-10 12:56:43 -05:00
Tim Potter
eca6982a95 r1164: Whoops - remove debugging printfs and Data::Dumper reference.
Give unions their own subtree as well as structures.
(This used to be commit d3183d781ed62de756840c85742ae4f887c45251)
2007-10-10 12:56:42 -05:00
Tim Potter
8fa6bd180f r1162: Give each struct it's own subtree in the ethereal gui. Much more
readable!
(This used to be commit 1d29a4fd874a963c53546825d657b47ee3af085b)
2007-10-10 12:56:42 -05:00
Tim Potter
c8e74106c4 r1160: Some minor cosmetic fixes to make the generated code look nicer.
(This used to be commit a6c95fbd6f7205574182ab4a38f0f061435fda6e)
2007-10-10 12:56:41 -05:00
Tim Potter
f1f8e50c1c r1159: Implement functions to dissect 64-bit values (nttime, hyper_t, int64,
uint64).

Rename parameter e_ndr to ndr.
(This used to be commit 80bc9c9c598ebb2caa8dee745087f4b80ea8536e)
2007-10-10 12:56:41 -05:00
Tim Potter
3490e65af5 r1158: Fix bug in dissection of array count. Arrays mostly work now with the
exception of a union related bug.
(This used to be commit 80f1445507165a4b6805cd346b83fe57e576c71d)
2007-10-10 12:56:41 -05:00
Tim Potter
6095766058 r1153: We can now dissect security descriptors.
(This used to be commit c194f2cf073585d8a9dbc6a6e746dd1cbf7c67b7)
2007-10-10 12:56:41 -05:00
Tim Potter
7c81205557 r1152: Checkin of workarea. The parser can now dissect a big chunk of the samr
operations.  Security descriptors and unions are still left to do.
(This used to be commit f29fb9a3fc3b9b36518c4bff49e9c030a8a921ba)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
daa6a28c04 r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc structures in the generated rpc server code
(This used to be commit 60838a0f94ef2b2f27a6f1b3c413481e94c69602)
2007-10-10 12:56:41 -05:00