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

3973 Commits

Author SHA1 Message Date
Stefan Metzmacher
d7b5a565ef r5828: add some idl for DsAddEntry()
metze
(This used to be commit 3e6ec811288d74921bf3e393213e75d928156772)
2007-10-10 13:11:04 -05:00
Tim Potter
1d64203954 r5827: Make ndrdump accept a uuid as well as a pipe name to specify
which rpc interface to use.
(This used to be commit d59bc9dc9bb3a11dd07b7862ea10d1b32e670598)
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
55546176c6 r5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()
metze
(This used to be commit 1084ad4bfce6bc20537f5bfccb5a25b60f503b32)
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
cead12981f r5799: more DsGetNCChanges updates, I'm starting to understand it...
also add a really simple torture test for DsGetNCChanges

metze
(This used to be commit bcde67a7eff9ad82919e90fd64c02a17610c6f0e)
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
9743bdf86f 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
(This used to be commit 2fc8a604b003a6c3425eb7bbf77fbe467c956085)
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
a81a2c22a2 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
(This used to be commit 483bb1418fd5c70c418142ade80c1e286adfa05a)
2007-10-10 13:11:04 -05:00
Stefan Metzmacher
ebc34d2157 r5796: add ndr_* function for int8 and int16
metze
(This used to be commit 8ac0928a914c1cee3f0493b515f03c6422a8b71a)
2007-10-10 13:11:03 -05:00
Jelmer Vernooij
6647713061 r5785: Fix subcontext pushes
(This used to be commit 0d590906cd7706ebd8c6d5921546291e98067864)
2007-10-10 13:11:03 -05:00
Andrew Bartlett
d830fcd7d1 r5783: Test renaming of accounts in the RPC-SAMR test, and add support into
the SAMR server.

Andrew Bartlett
(This used to be commit fd748f9d2f8f354f76587d92b94de83bffe1c6dc)
2007-10-10 13:11:03 -05:00
Tim Potter
d93d5f967f r5782: Use standard input for reading packet data if filename not specified.
(This used to be commit c3c6dafc3120ed5018a27a882cbc09e9d05fac33)
2007-10-10 13:11:03 -05:00
Tim Potter
ee461300a5 r5781: Fix build.
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)
2007-10-10 13:11:03 -05:00
Tim Potter
03cd26e353 r5780: Remove unused arguments.
(This used to be commit 1ee84e373e2b44c96f9353f194b766d6a144e7ce)
2007-10-10 13:11:03 -05:00
Tim Potter
639edc4097 r5779: Remove signal and timeout gubbage from tdb.
(This used to be commit dbb56e9a59cf00d57b09ded6d60bf9424d5f1f4c)
2007-10-10 13:11:03 -05:00
Tim Potter
1fb7f63aa9 r5778: Remove tdb_set_lock_alarm() function from wrappers at tridge's request.
(This used to be commit 8b83eca265b6ad5f33e90beac67f3e1621010764)
2007-10-10 13:11:02 -05:00
Tim Potter
fd0aa010be r5777: At some stage SIG_ATOMIC_T was renamed to sig_atomic_t. This should
fix abartlet's compile problem.
(This used to be commit 170139035ab1e7659a82e1e2d40990f4d7f146c3)
2007-10-10 13:11:02 -05:00
Jelmer Vernooij
e9ca6e48ff r5775: Remove some unused functions (unions are no longer as special as they used to be)
Add oxid mapping table support in DCOM
(This used to be commit e193555f0eec2dda8c8760e9668181200fef0a1e)
2007-10-10 13:11:02 -05:00
Tim Potter
f58143b025 r5769: Fix unused variable warning.
(This used to be commit 80dfac3640443a41f7e45e9164ca1a6749494011)
2007-10-10 13:11:02 -05:00
Stefan Metzmacher
768f82cbc6 r5766: get some more DsGetNCChanges stuff parsing correct
metze
(This used to be commit 1a4560997d99f2401903f8e466208c001d3ab6c1)
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
26cb89fcdd r5765: remove unused var
metze
(This used to be commit a8f7c3e59f35127b51d4afc551b71f21886f4565)
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
e90c904a5f r5764: add support for embedded ref pointers
metze
(This used to be commit 112043b1809a96b1a39ade71ea2885c0d792c79f)
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
4b83366b6c 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
(This used to be commit cf7c1352ab2857b80256e02f70ab3fbd5177d596)
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
736797ef7f r5737: add some error codes
metze
(This used to be commit f543eb4ede54ac361017878574b3f4b6ffc9f2d5)
2007-10-10 13:11:01 -05:00
Stefan Metzmacher
1ecdd79847 r5736: fix to avoid endless recursion in ndr_size_*() calculation
metze
(This used to be commit eaac0f214703f91f186eb54f97e15e56461762bd)
2007-10-10 13:11:00 -05:00
Jeremy Allison
f52643c23c r5730: More fun with delayed write semantics with multiple file handles
open on the same file on the same connection.
Jeremy.
(This used to be commit 23733abfa201347265f54232989b608b11ad7a85)
2007-10-10 13:11:00 -05:00
Steve French
020817e152 r5716: Add new Unix extensions defines for infolevels
(This used to be commit 7f6ea98e0f338c3c9f1132c6d64a54266c1b9cfa)
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
961148db31 r5709: Leave out the pull/push call with NDR_BUFFERS for not just
scalars but also for structs/unions containing only scalars.
(This used to be commit a3e136b2f3bd51159775fea25eff0ea81e9716f7)
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
1bbaa12437 r5697: Give an error message when a ref pointer is NULL (requested by tpot)
(This used to be commit 7ecc2e6130d7f284906cbc50dda86c742f139fae)
2007-10-10 13:11:00 -05:00
Stefan Metzmacher
bbb69c5a7a r5682: fix the build
metze
(This used to be commit 67a2b091261d4dee2ed518ae80fdd8c1d9bf0e86)
2007-10-10 13:11:00 -05:00
Stefan Metzmacher
c857c03170 r5681: fix the build and compiler wanings
metze
(This used to be commit bb2622a0c94127a31855adc41d90289219a1ddd7)
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
3e88cae57b r5680: Don't crash if none of the predefined keys is available (reported by Alexander)
(This used to be commit 0d789872a890062b0b95aa039bb853bb6c07b2d0)
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
983306c819 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
(This used to be commit 7278c7d8370d52fed1e6a7dfc848a3efa06ccd61)
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
3a9d9ab5b0 r5678: Torture tests require also libnet in order to run NET-* tests.
rafal
(This used to be commit e492a2a604a930690a7cbec8aee17b8229bcf928)
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
c148831783 r5677: Split structure definitions from implementation.
rafal
(This used to be commit ec177c92266713e9a486e536c2d81af4eaa2425e)
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
d892500e73 r5676: Fix some alignment issues and IRemoteActivation
(This used to be commit a9b13f67012d235d98920e639f59411d57a79bd7)
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
dd2aefd56b r5675: - More DCOM bug fixes
- Keep COM and DCOM more seperated
(This used to be commit f694f484c422d0c86beb58e8f62f134f8676d5e1)
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
77ec3f684d 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
(This used to be commit 26d5a0b92c66bc86d0c26f687f83fa712342ac32)
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
ffae01d432 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
(This used to be commit dc6b4ffc82a191631bc16a4b93a4916a39183ec6)
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
5658167806 r5671: Bunch of fixes related to arrays and pointers to arrays.
(This used to be commit 00ef0feaddc096d8f5e2755feecaec37d589a99c)
2007-10-10 13:10:58 -05:00
Simo Sorce
0b4c61a05a r5670: simplify and clarify ldb_modules.c code
rectify the test schema
correct a glitch in schema module
(This used to be commit 0579b5f7adfe160be8ecf124934b6593a02ed06f)
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
348fa3f9f6 r5669: Couple of minor clearifications, simplifications.
(This used to be commit 09a9222b600d58271f42ee0870e0c933d2e105d0)
2007-10-10 13:10:58 -05:00
Andrew Bartlett
42031bc4be 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
(This used to be commit de02c7c222a32d2b3fb8ee8b715749b96cb647f9)
2007-10-10 13:10:58 -05:00
Andrew Bartlett
765832748b 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
(This used to be commit 69114b4a8e1c937ab5ff12ca91dd22bd83fd9a3b)
2007-10-10 13:10:58 -05:00
Andrew Tridgell
a52a6f1c42 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
(This used to be commit 439ce2efbf7d2ba9b17d6b4bfaf651e781140715)
2007-10-10 13:10:58 -05:00
Andrew Tridgell
2f9e1650f9 r5665: the data within el2->values can still be used at this point, so don't free
(This used to be commit 12d03f96637b9298e0cbc7ee544ca97fffcab9f8)
2007-10-10 13:10:57 -05:00
Andrew Tridgell
ec97506a51 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.
(This used to be commit 19a22f78c28a4b265f59df1b43c1bb6c9e58f736)
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
75b3cfc17d r5663: Revert some changes I didn't mean to commit...
(This used to be commit 54e0be6f1eccbd870eb0e60ae8cdb90d2dc7f657)
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
363f99d0b8 r5662: eventlog uses dom_sid so it depends on security
(This used to be commit f9e9ff0d8dc9acd80143e15566811830f9993667)
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
631aa1f0ef 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.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
df036e0829 r5660: Reduce number of generated "{}"'s
No longer complain about pointers to arrays - we support those.
(This used to be commit 128c0ecf030043e81d73aaeda6afb731075f8f9e)
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
75d2452c01 r5652: Add libnet tests section to torture test.
rafal
(This used to be commit f061652b75b1c5a203232c1a440fa9ba3e0bd2c3)
2007-10-10 13:10:56 -05:00