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

262 Commits

Author SHA1 Message Date
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
Andrew Tridgell
0293c1859c r1148: fixed a minor formatting error in generated code
(This used to be commit 0a67b9c324fb4fd74de0f3c12e55de6972b88cdd)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
004a9979a9 r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()
(useful for debugging IDL)

- fixed a couple of places that auto-generate incorrect printf style arguments
  for ndr_pull_error()
(This used to be commit ad3324a79ce030df4c5ed46408e662b46588f89f)
2007-10-10 12:56:39 -05:00
Tim Potter
557ea1c641 r1100: Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl).

Add stub for ndr_pull_relative() function.
(This used to be commit b3bc3d2ef41e2c5948a05d0c10591befdb2444a5)
2007-10-10 12:56:38 -05:00
Tim Potter
0f36c59a95 r1099: Set $module variable to name of module.
Only generate code for module registration if we could find a UUID.

Tweaks to get [relative] compiling.
(This used to be commit 19442e07d080f4965ece5eacd8724e325266ec0c)
2007-10-10 12:56:38 -05:00
Tim Potter
eaae8b6f5f r1083: Generate prototypes for structs and unions marked "public" in the idl.
Delete various hacks to work around not doing this before.
(This used to be commit 5c3c3d3e72d8dd5d995a5bc5b2c7d7217b7c0432)
2007-10-10 12:56:37 -05:00
Stefan Metzmacher
6e14c2cc00 r1073: import DYNEXP flags to smb_build
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags

I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...

(this should fix the build on us4...)

metze
(This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)
2007-10-10 12:56:36 -05:00
Andrew Tridgell
42eadaf3d9 r1048: - moved the schannel definitions into a separate schannel.idl
- added server side support for schannel type 23. This allows WinXP to establish a schannel connection
  to Samba4 as an ADS DC

- added client side support for schannel type 23, but disabled it as currently the client
  code has now way of getting the fully qualified domain name (which is needed)

- report dcerpc faults in the server code in the log
(This used to be commit 55e0b014fe14ca8811b55887208a1c3147ddb0d2)
2007-10-10 12:56:34 -05:00
Tim Potter
7b1e0454ef r1047: Now samr eparser compiles, links and doesn't crash ethereal.
(This used to be commit f18dc9eb887034171dcf28a1f309a69e9088604e)
2007-10-10 12:56:34 -05:00
Tim Potter
b2e95101db r1045: Wow - we actually compile (but not link) the autogenerated parser from
samr.  The array handling is a bit of a mess though.
(This used to be commit 7ff7737832e0e5877ce8bcf329a123a2bce05370)
2007-10-10 12:56:34 -05:00
Jelmer Vernooij
7aa5a5de59 r1037: Always export all symbols
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)
2007-10-10 12:56:33 -05:00
Jelmer Vernooij
bd54b891c1 r1036: Get module initialisation function correct when building shared
(This used to be commit 8238acef47b754f91645c51326451c7ca153d992)
2007-10-10 12:56:31 -05:00
Jelmer Vernooij
39e465a096 r1035: Support shared modules again
(This used to be commit 7949dc25ab05f7d5ad6217a6304e1f50b8b5dc41)
2007-10-10 12:56:31 -05:00
Andrew Tridgell
4ee70616cc r1014: change the handling of r->out to auto-zero the structure, and auto-copy
in,out,ref vars
(This used to be commit dffe9165164a111313d744d942645ad2df83d5f3)
2007-10-10 12:56:26 -05:00
Stefan Metzmacher
a58c249412 r1006: print out the SVN revision by configure,
so that the build farm can use it

metze
(This used to be commit 20f848aeef19c7694cc5435287ec9235419741fc)
2007-10-10 12:56:26 -05:00
Tim Potter
b0d4ed741f r1003: Removed e_ndr stuff - too verbose.
Merged across populating %needed with hf index members for functions
from old version of eparser.
(This used to be commit fc3c5d6fabf397106520ed25a564229ee4853521)
2007-10-10 12:56:25 -05:00
Tim Potter
5c3f152d08 r1002: Add helper files for eparser output.
(This used to be commit 595b6e0f2c9832b3e4a8eaa24d64f32d6a693ff3)
2007-10-10 12:56:25 -05:00
Tim Potter
e071ecd991 r987: Start replacing ndr_* functions with e_ndr_* and removing stuff related
to storing data in structure members.
(This used to be commit 60942eaa3a8a56b5823bfcb736d25c00b17fec50)
2007-10-10 12:56:25 -05:00
Tim Potter
faaa211d66 r986: Attempt #3 at eparser. This time use the 'pull' code as a base as it's
closer to what ethereal does.  Also try to keep as much of the generated
structure wrt pointers/structs/alignment as possible.
(This used to be commit 8ad93f03d64befdee67a1b0a0ff9d7c3dfaac9ea)
2007-10-10 12:56:24 -05:00
Tim Potter
525d2fba27 r985: Add stub function for dumping enums to prevent perl warnings in eparser.
(This used to be commit 12c7d3a464fea87c3289f2914ee9696a17ce5a81)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
de827cb9d9 r970: - remove unused wchar_t check
- move immediate structures check to the compiler checks

metze
(This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
60025b1d67 r969: remove some unused checks
metze
(This used to be commit 5357700fc526663eeec27b3bfd28dda13430e7e0)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
c6dfa0cc3d r968: use sinlcude() and no function, that's more portable between
autoconf versions

metze
(This used to be commit 9fa83ca022f2ca2e9e5d3d738beefcf9f90cfcff)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
9318fdbb33 r967: move some configure checks to seperate files
metze
(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
2007-10-10 12:56:24 -05:00
Jelmer Vernooij
9fba08b621 r955: Update debian package rules... builds now
(This used to be commit 3df8ff6cf111c6601554bffb411506bd43f726c7)
2007-10-10 12:56:22 -05:00