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

11741 Commits

Author SHA1 Message Date
Stefan Metzmacher
74ded55787 r21466: run the LDAP-UPTODATEVECTOR test in make test
metze
2007-10-10 14:48:40 -05:00
Stefan Metzmacher
4bd0ddeb80 r21465: the LDAP-UPTODATEVECTOR test shows that the replUpToDateVector
doesn't contain an entry for the local invocation_id

metze
2007-10-10 14:48:39 -05:00
Stefan Metzmacher
f764941af6 r21464: add parsing code for the Primary:WDigest blob
the hashes are

MD5("user:realm:password") which a lot of user and realm combinations

see:
http://fresh.t-systems-sfr.com/unix/src/www/httpauth-0.6.tar.gz:a/httpauth-0.6/tools/mkha1.c

metze
2007-10-10 14:48:39 -05:00
Stefan Metzmacher
a9b757dddc r21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"
isn't updated by originating changes, and that there's no entry for the local
dsa invocation_id

metze
2007-10-10 14:48:39 -05:00
Jelmer Vernooij
fad03f6c51 r21459: Remove name argument, more refactoring. 2007-10-10 14:48:38 -05:00
Jelmer Vernooij
efaf476337 r21458: Prepare for generating separate primitives/deferred code. 2007-10-10 14:48:38 -05:00
Jelmer Vernooij
9b0416b5d0 r21457: Cope with anonymous nested types in the NDR layer. This doesn't handled
named nested types yet, as these have to be registered.
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
8aac1fc98b r21456: Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be
used in the Samba 4 NDR parser.

This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested
data structures yet, but it's a first step.
2007-10-10 14:48:38 -05:00
Jelmer Vernooij
ffe3879204 r21455: Fix a bug in our handling of conformant arrays. The conformant array was
always pushed, even if just the buffers part of a struct had to be pushed.

Pull was not affected.
2007-10-10 14:48:37 -05:00
Stefan Metzmacher
426238eb45 r21451: if kerberos is requested ( -k yes ), we should use authentificated connections
metze
2007-10-10 14:48:37 -05:00
Stefan Metzmacher
e4d69b83dc r21448: return the same error codes as a windows KDC
metze
2007-10-10 14:48:37 -05:00
Stefan Metzmacher
3e4ff2de9c r21447: make handling of replying e_data more generic
love: please merge this

metze
2007-10-10 14:48:37 -05:00
Volker Lendecke
afe7d78558 r21445: Apply tdb_parse_record Tridges error return, merge to 3_0_25 and 4_0 2007-10-10 14:48:36 -05:00
Jelmer Vernooij
1afedaad44 r21443: Refactor some of the NDR code in preparation of nested data structure support. 2007-10-10 14:48:36 -05:00
Jelmer Vernooij
5b091c5d75 r21442: Allow more flexible data structure names. 2007-10-10 14:48:36 -05:00
Stefan Metzmacher
91f7a094cf r21441: create a union for the PrimaryKerberosBlob content
so that ndr_pull will fail if version isn't 3 and we notice
if the format changes...

metze
2007-10-10 14:48:35 -05:00
Jelmer Vernooij
1702a663ba r21440: Support different variables in environments. 2007-10-10 14:48:35 -05:00
Stefan Metzmacher
ac347d7aa5 r21439: fix compiler warnings
metze
2007-10-10 14:48:35 -05:00
Stefan Metzmacher
b64abf9113 r21438: create the PAC element in the same order as w2k3,
maybe there's some broken code in windows which relies
on this...

love: can you merge this to heimdal?

metze
2007-10-10 14:48:35 -05:00
Jelmer Vernooij
9ba814d033 r21437: Cherrypick typelib tests. 2007-10-10 14:48:34 -05:00
Stefan Metzmacher
5840f50d89 r21436: Choose the TGT session key enctype also by checking what enctypes
the krbtgt hdb entry provides.

We need to make sure other KDC's with the same hdb backend data
can accept the TGT. (w2k and w2k3 don't support aes256-cts-hmac-sha1-96 (18)
session keys.)

Love: I'm not sure if this is the correct way of doing it...

metze
2007-10-10 14:48:34 -05:00
Stefan Metzmacher
9e91bd6449 r21435: ntPwdHash,lmPwdHash,sambaNTPwdHistory,sambaLMPwdHistory and krb5Key
are not used anymore

metze
2007-10-10 14:48:34 -05:00
Stefan Metzmacher
e20b53f6fe r21434: - get rid of "krb5Key"
- use "sambaPassword" only as virtual attribute for passing
  the cleartext password (in unix charset) into the ldb layer
- store des-cbc-crc, des-cbc-md5 keys in the Primary:Kerberos
  blob to match w2k and w2k3
- aes key support is disabled by default, as we don't know
  exacly how longhorn stores them. use password_hash:create_aes_key=yes
  to force creation of them.
- store the cleartext password in the Primary:CLEARTEXT blob
  if configured

TODO:
 - find out how longhorn stores aes keys
 - find out how the Primary:WDigest blob needs to be constructed
   (not supported by w2k)

metze
2007-10-10 14:48:34 -05:00
Jelmer Vernooij
1ad0f99a43 r21433: Get rid of the COM support code - it's not used and unmaintained. We can
always bring it back if we need to. This code was getting in the way while
refactoring.

Add some tests for TDR.

Get rid of typedef in lib/registry/tdr_regf.idl and fix the
TDR code to be able to deal with it.
2007-10-10 14:48:33 -05:00
Jelmer Vernooij
0d739c7e98 r21432: Handle properties on tagged types in TDR. 2007-10-10 14:48:33 -05:00
Jelmer Vernooij
a91e624af2 r21431: More tests, work on support in wireshark for tagged types. 2007-10-10 14:48:33 -05:00
Jelmer Vernooij
a716aa70f0 r21430: Support tagged types without typedef. This means:
struct foo {
 ...
};

in IDL will now work. This is the first step towards nested types and
using typedefs for partial types (such as "typedef int *bar;"), a requirement
for complex uses of represent_as().
2007-10-10 14:48:32 -05:00
Jelmer Vernooij
88fbf9af24 r21429: Fix the build. 2007-10-10 14:48:32 -05:00
Jelmer Vernooij
34517c69e6 r21428: Handle representation types in Needed(). 2007-10-10 14:48:32 -05:00
Jelmer Vernooij
a21e7b22ac r21427: Add tests for Needed*(), in preparation of refactoring. 2007-10-10 14:48:32 -05:00
Jelmer Vernooij
8b31fba826 r21426: Add more spoolss tests. 2007-10-10 14:48:31 -05:00
Jelmer Vernooij
745d0eae1a r21425: Add ReplyClosePrinter. 2007-10-10 14:48:31 -05:00
Jelmer Vernooij
0ed195f45f r21424: Add FindClosePrinterNotify. 2007-10-10 14:48:31 -05:00
Jelmer Vernooij
d6026c2046 r21423: Extend testsuite, check that all bytes have been consumed. DsBind fails that test, so disabling it for now. 2007-10-10 14:48:30 -05:00
Jelmer Vernooij
883df28d6e r21422: Add IDL for EnumPrinterKey and RemoteFindNextPrinterChangeNotifyEx. 2007-10-10 14:48:30 -05:00
Volker Lendecke
573ba38722 r21421: Fix a memleak. This made tdb look considerably worse than necessary.
Volker
2007-10-10 14:48:30 -05:00
Simo Sorce
76b377d5ad r21419: Give some more clue about what's going on 2007-10-10 14:48:29 -05:00
Simo Sorce
56ed4499d6 r21418: Return the ratio as well 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
5d4dd136ed r21416: add missing file 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
61cb52b65b r21415: Add tests for spoolss and drsuapi. Still need to add validators. 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
9e6d43c45c r21414: Fill in IDL for ReplyOpenPrinter. 2007-10-10 14:48:28 -05:00
Stefan Metzmacher
18a5bf850b r21413: fix pushing of supplementalCredentials
metze
2007-10-10 14:48:28 -05:00
Volker Lendecke
ed30a0ff60 r21412: The last patch also incremented the seqnum when tdb_store failed. Not as bad
as not doing it at all, but needs fixing. Also simplify the logic, I had
missed the "goto out" at the end of the function.

Volker
2007-10-10 14:48:28 -05:00
Jelmer Vernooij
3619774482 r21411: Add some simple tests for the wireshark NDR generator. 2007-10-10 14:48:28 -05:00
Volker Lendecke
e518c68fc5 r21410: We have to increment the sequence number also when tdb_update_hash()
succeeded. Found while testing the brlock seqnum patch.

Tridge, please check!

Volker
2007-10-10 14:48:27 -05:00
Jelmer Vernooij
33142f7646 r21408: Remove test that uses empty array. 2007-10-10 14:48:27 -05:00
Stefan Metzmacher
307aabe025 r21407: auto set the len values
metze
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
b708d0729e r21406: add idl for parsing the 'Packages' and 'Primary:CLEARTEXT' elements
of supplementalCredentials

metze
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
07fe22f82e r21405: add support for [flag(STR_NOTERM|NDR_REMAINING)] string_array foo;
this is handles the content of the 'Packages' element in the supplementalCredetials

metze
2007-10-10 14:48:26 -05:00
Stefan Metzmacher
925f1f40cf r21404: packages just contain utf16 strings not guids:-)
metze
2007-10-10 14:48:26 -05:00