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

251 Commits

Author SHA1 Message Date
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
Tim Potter
50b21753ba r954: Start working on typedef parsing.
(This used to be commit 877f7c32a89218fb59adc48bd2c2f331b9600d12)
2007-10-10 12:56:22 -05:00
Tim Potter
9389779793 r953: Remove unused Pull and Print parse functions. Remove Push from
remaining parse function names.

Add some debug comments in parser output to aid in debugging.
(This used to be commit 8225a3245a2b399ea4a9d8515e299ae5f10dff8c)
2007-10-10 12:56:22 -05:00
Tim Potter
45fd1ba4ec r948: Tridge suggested that the best way to write the ethereal parser is to
base it on the generator for the ndr pull/push code rather than trying
to get all the alignment and other junk sorted out by hand.

This commit (nearly) gets eparser to the same state it previously was
but based on parser.pm.  We correctly parse simple types, strings and
sids.
(This used to be commit 6739cd5fdd353c575626cbfbc6339a8a6908daf7)
2007-10-10 12:56:21 -05:00
Andrew Tridgell
766ce9a057 r900: when DEBUGLEVEL > 10 print the full deocde of all RPC calls in the server
(This used to be commit ee65e43d4dd0bf78a877b918991aa60f44f435b5)
2007-10-10 12:56:19 -05:00
Stefan Metzmacher
330f302a9e r899: remove the weird shell patterns from the makerules
they slowdown the build

metze
(This used to be commit 6123a1ee7cd9b21824c6e5b6abf58293ff9f3dcd)
2007-10-10 12:56:18 -05:00
Andrew Tridgell
5765abf1b8 r894: use _t in generated pidl code
(This used to be commit 20cc981e3338200aea6e005ed69dbe5b5b102bbb)
2007-10-10 12:56:18 -05:00
Stefan Metzmacher
fcd718c7d8 r890: convert samba4 to use [u]int8_t instead of [u]int8
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f88bf54c7f r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10 12:56:16 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10 12:56:15 -05:00
Andrew Tridgell
579c13da43 r873: converted samba4 to use real 64 bit integers instead of
structures. This was suggested by metze recently.

I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10 12:56:14 -05:00
Stefan Metzmacher
3bf29c1113 r807: compile with PICFLAG by default
(ask tridge why this is better than recompiling only the
 files we need for libraries with PICFLAG)

metze
(This used to be commit ee32d29044a52d7098e242ed48c309871e711bd9)
2007-10-10 12:53:51 -05:00