1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Commit Graph

3970 Commits

Author SHA1 Message Date
Stefan Metzmacher
bcde67a7ef r5799: more DsGetNCChanges updates, I'm starting to understand it...
also add a really simple torture test for DsGetNCChanges

metze
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
2fc8a604b0 r5798: limit the size of an sid, 28 bytes complete is the biggest SID
that can be handled.

tridge: do you think it would make sense to change the sub_auth[num_auths] to sub_auth[5],
        so we can copy the struct by sid1 = sid2;
	comments please

metze
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
483bb1418f r5797: - add idl property [subcontext_size()]
this can be used like this
  [subcontext_size(28),subcontext(0)] dom_sid sid;

  this descripes a fixed 28 byte buffer which contains a dom_sid,
  and the rest of the buffer is padded with zero bytes if the dom_sid doesn't
  need all 28 byte in it's ndr encoding.

- only push and pull the subcontext when we are in the NDR_SCALARS section
  (tridge, jelmer: I hope this is correct for all cases...!?:-)

metze
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
8ac0928a91 r5796: add ndr_* function for int8 and int16
metze
2007-10-10 13:11:03 -05:00
Jelmer Vernooij
0d590906cd r5785: Fix subcontext pushes 2007-10-10 13:11:03 -05:00
Andrew Bartlett
fd748f9d2f r5783: Test renaming of accounts in the RPC-SAMR test, and add support into
the SAMR server.

Andrew Bartlett
2007-10-10 13:11:03 -05:00
Tim Potter
c3c6dafc31 r5782: Use standard input for reading packet data if filename not specified. 2007-10-10 13:11:03 -05:00
Tim Potter
35354456b2 r5781: Fix build. 2007-10-10 13:11:03 -05:00
Tim Potter
1ee84e373e r5780: Remove unused arguments. 2007-10-10 13:11:03 -05:00
Tim Potter
dbb56e9a59 r5779: Remove signal and timeout gubbage from tdb. 2007-10-10 13:11:03 -05:00
Tim Potter
8b83eca265 r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request. 2007-10-10 13:11:02 -05:00
Tim Potter
170139035a r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This should
fix abartlet's compile problem.
2007-10-10 13:11:02 -05:00
Jelmer Vernooij
e193555f0e r5775: Remove some unused functions (unions are no longer as special as they used to be)
Add oxid mapping table support in DCOM
2007-10-10 13:11:02 -05:00
Tim Potter
80dfac3640 r5769: Fix unused variable warning. 2007-10-10 13:11:02 -05:00
Stefan Metzmacher
1a4560997d r5766: get some more DsGetNCChanges stuff parsing correct
metze
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
a8f7c3e59f r5765: remove unused var
metze
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
112043b180 r5764: add support for embedded ref pointers
metze
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
cf7c1352ab r5742: - add torture test and idl for DsReplicaUpdateRefs()
(the torture test currently only tests if the idl is correct)

- add start for idl for DsGetNCChanges()
  (if someone didn't noticed the current ethereal trunk code can
   successful decrypt DCERPC and LDAP gsskrb5 encrypted blobs,
   when you provide a keytab and have compiled against heimdal :-)

- add a view bitmaps and enum's for better debugging

metze
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
f543eb4ede r5737: add some error codes
metze
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
eaac0f2147 r5736: fix to avoid endless recursion in ndr_size_*() calculation
metze
2007-10-10 13:11:00 -05:00
Jeremy Allison
23733abfa2 r5730: More fun with delayed write semantics with multiple file handles
open on the same file on the same connection.
Jeremy.
2007-10-10 13:11:00 -05:00
Steve French
7f6ea98e0f r5716: Add new Unix extensions defines for infolevels 2007-10-10 13:11:00 -05:00
Jelmer Vernooij
a3e136b2f3 r5709: Leave out the pull/push call with NDR_BUFFERS for not just
scalars but also for structs/unions containing only scalars.
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
7ecc2e6130 r5697: Give an error message when a ref pointer is NULL (requested by tpot) 2007-10-10 13:11:00 -05:00
Stefan Metzmacher
67a2b09126 r5682: fix the build
metze
2007-10-10 13:11:00 -05:00
Stefan Metzmacher
bb2622a0c9 r5681: fix the build and compiler wanings
metze
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
0d789872a8 r5680: Don't crash if none of the predefined keys is available (reported by Alexander) 2007-10-10 13:10:59 -05:00
Rafal Szczesniak
7278c7d837 r5679: Complete basic test of rpc_composite_userinfo function (which
btw proves the function is completely broken but that's what
tests are for)

rafal
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
e492a2a604 r5678: Torture tests require also libnet in order to run NET-* tests.
rafal
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
ec177c9226 r5677: Split structure definitions from implementation.
rafal
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
a9b13f6701 r5676: Fix some alignment issues and IRemoteActivation 2007-10-10 13:10:59 -05:00
Jelmer Vernooij
f694f484c4 r5675: - More DCOM bug fixes
- Keep COM and DCOM more seperated
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
26d5a0b92c r5674: - Re-enable DCOM support.
- Always put IID in vtables (useful for asserts)
- Add table to keep track of DCOM proxy classes
- Bunch of smaller bug fixes
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
dc6b4ffc82 r5672: Use switch_type() and the token storage mechanism for unions:
- Makes union handling less special
 - Allows unions in arrays, etc
 - Compatible with midl
 - Pidl will warn about switch_type() and the type of the switch_is() variable being different
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
00ef0feadd r5671: Bunch of fixes related to arrays and pointers to arrays. 2007-10-10 13:10:58 -05:00
Simo Sorce
0579b5f7ad r5670: simplify and clarify ldb_modules.c code
rectify the test schema
correct a glitch in schema module
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
09a9222b60 r5669: Couple of minor clearifications, simplifications. 2007-10-10 13:10:58 -05:00
Andrew Bartlett
de02c7c222 r5668: Add tests to RPC-SAMLOGON to test for user@REALM style logins. These
need a NULL domain (or a "" domain, except this breaks NTLMv2, and I
need to look into it a bit more).

Add support to the Samba4 server for these logins.  This will need
extension when we handle trusted domains as a DC, as it is a principal
name, not just another format for the username.

Andrew Bartlett
2007-10-10 13:10:58 -05:00
Andrew Bartlett
69114b4a8e r5667: Move schannel state into libcli/auth (as it belongs with schannel,
which will move in with the rest of GENSEC shortly).

Add the RID as another element in the schannel state.

Andrew Bartlett
2007-10-10 13:10:58 -05:00
Andrew Tridgell
439ce2efbf r5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfo
basic_info. Add null_nttime() as the equivalent of the existing
null_time() call for cheecking for valid NTTIME values
2007-10-10 13:10:58 -05:00
Andrew Tridgell
12d03f9663 r5665: the data within el2->values can still be used at this point, so don't free 2007-10-10 13:10:57 -05:00
Andrew Tridgell
19a22f78c2 r5664: simo, please look into this. It is possible for the number of elements
in msg[0] to be 0, in which case we crash. This is a workaround.

Also, if you could please split up this function into readable
pieces. It's a bit of a mess at the moment.
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
54e0be6f1e r5663: Revert some changes I didn't mean to commit... 2007-10-10 13:10:57 -05:00
Jelmer Vernooij
f9e9ff0d8d r5662: eventlog uses dom_sid so it depends on security 2007-10-10 13:10:57 -05:00
Jelmer Vernooij
a416de5825 r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
128c0ecf03 r5660: Reduce number of generated "{}"'s
No longer complain about pointers to arrays - we support those.
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
f061652b75 r5652: Add libnet tests section to torture test.
rafal
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
94955e5325 r5651: A bit more code in userinfo test and hook up test function to
main torture binary.

rafal
2007-10-10 13:10:56 -05:00
Alexander Bokovoy
eb57a58788 r5646: state->loadfile might be NULL after allocation so this is really
should be NT_STATUS_HAVE_NO_MEMORY(state->loadfile) instead of
NT_STATUS_NOT_OK_RETURN(status).
2007-10-10 13:10:56 -05:00
Günther Deschner
46ae4010f2 r5611: Add EnumPrinterDataEx-test (for now just for PrinterDriverData, we need
to enumerate (recursively!) over all keys with EnumPrinterKey later on.

Guenther
2007-10-10 13:10:56 -05:00