1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00
Commit Graph

5816 Commits

Author SHA1 Message Date
Andrew Tridgell
1ae255aba4 r9300: cope with zero length in ndr_pull_charset() 2007-10-10 13:33:22 -05:00
Andrew Tridgell
17679676d4 r9299: fixed the evaluation of pointer expressions that evaluate to boolean 2007-10-10 13:33:22 -05:00
Andrew Tridgell
9526f2a510 r9298: pull non-array elements before array elements to overcome the problem
of arrays that have length_is() or size_is() properties that refer to
later elements
2007-10-10 13:33:22 -05:00
Tim Potter
e8d53d15e4 r9297: Add a NDR_CHECK() around each ejs push/pull.
Some experimentation with the top level function calls.
2007-10-10 13:33:22 -05:00
Tim Potter
72420f24e6 r9296: Reinstate generation of push/pull functions for each field in a struct
or union.
2007-10-10 13:33:22 -05:00
Tim Potter
a7504ebf95 r9295: Tridge had some good suggestions for simplifying the smb_interfaces ejs
code.  I will try and get just the push/pull functions working rather than
getting in a mess with trying to do everything at once.
2007-10-10 13:33:21 -05:00
Tim Potter
13a101653e r9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.
Add some code to try and work out whether a smb_interface requires a
TALLOC_CTX in the function signature.  I'm not sure whether this is
going to work as the raw api is a bit inconsistent I think.
2007-10-10 13:33:21 -05:00
Tim Potter
9e5ce3a288 r9291: Add a stub for smb_raw_lpq() which is in smb_interfaces.h but doesn't
seem to be used anywhere yet.
2007-10-10 13:33:21 -05:00
Tim Potter
6a7922a02c r9284: Whitespace. (-: 2007-10-10 13:33:21 -05:00
Tim Potter
2215cc08b7 r9279: In Samba3 debuglevel 10 used to print RPC debugs. I think this should
apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10.
2007-10-10 13:33:21 -05:00
Stefan Metzmacher
b5626c978f r9260: only overwrite destination files when the temp files was created correct
metze
2007-10-10 13:33:20 -05:00
Stefan Metzmacher
3b99c36857 r9258: return is only supported in function, not in plain shell scripts
metze
2007-10-10 13:31:38 -05:00
Stefan Metzmacher
8c8fd4cfc6 r9257: - I assume we don't need unistd.h in this file,
that sould fixes the build on aix
- use "" instead of <> for includes in our tree

metze
2007-10-10 13:31:38 -05:00
Stefan Metzmacher
83d65d0d7e r9240: - move struct security_token to the idl file, with this we can
the ndr_pull/push/print functions for it in the ntacl-lsm module

- fix compiler warnings in the ldap_encode_ndr_* code

metze
2007-10-10 13:31:37 -05:00
Tim Potter
3b2476e0a0 r9239: I think this is the right IDL for the eventlog record. Pidl is
generating incorrect code for arrays of strings here.
2007-10-10 13:31:37 -05:00
Tim Potter
d0225f1079 r9238: Some test code to do user-unmarshalling of eventlog_Record data. 2007-10-10 13:31:36 -05:00
Tim Potter
2543f78df6 r9237: Fix eventlog_Record typedef so it decodes records source and computer
names.  Need to get working with SIDs and extra data.
2007-10-10 13:31:35 -05:00
Andrew Bartlett
cf8bf1e9f3 r9235: Remove attribute search we no longer reference.
Andrew Bartlett
2007-10-10 13:31:35 -05:00
Andrew Bartlett
c96f8594b1 r9234: Ensure we always change the end of the PAC, no matter what it is. Fix
typo in comment.

Andrew Bartlett
2007-10-10 13:31:35 -05:00
Andrew Bartlett
ab75cd53e7 r9233: Ensure that the output variable is initialised in this conversion from
error to non-error case.

Andrew Bartlett
2007-10-10 13:31:35 -05:00
Andrew Tridgell
ceb7669e59 r9227: cleanup and simplify the AJAJ code 2007-10-10 13:31:34 -05:00
Andrew Tridgell
3ec376141e r9226: make sure we catch rpc faults in the ejs rpc wrappers 2007-10-10 13:31:34 -05:00
Tim Potter
5e6d330e73 r9223: Rename smb_raw_session_setup() to smb_raw_sesssetup(). 2007-10-10 13:31:33 -05:00
Tim Potter
26b191b3c9 r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw function
names.
2007-10-10 13:31:33 -05:00
Andrew Bartlett
9a1d2f2fec r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.
This is my first attempt at this, so there may be a few rough edges.

Andrew Bartlett
2007-10-10 13:31:33 -05:00
Tim Potter
c419eef1c9 r9220: Start trying to get autogenerated code to compile.
- Split out push/pull of top level elements into separate functions.

 - Remove _t from simple type names.
2007-10-10 13:31:32 -05:00
Andrew Tridgell
f8949869bc r9219: by default be a DC, as the provisioning scripts assume that in other parts 2007-10-10 13:31:32 -05:00
Andrew Tridgell
dadd7e22fb r9218: make the winreg library code handle arbitrary paths more efficiently
and more conveniently (caller doesn't need to know the hive names now)
2007-10-10 13:31:32 -05:00
Andrew Bartlett
15b7af1c39 r9217: Add 'make clean' hooks to the ans1 depedency generator.
To be used by the impending Heimdal resync, which has files starting
with asn1_ that are not generated.

Andrew Bartlett
2007-10-10 13:31:32 -05:00
Andrew Tridgell
15737abd74 r9210: fixed support for a credentials element in a rpc object in ejs to not
give lots of warnings of missing properties
2007-10-10 13:31:31 -05:00
Andrew Tridgell
8c3f57f791 r9209: - fixed the ldb registry backend to work with the new provision ldif
- default to ldb backend if none specified
2007-10-10 13:31:31 -05:00
Stefan Metzmacher
f8a25ac239 r9208: fix a crash bug
metze
2007-10-10 13:31:31 -05:00
Tim Potter
8ff27a1eff r9207: Start generating ejs_push/pull calls for structure elements. 2007-10-10 13:31:30 -05:00
Tim Potter
3407490121 r9205: Generate more stub code for smb_raw ejs functions. 2007-10-10 13:31:30 -05:00
Tim Potter
dde7f8be97 r9202: OK now we are getting somewhere. Generate js stubs for top level structs
and each arm of top level unions.  Don't generate a header file (duh) as
the namespace stuff is done in the module init.
2007-10-10 13:31:30 -05:00
Tim Potter
a6541a0702 r9199: Another go at recursive flattening of structs. 2007-10-10 13:31:30 -05:00
Stefan Metzmacher
07e39bd94c r9196: - add a note about the Canonicalize KDCOPtion flag
- add a note about old client using the wrong checksum type for GSSAPI
  in the Authenticator

metze
2007-10-10 13:31:30 -05:00
Tim Potter
c56a530d3b r9191: Generate headers for nested structures that need pushing or pulling. 2007-10-10 13:31:29 -05:00
Tim Potter
a6f1f251e8 r9185: Make second pass over the parser tree and tidy things up to make it a
bit easier for the code generator.
2007-10-10 13:31:29 -05:00
Andrew Tridgell
a5b9e74a5c r9183: more workarounds for the global variables in ejs. I will discuss getting rid of these
with the mbedthis people.
2007-10-10 13:31:29 -05:00
Andrew Tridgell
7d6e601219 r9179: cope with simultaneous web requests using the same session variable 2007-10-10 13:31:29 -05:00
Andrew Tridgell
0b96b3bfe3 r9178: remove the old server printf code 2007-10-10 13:31:29 -05:00
Andrew Tridgell
ea3c3d0a0f r9174: ejs does not include the special variable 'length' in for loops over objects,
so we need to check for it separately in the object lineariser
2007-10-10 13:31:28 -05:00
Andrew Tridgell
9f75bc3ca0 r9173: catch ep->local being NULL 2007-10-10 13:31:28 -05:00
Andrew Tridgell
ca6f049693 r9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variables
called 'credentials' to not copy correctly (the bug was in handling
  of chaining in the copy code

- ensure that C pointer variables are copied via a talloc reference so that
  we can persist rpc pipes and credentials between sessions
2007-10-10 13:31:27 -05:00
Andrew Tridgell
aae05ebc9c r9171: - support putting a credentials object in a rpc pipe object to allow authentication
with other than the command line credentials in a rpc pipe
2007-10-10 13:31:27 -05:00
Stefan Metzmacher
232b04bf3e r9170: fix crash bug
metze
2007-10-10 13:31:27 -05:00
Jelmer Vernooij
2f1fcf3bc7 r9168: Fix subcontext handling
Support fixed-size arrays
Give some more nicer warnings for not-supported IDL constructions such as inline arrays
Fix signed int-handling
2007-10-10 13:31:27 -05:00
Andrew Bartlett
ea4cc6bcbe r9167: Further PAC parionia: ensure the checksum fails if we modify it.
Andrew Bartlett
2007-10-10 13:31:27 -05:00
Andrew Bartlett
1fa87223eb r9166: This checks more of auth subsystem in the PAC test.
Andrew Bartlett
2007-10-10 13:31:26 -05:00